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

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

Implementations

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 AsMut<[u8]> for MappedMemory<Writable>[src]

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

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

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

type Target = [u8]

The resulting type after dereferencing.

impl DerefMut for MappedMemory<Writable>[src]

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

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

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

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

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

Auto Trait Implementations

impl<T> RefUnwindSafe for MappedMemory<T> where
    T: RefUnwindSafe

impl<T> Unpin for MappedMemory<T> where
    T: Unpin

impl<T> UnwindSafe for MappedMemory<T> where
    T: UnwindSafe

Blanket Implementations

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

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

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

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

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

impl<T> PrettyHex for T where
    T: AsRef<[u8]>, 

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.