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

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

Methods

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 MiniObject for ContextRef[src]

type GstType = GstContext

unsafe fn as_ptr(&self) -> *const Self::GstType[src]

unsafe fn as_mut_ptr(&self) -> *mut Self::GstType[src]

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

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

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

impl AsRef<ContextRef> for Context[src]

impl Sync for ContextRef[src]

impl ToOwned for ContextRef[src]

type Owned = Context

The resulting type after obtaining ownership.

fn clone_into(&self, target: &mut Self::Owned)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

impl Send for ContextRef[src]

impl Debug for ContextRef[src]

impl Borrow<ContextRef> for Context[src]

impl StaticType for ContextRef[src]

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]