Struct gstreamer::memory::MemoryRef [−][src]
#[repr(transparent)]pub struct MemoryRef(_);
Implementations
impl MemoryRef
[src]
impl MemoryRef
[src]impl MemoryRef
[src]
impl MemoryRef
[src]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]
Trait Implementations
impl<'a> FromValue<'a> for &'a MemoryRef
[src]
impl<'a> FromValue<'a> for &'a MemoryRef
[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 MemoryRef
[src]
impl GlibPtrDefault for MemoryRef
[src]impl StaticType for MemoryRef
[src]
impl StaticType for MemoryRef
[src]fn static_type() -> Type
[src]
fn static_type() -> Type
[src]Returns the type identifier of Self
.
impl ToOwned for MemoryRef
[src]
impl ToOwned for MemoryRef
[src]fn to_owned(&self) -> Memory
[src]
fn to_owned(&self) -> Memory
[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