[−][src]Struct gstreamer::bufferlist::BufferListRef
Implementations
impl BufferListRef
[src]
pub unsafe fn as_ptr(&self) -> *const GstBufferList
[src]
pub unsafe fn as_mut_ptr(&self) -> *mut GstBufferList
[src]
pub unsafe fn from_ptr<'a>(ptr: *const GstBufferList) -> &'a Self
[src]
pub unsafe fn from_mut_ptr<'a>(ptr: *mut GstBufferList) -> &'a mut Self
[src]
pub fn copy(&self) -> BufferList
[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_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]
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]
fn as_ref(&self) -> &BufferListRef
[src]
impl Borrow<BufferListRef> for BufferList
[src]
fn borrow(&self) -> &BufferListRef
[src]
impl Debug for BufferListRef
[src]
impl<'a> FromValueOptional<'a> for &'a BufferListRef
[src]
unsafe fn from_value_optional(v: &'a Value) -> Option<Self>
[src]
impl GlibPtrDefault for BufferListRef
[src]
impl Send for BufferListRef
[src]
impl Serialize for BufferListRef
[src]
impl StaticType for BufferListRef
[src]
fn static_type() -> Type
[src]
impl Sync for BufferListRef
[src]
impl ToOwned for BufferListRef
[src]
type Owned = BufferList
The resulting type after obtaining ownership.
fn to_owned(&self) -> BufferList
[src]
fn clone_into(&self, target: &mut Self::Owned)
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,