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

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

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

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

type Target = [u8]

The resulting type after dereferencing.

impl DerefMut for MappedBuffer<Writable>[src]

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

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

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

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

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

Auto Trait Implementations

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

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

impl<T> UnwindSafe for MappedBuffer<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, 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.