[][src]Struct gstreamer::buffer::MappedBuffer

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

Methods

impl<T> MappedBuffer<T>[src]

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

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

pub fn get_buffer(&self) -> &BufferRef[src]

pub fn into_buffer(self) -> Buffer[src]

impl MappedBuffer<Writable>[src]

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

Trait Implementations

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

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

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

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

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

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

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

This method tests for !=.

impl DerefMut for MappedBuffer<Writable>[src]

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

type Target = [u8]

The resulting type after dereferencing.

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

Auto Trait Implementations

impl<T> !Sync for MappedBuffer<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]