[][src]Struct gstreamer::context::Context

pub struct Context(_);

Methods

impl Context[src]

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

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

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

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

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

impl Context[src]

pub fn new(context_type: &str, persistent: bool) -> Self[src]

Create a new context.

context_type

Context type

persistent

Persistent context

Returns

The new context.

Methods from Deref<Target = GstRc<ContextRef>>

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 From<GstRc<ContextRef>> for Context[src]

impl AsRef<ContextRef> for Context[src]

impl Clone for Context[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Into<GstRc<ContextRef>> for Context[src]

impl DerefMut for Context[src]

impl Deref for Context[src]

type Target = GstRc<ContextRef>

The resulting type after dereferencing.

impl Debug for Context[src]

impl Borrow<ContextRef> for Context[src]

impl FromGlibPtrArrayContainerAsVec<*mut GstContext, *mut *mut GstContext> for Context[src]

impl FromGlibPtrArrayContainerAsVec<*mut GstContext, *const *mut GstContext> for Context[src]

impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstContext> for Context[src]

impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstContext> for Context[src]

impl<'a> ToGlibPtr<'a, *const GstContext> for Context[src]

type Storage = Stash<'a, *const GstContext, GstRc<ContextRef>>

fn to_glib_container(&'a self) -> Stash<'a, P, Self>[src]

Transfer: container. Read more

impl<'a> ToGlibPtr<'a, *mut GstContext> for Context[src]

type Storage = Stash<'a, *mut GstContext, GstRc<ContextRef>>

fn to_glib_container(&'a self) -> Stash<'a, P, Self>[src]

Transfer: container. Read more

impl FromGlibPtrFull<*const GstContext> for Context[src]

impl FromGlibPtrFull<*mut GstContext> for Context[src]

impl FromGlibContainerAsVec<*mut GstContext, *mut *mut GstContext> for Context[src]

impl FromGlibContainerAsVec<*mut GstContext, *const *mut GstContext> for Context[src]

impl<'a> ToGlibPtrMut<'a, *mut GstContext> for Context[src]

impl FromGlibPtrNone<*const GstContext> for Context[src]

impl FromGlibPtrNone<*mut GstContext> for Context[src]

impl FromGlibPtrBorrow<*const GstContext> for Context[src]

impl FromGlibPtrBorrow<*mut GstContext> for Context[src]

impl GlibPtrDefault for Context[src]

impl StaticType for Context[src]

impl SetValue for Context[src]

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

impl SetValueOptional for Context[src]

Auto Trait Implementations

impl Send for Context

impl Sync for Context

Blanket Implementations

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

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

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[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.

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

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

impl<T> Any for T where
    T: 'static + ?Sized
[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 GArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

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

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

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