Struct gstreamer_gl::GLMemory [−][src]
pub struct GLMemory { /* fields omitted */ }
Implementations
Methods from Deref<Target = GLMemoryRef>
pub unsafe fn copy_into(
&self,
tex_id: u32,
target: GLTextureTarget,
tex_format: GLFormat,
width: i32,
height: i32
) -> Result<(), LoggableError>
[src]
pub unsafe fn copy_into(
&self,
tex_id: u32,
target: GLTextureTarget,
tex_format: GLFormat,
width: i32,
height: i32
) -> Result<(), LoggableError>
[src]Safety
tex_id
is not validated to be a valid GL texture, which may lead to undefined behaviour.
pub unsafe fn copy_teximage(
&self,
tex_id: u32,
out_target: GLTextureTarget,
out_tex_format: GLFormat,
out_width: i32,
out_height: i32
) -> Result<(), LoggableError>
[src]
pub unsafe fn copy_teximage(
&self,
tex_id: u32,
out_target: GLTextureTarget,
out_tex_format: GLFormat,
out_width: i32,
out_height: i32
) -> Result<(), LoggableError>
[src]Safety
tex_id
is not validated to be a valid GL texture, which may lead to undefined behaviour.
Methods from Deref<Target = GLBaseMemoryRef>
pub unsafe fn memcpy(
&self,
dest: &mut GLBaseMemory,
offset: isize,
size: isize
) -> Result<(), LoggableError>
[src]Methods from Deref<Target = MemoryRef>
Trait Implementations
Performs the conversion.
Immutably borrows from an owned value. Read more
type Target = GLMemoryRef
type Target = GLMemoryRef
The resulting type after dereferencing.
Safety Read more
Safety Read more
Safety Read more
Safety Read more
Safety Read more
Safety Read more
type Checker = GenericValueTypeOrNoneChecker<Self>
type Checker = GenericValueTypeOrNoneChecker<Self>
Value type checker.
Get the contained value from a Value
. Read more
type GlibType = *mut GstGLMemory
Returns the type identifier of Self
.
Transfer: none. Read more
Convert an Option
to a Value
.
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.
impl<'a, T, C> FromValueOptional<'a> for T where
C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError>,
T: FromValue<'a, Checker = C>,
[src]