Struct gstreamer::bufferlist::BufferListRef [−][src]
pub struct BufferListRef(_);
Methods
impl BufferListRef[src]
impl BufferListRefpub fn insert(&mut self, idx: i32, buffer: Buffer)[src]
pub fn insert(&mut self, idx: i32, buffer: Buffer)pub fn add(&mut self, buffer: Buffer)[src]
pub fn add(&mut self, buffer: Buffer)pub fn copy_deep(&self) -> BufferList[src]
pub fn copy_deep(&self) -> BufferListpub fn remove(&mut self, idx: u32, len: u32)[src]
pub fn remove(&mut self, idx: u32, len: u32)pub fn get(&self, idx: u32) -> Option<&BufferRef>[src]
pub fn get(&self, idx: u32) -> Option<&BufferRef>pub fn get_writable(&mut self, idx: u32) -> Option<&mut BufferRef>[src]
pub fn get_writable(&mut self, idx: u32) -> Option<&mut BufferRef>pub fn len(&self) -> usize[src]
pub fn len(&self) -> usizepub fn calculate_size(&self) -> usize[src]
pub fn calculate_size(&self) -> usizepub fn is_empty(&self) -> bool[src]
pub fn is_empty(&self) -> boolⓘImportant traits for Iter<'a>pub fn iter(&self) -> Iter[src]
ⓘImportant traits for Iter<'a>
pub fn iter(&self) -> IterTrait Implementations
impl MiniObject for BufferListRef[src]
impl MiniObject for BufferListReftype GstType = GstBufferList
unsafe fn as_ptr(&self) -> *const Self::GstType[src]
unsafe fn as_ptr(&self) -> *const Self::GstTypeunsafe fn as_mut_ptr(&self) -> *mut Self::GstType[src]
unsafe fn as_mut_ptr(&self) -> *mut Self::GstTypeⓘImportant traits for &'a mut Runsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self[src]
ⓘImportant traits for &'a mut R
unsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a SelfⓘImportant traits for &'a mut Runsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self[src]
ⓘImportant traits for &'a mut R
unsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Selffn copy(&self) -> GstRc<Self>[src]
fn copy(&self) -> GstRc<Self>impl ToOwned for BufferListRef[src]
impl ToOwned for BufferListReftype Owned = GstRc<BufferListRef>
fn to_owned(&self) -> GstRc<BufferListRef>[src]
fn to_owned(&self) -> GstRc<BufferListRef>Creates owned data from borrowed data, usually by cloning. Read more
fn clone_into(&self, target: &mut Self::Owned)[src]
fn clone_into(&self, target: &mut Self::Owned)🔬 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 Debug for BufferListRef[src]
impl Debug for BufferListReffn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl StaticType for BufferListRef[src]
impl StaticType for BufferListReffn static_type() -> Type[src]
fn static_type() -> TypeReturns the type identifier of Self.
impl Sync for BufferListRef[src]
impl Sync for BufferListRefimpl Send for BufferListRef[src]
impl Send for BufferListRef