[][src]Struct gstreamer::memory::Memory

pub struct Memory(_);

Methods

impl Memory[src]

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

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

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

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

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

impl Memory[src]

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

pub fn with_size_and_params(size: usize, params: &AllocationParams) -> Self[src]

pub fn from_slice<T: AsRef<[u8]> + Send + 'static>(slice: T) -> Self[src]

pub fn from_mut_slice<T: AsMut<[u8]> + Send + 'static>(slice: T) -> Self[src]

pub fn into_mapped_memory_readable(self) -> Result<MappedMemory<Readable>, Self>[src]

pub fn into_mapped_memory_writable(self) -> Result<MappedMemory<Writable>, Self>[src]

Methods from Deref<Target = GstRc<MemoryRef>>

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<MemoryRef> for Memory[src]

impl Borrow<MemoryRef> for Memory[src]

impl Clone for Memory[src]

impl Debug for Memory[src]

impl Deref for Memory[src]

type Target = GstRc<MemoryRef>

The resulting type after dereferencing.

impl DerefMut for Memory[src]

impl From<GstRc<MemoryRef>> for Memory[src]

impl FromGlibContainerAsVec<*mut GstMemory, *const *mut GstMemory> for Memory[src]

impl FromGlibContainerAsVec<*mut GstMemory, *mut *mut GstMemory> for Memory[src]

impl FromGlibPtrArrayContainerAsVec<*mut GstMemory, *const *mut GstMemory> for Memory[src]

impl FromGlibPtrArrayContainerAsVec<*mut GstMemory, *mut *mut GstMemory> for Memory[src]

impl FromGlibPtrBorrow<*const GstMemory> for Memory[src]

impl FromGlibPtrBorrow<*mut GstMemory> for Memory[src]

impl FromGlibPtrFull<*const GstMemory> for Memory[src]

impl FromGlibPtrFull<*mut GstMemory> for Memory[src]

impl FromGlibPtrNone<*const GstMemory> for Memory[src]

impl FromGlibPtrNone<*mut GstMemory> for Memory[src]

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

impl GlibPtrDefault for Memory[src]

impl Into<GstRc<MemoryRef>> for Memory[src]

impl SetValue for Memory[src]

impl SetValueOptional for Memory[src]

impl StaticType for Memory[src]

impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstMemory> for Memory[src]

impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstMemory> for Memory[src]

impl<'a> ToGlibPtr<'a, *const GstMemory> for Memory[src]

type Storage = Stash<'a, *const GstMemory, GstRc<MemoryRef>>

impl<'a> ToGlibPtr<'a, *mut GstMemory> for Memory[src]

type Storage = Stash<'a, *mut GstMemory, GstRc<MemoryRef>>

impl<'a> ToGlibPtrMut<'a, *mut GstMemory> for Memory[src]

type Storage = StashMut<'a, *mut GstMemory, GstRc<MemoryRef>>

Auto Trait Implementations

impl RefUnwindSafe for Memory

impl Send for Memory

impl Sync for Memory

impl Unpin for Memory

impl UnwindSafe for Memory

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> 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.