[][src]Struct gstreamer::bufferlist::BufferList

pub struct BufferList(_);

Methods

impl BufferList[src]

pub unsafe fn from_glib_none(ptr: *const GstBufferList) -> Self[src]

pub unsafe fn from_glib_full(ptr: *const GstBufferList) -> Self[src]

pub unsafe fn from_glib_borrow(ptr: *const GstBufferList) -> Self[src]

pub unsafe fn into_ptr(self) -> *mut GstBufferList[src]

pub fn copy(&self) -> Self[src]

impl BufferList[src]

pub fn new() -> Self[src]

Creates a new, empty BufferList. The caller is responsible for unreffing the returned BufferList.

Free-function: gst_buffer_list_unref

Returns

the new BufferList. gst_buffer_list_unref after usage.

pub fn new_sized(size: usize) -> Self[src]

Creates a new, empty BufferList. The caller is responsible for unreffing the returned BufferList. The list will have size space preallocated so that memory reallocations can be avoided.

Free-function: gst_buffer_list_unref

size

an initial reserved size

Returns

the new BufferList. gst_buffer_list_unref after usage.

Methods from Deref<Target = GstRc<BufferListRef>>

pub fn make_mut(&mut self) -> &mut T[src]

pub fn get_mut(&mut self) -> Option<&mut T>[src]

pub fn is_writable(&self) -> bool[src]

pub fn add_parent<U: MiniObject>(&self, parent: &U)[src]

pub fn remove_parent<U: MiniObject>(&self, parent: &U)[src]

Trait Implementations

impl AsRef<BufferListRef> for BufferList[src]

impl Borrow<BufferListRef> for BufferList[src]

impl Clone for BufferList[src]

impl Debug for BufferList[src]

impl Default for BufferList[src]

impl Deref for BufferList[src]

type Target = GstRc<BufferListRef>

The resulting type after dereferencing.

impl DerefMut for BufferList[src]

impl<'de> Deserialize<'de> for BufferList[src]

impl From<GstRc<BufferListRef>> for BufferList[src]

impl FromGlibContainerAsVec<*mut GstBufferList, *const *mut GstBufferList> for BufferList[src]

impl FromGlibContainerAsVec<*mut GstBufferList, *mut *mut GstBufferList> for BufferList[src]

impl FromGlibPtrArrayContainerAsVec<*mut GstBufferList, *const *mut GstBufferList> for BufferList[src]

impl FromGlibPtrArrayContainerAsVec<*mut GstBufferList, *mut *mut GstBufferList> for BufferList[src]

impl FromGlibPtrBorrow<*const GstBufferList> for BufferList[src]

impl FromGlibPtrBorrow<*mut GstBufferList> for BufferList[src]

impl FromGlibPtrFull<*const GstBufferList> for BufferList[src]

impl FromGlibPtrFull<*mut GstBufferList> for BufferList[src]

impl FromGlibPtrNone<*const GstBufferList> for BufferList[src]

impl FromGlibPtrNone<*mut GstBufferList> for BufferList[src]

impl<'a> FromValueOptional<'a> for BufferList[src]

impl GlibPtrDefault for BufferList[src]

impl Into<GstRc<BufferListRef>> for BufferList[src]

impl Serialize for BufferList[src]

impl SetValue for BufferList[src]

impl SetValueOptional for BufferList[src]

impl StaticType for BufferList[src]

impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstBufferList> for BufferList[src]

impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstBufferList> for BufferList[src]

impl<'a> ToGlibPtr<'a, *const GstBufferList> for BufferList[src]

type Storage = Stash<'a, *const GstBufferList, GstRc<BufferListRef>>

impl<'a> ToGlibPtr<'a, *mut GstBufferList> for BufferList[src]

type Storage = Stash<'a, *mut GstBufferList, GstRc<BufferListRef>>

impl<'a> ToGlibPtrMut<'a, *mut GstBufferList> for BufferList[src]

Auto Trait Implementations

impl RefUnwindSafe for BufferList

impl Send for BufferList

impl Sync for BufferList

impl Unpin for BufferList

impl UnwindSafe for BufferList

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *const GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *const GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.