Struct gstreamer::bufferlist::BufferListRef [−][src]
pub struct BufferListRef(_);
Methods
impl BufferListRef
[src]
impl BufferListRef
pub 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) -> BufferList
pub 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) -> usize
pub fn calculate_size(&self) -> usize
[src]
pub fn calculate_size(&self) -> usize
pub 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) -> Iter
Trait Implementations
impl MiniObject for BufferListRef
[src]
impl MiniObject for BufferListRef
type GstType = GstBufferList
unsafe fn as_ptr(&self) -> *const Self::GstType
[src]
unsafe fn as_ptr(&self) -> *const Self::GstType
unsafe 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 Self
fn copy(&self) -> GstRc<Self>
[src]
fn copy(&self) -> GstRc<Self>
impl ToOwned for BufferListRef
[src]
impl ToOwned for BufferListRef
type 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 BufferListRef
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl StaticType for BufferListRef
[src]
impl StaticType for BufferListRef
fn static_type() -> Type
[src]
fn static_type() -> Type
Returns the type identifier of Self
.
impl Sync for BufferListRef
[src]
impl Sync for BufferListRef
impl Send for BufferListRef
[src]
impl Send for BufferListRef