[][src]Struct gstreamer::memory::MappedMemory

pub struct MappedMemory<T> { /* fields omitted */ }

Methods

impl<T> MappedMemory<T>[src]

pub fn as_slice(&self) -> &[u8][src]

pub fn get_size(&self) -> usize[src]

pub fn get_memory(&self) -> &MemoryRef[src]

pub fn into_memory(self) -> Memory[src]

impl MappedMemory<Writable>[src]

pub fn as_mut_slice(&mut self) -> &mut [u8][src]

Trait Implementations

impl<T> Drop for MappedMemory<T>[src]

impl AsMut<[u8]> for MappedMemory<Writable>[src]

impl<T> AsRef<[u8]> for MappedMemory<T>[src]

impl<T> Eq for MappedMemory<T>[src]

impl<T> Send for MappedMemory<T>[src]

impl<T> PartialEq<MappedMemory<T>> for MappedMemory<T>[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl DerefMut for MappedMemory<Writable>[src]

impl<T> Deref for MappedMemory<T>[src]

type Target = [u8]

The resulting type after dereferencing.

impl<T> Debug for MappedMemory<T>[src]

Auto Trait Implementations

impl<T> !Sync for MappedMemory<T>

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]