Struct gstreamer_gl_sys::GstGLMemory
source · #[repr(C)]pub struct GstGLMemory {
pub mem: GstGLBaseMemory,
pub tex_id: c_uint,
pub tex_target: GstGLTextureTarget,
pub tex_format: GstGLFormat,
pub info: GstVideoInfo,
pub valign: GstVideoAlignment,
pub plane: c_uint,
pub tex_scaling: [c_float; 2],
pub texture_wrapped: gboolean,
pub unpack_length: c_uint,
pub tex_width: c_uint,
pub _padding: [gpointer; 4],
}
Fields§
§mem: GstGLBaseMemory
§tex_id: c_uint
§tex_target: GstGLTextureTarget
§tex_format: GstGLFormat
§info: GstVideoInfo
§valign: GstVideoAlignment
§plane: c_uint
§tex_scaling: [c_float; 2]
§texture_wrapped: gboolean
§unpack_length: c_uint
§tex_width: c_uint
§_padding: [gpointer; 4]
Trait Implementations§
source§impl Clone for GstGLMemory
impl Clone for GstGLMemory
source§fn clone(&self) -> GstGLMemory
fn clone(&self) -> GstGLMemory
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GstGLMemory
impl Debug for GstGLMemory
impl Copy for GstGLMemory
Auto Trait Implementations§
impl Freeze for GstGLMemory
impl RefUnwindSafe for GstGLMemory
impl !Send for GstGLMemory
impl !Sync for GstGLMemory
impl Unpin for GstGLMemory
impl UnwindSafe for GstGLMemory
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)