[][src]Struct gstreamer::sample::Sample

pub struct Sample { /* fields omitted */ }

Implementations

impl Sample[src]

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

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

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

pub unsafe fn replace_ptr(&mut self, ptr: *mut GstSample)[src]

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

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

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

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

impl Sample[src]

pub fn builder<'a>() -> SampleBuilder<'a>[src]

Methods from Deref<Target = SampleRef>

pub unsafe fn as_ptr(&self) -> *const GstSample[src]

pub unsafe fn as_mut_ptr(&self) -> *mut GstSample[src]

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

pub fn get_buffer(&self) -> Option<&BufferRef>[src]

pub fn get_buffer_owned(&self) -> Option<Buffer>[src]

pub fn get_buffer_list(&self) -> Option<&BufferListRef>[src]

pub fn get_buffer_list_owned(&self) -> Option<BufferList>[src]

pub fn get_caps(&self) -> Option<&CapsRef>[src]

pub fn get_caps_owned(&self) -> Option<Caps>[src]

pub fn get_segment(&self) -> Option<Segment>[src]

pub fn get_info(&self) -> Option<&StructureRef>[src]

Trait Implementations

impl AsRef<SampleRef> for Sample[src]

impl Borrow<SampleRef> for Sample[src]

impl Clone for Sample[src]

impl Debug for Sample[src]

impl Deref for Sample[src]

type Target = SampleRef

The resulting type after dereferencing.

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

impl Drop for Sample[src]

impl FromGlibContainerAsVec<*mut GstSample, *const *mut GstSample> for Sample[src]

impl FromGlibContainerAsVec<*mut GstSample, *mut *mut GstSample> for Sample[src]

impl FromGlibPtrArrayContainerAsVec<*mut GstSample, *const *mut GstSample> for Sample[src]

impl FromGlibPtrArrayContainerAsVec<*mut GstSample, *mut *mut GstSample> for Sample[src]

impl FromGlibPtrBorrow<*const GstSample> for Sample[src]

impl FromGlibPtrBorrow<*mut GstSample> for Sample[src]

impl FromGlibPtrFull<*const GstSample> for Sample[src]

impl FromGlibPtrFull<*mut GstSample> for Sample[src]

impl FromGlibPtrNone<*const GstSample> for Sample[src]

impl FromGlibPtrNone<*mut GstSample> for Sample[src]

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

impl GlibPtrDefault for Sample[src]

type GlibType = *mut GstSample

impl Send for Sample[src]

impl<'a> Serialize for Sample[src]

impl SetValue for Sample[src]

impl SetValueOptional for Sample[src]

impl StaticType for Sample[src]

impl Sync for Sample[src]

impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstSample> for Sample[src]

impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstSample> for Sample[src]

type Storage = (Vec<Stash<'a, *mut GstSample, Self>>, Option<Vec<*mut GstSample>>)

impl<'a> ToGlibPtr<'a, *const GstSample> for Sample[src]

type Storage = &'a Self

impl<'a> ToGlibPtr<'a, *mut GstSample> for Sample[src]

type Storage = &'a Self

impl<'a> ToGlibPtrMut<'a, *mut GstSample> for Sample[src]

type Storage = &'a mut Self

Auto Trait Implementations

impl RefUnwindSafe for Sample

impl Unpin for Sample

impl UnwindSafe for Sample

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: for<'de> 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.