[][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> PartialEq<MappedBuffer<T>> for MappedBuffer<T>[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

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

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

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

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

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 for T[src]

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

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.