Debian Codegraph @

src/lib.rs

raw symbols SCIP
1 // This file was generated by gir (https://github.com/gtk-rs/gir)
2 // from gir-files (https://github.com/gtk-rs/gir-files)
3 // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
4 // DO NOT EDIT
5
6 #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
7 #![allow(
8 clippy::approx_constant,
9 clippy::type_complexity,
10 clippy::unreadable_literal,
11 clippy::upper_case_acronyms
12 )]
13 #![cfg_attr(docsrs, feature(doc_cfg))]
14
15 use glib_sysrust-analyzer cargo glib-sys 0.22.0 crate/ as glibrust-analyzer cargo glib-sys 0.22.0 crate/;
16 use gstreamer_gl_sysrust-analyzer cargo gstreamer-gl-sys 0.25.0 crate/ as gst_glrust-analyzer cargo gstreamer-gl-sys 0.25.0 crate/;
17
18 #[allow(unused_imports)]
19 use libcrust-analyzer cargo libc 0.2.182 crate/::{FILErust-analyzer cargo libc 0.2.182 unix/FILE#, intptr_trust-analyzer cargo libc 0.2.182 unix/intptr_t#, off_trust-analyzer cargo libc 0.2.182 unix/linux_like/linux/gnu/b64/off_t#, size_trust-analyzer cargo libc 0.2.182 unix/size_t#, ssize_trust-analyzer cargo libc 0.2.182 unix/ssize_t#, time_trust-analyzer cargo libc 0.2.182 unix/linux_like/linux/gnu/b64/time_t#, uintptr_trust-analyzer cargo libc 0.2.182 unix/uintptr_t#};
20 #[cfg(unix)]
21 #[allow(unused_imports)]
22 use libcrust-analyzer cargo libc 0.2.182 crate/::{dev_trust-analyzer cargo libc 0.2.182 unix/linux_like/linux/dev_t#, gid_trust-analyzer cargo libc 0.2.182 unix/gid_t#, pid_trust-analyzer cargo libc 0.2.182 unix/pid_t#, socklen_trust-analyzer cargo libc 0.2.182 unix/linux_like/linux/socklen_t#, uid_trust-analyzer cargo libc 0.2.182 unix/uid_t#};
23 #[allow(unused_imports)]
24 use stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::ffirust-analyzer cargo std https://github.com/rust-lang/rust/library/std ffi/::{
25 c_charrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ffi/primitives/c_char#, c_doublerust-analyzer cargo core https://github.com/rust-lang/rust/library/core ffi/primitives/c_double#, c_floatrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ffi/primitives/c_float#, c_intrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ffi/primitives/c_int#, c_longrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ffi/primitives/c_long#, c_shortrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ffi/primitives/c_short#, c_ucharrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ffi/primitives/c_uchar#, c_uintrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ffi/primitives/c_uint#, c_ulongrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ffi/primitives/c_ulong#, c_ushortrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ffi/primitives/c_ushort#, c_voidrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ffi/c_void#,
26 };
27
28 #[allow(unused_imports)]
29 use glibrust-analyzer cargo glib-sys 0.22.0 crate/::{GTyperust-analyzer cargo glib-sys 0.22.0 manual/GType#, gbooleanrust-analyzer cargo glib-sys 0.22.0 gboolean#, gconstpointerrust-analyzer cargo glib-sys 0.22.0 gconstpointer#, gpointerrust-analyzer cargo glib-sys 0.22.0 gpointer#};
30
31 // Constants
32 pub const GST_GL_DISPLAY_EGL_NAMErust-analyzer cargo gstreamer-gl-egl-sys 0.25.0 GST_GL_DISPLAY_EGL_NAME.: &[u8] = b"gst.gl.display.egl\0";
33
34 // Records
35 #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Copyrust-analyzer cargo core https://github.com/rust-lang/rust/library/core marker/Copy:, Clonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core clone/Clone:)]
36 #[repr(C)]
37 pub struct GstGLDisplayEGLClassrust-analyzer cargo gstreamer-gl-egl-sys 0.25.0 GstGLDisplayEGLClass# {
38 pub object_classrust-analyzer cargo gstreamer-gl-egl-sys 0.25.0 GstGLDisplayEGLClass#object_class.: gst_glrust-analyzer cargo gstreamer-gl-sys 0.25.0 crate/::GstGLDisplayClassrust-analyzer cargo gstreamer-gl-sys 0.25.0 GstGLDisplayClass#,
39 pub _paddingrust-analyzer cargo gstreamer-gl-egl-sys 0.25.0 GstGLDisplayEGLClass#_padding.: [gpointerrust-analyzer cargo glib-sys 0.22.0 gpointer#; 4],
40 }
41
42 impl ::stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Debug# for GstGLDisplayEGLClassrust-analyzer cargo gstreamer-gl-egl-sys 0.25.0 GstGLDisplayEGLClass# {
43 fn fmtrust-analyzer cargo gstreamer-gl-egl-sys 0.25.0 impl#[GstGLDisplayEGLClass][Debug]fmt().(&self, f: &mut ::stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Formatterrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Formatter#) -> ::stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Resultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Result# {
44 f.debug_structrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/impl#[`Formatter<'a>`]debug_struct().(&formatrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc macros/format!!("GstGLDisplayEGLClass @ {self:p}"))
45 .fieldrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/builders/impl#[`DebugStruct<'a, 'b>`]field().("object_class", &self.object_classrust-analyzer cargo gstreamer-gl-egl-sys 0.25.0 GstGLDisplayEGLClass#object_class.)
46 .fieldrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/builders/impl#[`DebugStruct<'a, 'b>`]field().("_padding", &self._paddingrust-analyzer cargo gstreamer-gl-egl-sys 0.25.0 GstGLDisplayEGLClass#_padding.)
47 .finishrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/builders/impl#[`DebugStruct<'a, 'b>`]finish().()
48 }
49 }
50
51 // Classes
52 #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Copyrust-analyzer cargo core https://github.com/rust-lang/rust/library/core marker/Copy:, Clonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core clone/Clone:)]
53 #[repr(C)]
54 pub struct GstGLDisplayEGLrust-analyzer cargo gstreamer-gl-egl-sys 0.25.0 GstGLDisplayEGL# {
55 pub parentrust-analyzer cargo gstreamer-gl-egl-sys 0.25.0 GstGLDisplayEGL#parent.: gst_glrust-analyzer cargo gstreamer-gl-sys 0.25.0 crate/::GstGLDisplayrust-analyzer cargo gstreamer-gl-sys 0.25.0 GstGLDisplay#,
56 pub displayrust-analyzer cargo gstreamer-gl-egl-sys 0.25.0 GstGLDisplayEGL#display.: gpointerrust-analyzer cargo glib-sys 0.22.0 gpointer#,
57 pub foreign_displayrust-analyzer cargo gstreamer-gl-egl-sys 0.25.0 GstGLDisplayEGL#foreign_display.: gbooleanrust-analyzer cargo glib-sys 0.22.0 gboolean#,
58 pub _paddingrust-analyzer cargo gstreamer-gl-egl-sys 0.25.0 GstGLDisplayEGL#_padding.: [gpointerrust-analyzer cargo glib-sys 0.22.0 gpointer#; 4],
59 }
60
61 impl ::stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Debug# for GstGLDisplayEGLrust-analyzer cargo gstreamer-gl-egl-sys 0.25.0 GstGLDisplayEGL# {
62 fn fmtrust-analyzer cargo gstreamer-gl-egl-sys 0.25.0 impl#[GstGLDisplayEGL][Debug]fmt().(&self, f: &mut ::stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Formatterrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Formatter#) -> ::stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Resultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Result# {
63 f.debug_structrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/impl#[`Formatter<'a>`]debug_struct().(&formatrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc macros/format!!("GstGLDisplayEGL @ {self:p}"))
64 .fieldrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/builders/impl#[`DebugStruct<'a, 'b>`]field().("parent", &self.parentrust-analyzer cargo gstreamer-gl-egl-sys 0.25.0 GstGLDisplayEGL#parent.)
65 .finishrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/builders/impl#[`DebugStruct<'a, 'b>`]finish().()
66 }
67 }
68
69 unsafe extern "C" {
70
71 //=========================================================================
72 // GstGLDisplayEGL
73 //=========================================================================
74 pub fn gst_gl_display_egl_get_typerust-analyzer cargo gstreamer-gl-egl-sys 0.25.0 gst_gl_display_egl_get_type().() -> GTyperust-analyzer cargo glib-sys 0.22.0 manual/GType#;
75 pub fn gst_gl_display_egl_newrust-analyzer cargo gstreamer-gl-egl-sys 0.25.0 gst_gl_display_egl_new().() -> *mut GstGLDisplayEGLrust-analyzer cargo gstreamer-gl-egl-sys 0.25.0 GstGLDisplayEGL#;
76 #[cfg(feature = "v1_24")]
77 #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
78 pub fn gst_gl_display_egl_new_surfacelessrust-analyzer cargo gstreamer-gl-egl-sys 0.25.0 gst_gl_display_egl_new_surfaceless().() -> *mut GstGLDisplayEGLrust-analyzer cargo gstreamer-gl-egl-sys 0.25.0 GstGLDisplayEGL#;
79 pub fn gst_gl_display_egl_new_with_egl_displayrust-analyzer cargo gstreamer-gl-egl-sys 0.25.0 gst_gl_display_egl_new_with_egl_display().(display: gpointerrust-analyzer cargo glib-sys 0.22.0 gpointer#) -> *mut GstGLDisplayEGLrust-analyzer cargo gstreamer-gl-egl-sys 0.25.0 GstGLDisplayEGL#;
80 pub fn gst_gl_display_egl_from_gl_displayrust-analyzer cargo gstreamer-gl-egl-sys 0.25.0 gst_gl_display_egl_from_gl_display().(
81 display: *mut gst_glrust-analyzer cargo gstreamer-gl-sys 0.25.0 crate/::GstGLDisplayrust-analyzer cargo gstreamer-gl-sys 0.25.0 GstGLDisplay#,
82 ) -> *mut GstGLDisplayEGLrust-analyzer cargo gstreamer-gl-egl-sys 0.25.0 GstGLDisplayEGL#;
83 pub fn gst_gl_display_egl_get_from_nativerust-analyzer cargo gstreamer-gl-egl-sys 0.25.0 gst_gl_display_egl_get_from_native().(
84 type_: gst_glrust-analyzer cargo gstreamer-gl-sys 0.25.0 crate/::GstGLDisplayTyperust-analyzer cargo gstreamer-gl-sys 0.25.0 GstGLDisplayType#,
85 display: uintptr_trust-analyzer cargo libc 0.2.182 unix/uintptr_t#,
86 ) -> gpointerrust-analyzer cargo glib-sys 0.22.0 gpointer#;
87 #[cfg(feature = "v1_26")]
88 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
89 pub fn gst_gl_display_egl_set_foreignrust-analyzer cargo gstreamer-gl-egl-sys 0.25.0 gst_gl_display_egl_set_foreign().(display_egl: *mut GstGLDisplayEGLrust-analyzer cargo gstreamer-gl-egl-sys 0.25.0 GstGLDisplayEGL#, foreign: gbooleanrust-analyzer cargo glib-sys 0.22.0 gboolean#);
90
91 }