Struct gstreamer_gl::GLBaseMemoryRef [−][src]
#[repr(transparent)]pub struct GLBaseMemoryRef(_);
Implementations
impl GLBaseMemoryRef
[src]
impl GLBaseMemoryRef
[src]pub unsafe fn as_ptr(&self) -> *const GstGLBaseMemory
[src]
pub unsafe fn as_mut_ptr(&self) -> *mut GstGLBaseMemory
[src]
pub unsafe fn from_ptr<'a>(ptr: *const GstGLBaseMemory) -> &'a Self
[src]
pub unsafe fn from_mut_ptr<'a>(ptr: *mut GstGLBaseMemory) -> &'a mut Self
[src]
pub fn copy(&self) -> GLBaseMemory
[src]
impl GLBaseMemoryRef
[src]
impl GLBaseMemoryRef
[src]pub unsafe fn memcpy(
&self,
dest: &mut GLBaseMemory,
offset: isize,
size: isize
) -> Result<(), LoggableError>
[src]
&self,
dest: &mut GLBaseMemory,
offset: isize,
size: isize
) -> Result<(), LoggableError>
pub fn alloc<P: IsA<GLBaseMemoryAllocator>>(
allocator: &P,
params: &GLAllocationParams
) -> Option<GLBaseMemory>
[src]
allocator: &P,
params: &GLAllocationParams
) -> Option<GLBaseMemory>
Methods from Deref<Target = MemoryRef>
pub fn allocator(&self) -> Option<Allocator>
[src]
pub fn parent(&self) -> Option<&MemoryRef>
[src]
pub fn maxsize(&self) -> usize
[src]
pub fn align(&self) -> usize
[src]
pub fn offset(&self) -> usize
[src]
pub fn size(&self) -> usize
[src]
pub fn flags(&self) -> MemoryFlags
[src]
pub fn copy_part(&self, offset: isize, size: Option<usize>) -> Memory
[src]
pub fn is_span(&self, mem2: &MemoryRef) -> Option<usize>
[src]
pub fn is_type(&self, mem_type: &str) -> bool
[src]
pub fn map_readable(&self) -> Result<MemoryMap<'_, Readable>, BoolError>
[src]
pub fn map_writable(&mut self) -> Result<MemoryMap<'_, Writable>, BoolError>
[src]
pub fn share(&self, offset: isize, size: Option<usize>) -> Memory
[src]
pub fn resize(&mut self, offset: isize, size: usize)
[src]
pub fn dump(&self, size: Option<usize>) -> Dump<'_>
[src]
pub unsafe fn as_ptr(&self) -> *const GstMemory
[src]
pub unsafe fn as_mut_ptr(&self) -> *mut GstMemory
[src]
pub fn copy(&self) -> Memory
[src]
Trait Implementations
impl AsRef<GLBaseMemoryRef> for GLBaseMemory
[src]
impl AsRef<GLBaseMemoryRef> for GLBaseMemory
[src]fn as_ref(&self) -> &GLBaseMemoryRef
[src]
fn as_ref(&self) -> &GLBaseMemoryRef
[src]Performs the conversion.
impl Borrow<GLBaseMemoryRef> for GLBaseMemory
[src]
impl Borrow<GLBaseMemoryRef> for GLBaseMemory
[src]fn borrow(&self) -> &GLBaseMemoryRef
[src]
fn borrow(&self) -> &GLBaseMemoryRef
[src]Immutably borrows from an owned value. Read more
impl Deref for GLBaseMemoryRef
[src]
impl Deref for GLBaseMemoryRef
[src]impl DerefMut for GLBaseMemoryRef
[src]
impl DerefMut for GLBaseMemoryRef
[src]impl<'a> FromValue<'a> for &'a GLBaseMemoryRef
[src]
impl<'a> FromValue<'a> for &'a GLBaseMemoryRef
[src]type Checker = GenericValueTypeOrNoneChecker<Self>
type Checker = GenericValueTypeOrNoneChecker<Self>
Value type checker.
unsafe fn from_value(value: &'a Value) -> Self
[src]
unsafe fn from_value(value: &'a Value) -> Self
[src]Get the contained value from a Value
. Read more
impl GlibPtrDefault for GLBaseMemoryRef
[src]
impl GlibPtrDefault for GLBaseMemoryRef
[src]impl StaticType for GLBaseMemoryRef
[src]
impl StaticType for GLBaseMemoryRef
[src]fn static_type() -> Type
[src]
fn static_type() -> Type
[src]Returns the type identifier of Self
.
impl ToOwned for GLBaseMemoryRef
[src]
impl ToOwned for GLBaseMemoryRef
[src]type Owned = GLBaseMemory
type Owned = GLBaseMemory
The resulting type after obtaining ownership.
fn to_owned(&self) -> GLBaseMemory
[src]
fn to_owned(&self) -> GLBaseMemory
[src]Creates owned data from borrowed data, usually by cloning. Read more
fn clone_into(&self, target: &mut Self::Owned)
[src]
fn clone_into(&self, target: &mut Self::Owned)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more