[][src]Struct gstreamer::context::ContextRef

#[repr(transparent)]pub struct ContextRef(_);

Implementations

impl ContextRef[src]

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

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

pub unsafe fn from_ptr<'a>(ptr: *const GstContext) -> &'a Self[src]

pub unsafe fn from_mut_ptr<'a>(ptr: *mut GstContext) -> &'a mut Self[src]

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

impl ContextRef[src]

pub fn get_context_type(&self) -> &str[src]

pub fn has_context_type(&self, context_type: &str) -> bool[src]

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

pub fn get_structure(&self) -> &StructureRef[src]

pub fn get_mut_structure(&mut self) -> &mut StructureRef[src]

Trait Implementations

impl AsRef<ContextRef> for Context[src]

impl Borrow<ContextRef> for Context[src]

impl Debug for ContextRef[src]

impl<'a> FromValueOptional<'a> for &'a ContextRef[src]

impl GlibPtrDefault for ContextRef[src]

type GlibType = *mut GstContext

impl Send for ContextRef[src]

impl StaticType for ContextRef[src]

impl Sync for ContextRef[src]

impl ToOwned for ContextRef[src]

type Owned = Context

The resulting type after obtaining ownership.

Auto Trait Implementations

impl RefUnwindSafe for ContextRef

impl Unpin for ContextRef

impl UnwindSafe for ContextRef

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<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.