[][src]Struct gstreamer::bufferlist::BufferListRef

#[repr(C)]
pub struct BufferListRef(_);

Methods

impl BufferListRef[src]

pub fn insert(&mut self, idx: i32, buffer: Buffer)[src]

pub fn add(&mut self, buffer: Buffer)[src]

pub fn copy_deep(&self) -> BufferList[src]

pub fn remove(&mut self, idx: u32, len: u32)[src]

pub fn get(&self, idx: u32) -> Option<&BufferRef>[src]

pub fn get_owned(&self, idx: u32) -> Option<Buffer>[src]

pub fn get_writable(&mut self, idx: u32) -> Option<&mut BufferRef>[src]

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

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

pub fn is_empty(&self) -> bool[src]

Important traits for Iter<'a>
pub fn iter(&self) -> Iter[src]

Important traits for IterOwned<'a>
pub fn iter_owned(&self) -> IterOwned[src]

Trait Implementations

impl MiniObject for BufferListRef[src]

type GstType = GstBufferList

unsafe fn as_ptr(&self) -> *const Self::GstType[src]

unsafe fn as_mut_ptr(&self) -> *mut Self::GstType[src]

unsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self[src]

unsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self[src]

fn copy(&self) -> GstRc<Self>[src]

impl AsRef<BufferListRef> for BufferList[src]

impl Sync for BufferListRef[src]

impl ToOwned for BufferListRef[src]

type Owned = BufferList

The resulting type after obtaining ownership.

fn clone_into(&self, target: &mut Self::Owned)[src]

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

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

impl Send for BufferListRef[src]

impl Debug for BufferListRef[src]

impl Borrow<BufferListRef> for BufferList[src]

impl StaticType for BufferListRef[src]

impl Serialize for BufferListRef[src]

Blanket Implementations

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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]