Struct gstreamer::bufferlist::BufferListRef [−][src]
#[repr(transparent)]pub struct BufferListRef(_);
Implementations
impl BufferListRef
[src]
impl BufferListRef
[src]impl BufferListRef
[src]
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_mut(&mut self, idx: u32) -> Option<&mut BufferRef>
[src]
This is supported on crate feature
v1_14
only.pub fn len(&self) -> usize
[src]
pub fn calculate_size(&self) -> usize
[src]
This is supported on crate feature
v1_14
only.pub fn is_empty(&self) -> bool
[src]
pub fn iter(&self) -> Iter<'_>ⓘ
[src]
pub fn iter_owned(&self) -> IterOwned<'_>ⓘ
[src]
pub fn foreach<F: FnMut(&BufferRef, u32) -> bool>(&self, func: F) -> bool
[src]
pub fn foreach_mut<F: FnMut(Buffer, u32) -> Result<Option<Buffer>, Option<Buffer>>>(
&mut self,
func: F
) -> bool
[src]
&mut self,
func: F
) -> bool
Trait Implementations
impl AsRef<BufferListRef> for BufferList
[src]
impl AsRef<BufferListRef> for BufferList
[src]fn as_ref(&self) -> &BufferListRef
[src]
fn as_ref(&self) -> &BufferListRef
[src]Performs the conversion.
impl Borrow<BufferListRef> for BufferList
[src]
impl Borrow<BufferListRef> for BufferList
[src]fn borrow(&self) -> &BufferListRef
[src]
fn borrow(&self) -> &BufferListRef
[src]Immutably borrows from an owned value. Read more
impl Debug for BufferListRef
[src]
impl Debug for BufferListRef
[src]impl<'a> FromValue<'a> for &'a BufferListRef
[src]
impl<'a> FromValue<'a> for &'a BufferListRef
[src]type Checker = GenericValueTypeOrNoneChecker<Self>
type Checker = GenericValueTypeOrNoneChecker<Self>
Value type checker.
unsafe fn from_value(value: &'a Value) -> Self
[src]
unsafe fn from_value(value: &'a Value) -> Self
[src]Get the contained value from a Value
. Read more
impl GlibPtrDefault for BufferListRef
[src]
impl GlibPtrDefault for BufferListRef
[src]impl Serialize for BufferListRef
[src]
impl Serialize for BufferListRef
[src]impl StaticType for BufferListRef
[src]
impl StaticType for BufferListRef
[src]fn static_type() -> Type
[src]
fn static_type() -> Type
[src]Returns the type identifier of Self
.
impl ToOwned for BufferListRef
[src]
impl ToOwned for BufferListRef
[src]type Owned = BufferList
type Owned = BufferList
The resulting type after obtaining ownership.
fn to_owned(&self) -> BufferList
[src]
fn to_owned(&self) -> BufferList
[src]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)
[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