Struct gstreamer::bufferlist::BufferListRef
source · pub struct BufferListRef(_);
Implementations
sourceimpl BufferListRef
impl BufferListRef
pub fn insert(&mut self, idx: i32, buffer: Buffer)
pub fn add(&mut self, buffer: Buffer)
pub fn copy_deep(&self) -> BufferList
pub fn remove(&mut self, idx: u32, len: u32)
pub fn get(&self, idx: u32) -> Option<&BufferRef>
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn iter(&self) -> Iter<'_>ⓘNotable traits for Iter<'a>impl<'a> Iterator for Iter<'a> type Item = &'a BufferRef;
Trait Implementations
sourceimpl Debug for BufferListRef
impl Debug for BufferListRef
sourceimpl MiniObject for BufferListRef
impl MiniObject for BufferListRef
type GstType = GstBufferList
unsafe fn as_ptr(&self) -> *const Self::GstType
unsafe fn as_mut_ptr(&self) -> *mut Self::GstType
unsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self
unsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self
fn copy(&self) -> GstRc<Self>
sourceimpl StaticType for BufferListRef
impl StaticType for BufferListRef
sourcefn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.sourceimpl ToOwned for BufferListRef
impl ToOwned for BufferListRef
type Owned = GstRc<BufferListRef>
type Owned = GstRc<BufferListRef>
The resulting type after obtaining ownership.
sourcefn to_owned(&self) -> GstRc<BufferListRef>
fn to_owned(&self) -> GstRc<BufferListRef>
Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · sourcefn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
Uses borrowed data to replace owned data, usually by cloning. Read more
impl Send for BufferListRef
impl Sync for BufferListRef
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more