Struct gst::Ref[][src]

pub struct Ref<T> { /* fields omitted */ }

Represents a reference to a gstreamer object equivalent to gst_object_ref and gst_mini_object_ref it auto unrefs when going out of scope

Methods

impl<T: Reference> Ref<T>
[src]

Trait Implementations

impl<T: Reference> Clone for Ref<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T> Deref for Ref<T>
[src]

The resulting type after dereferencing.

Important traits for &'a mut R

Dereferences the value.

impl<T> DerefMut for Ref<T>
[src]

Important traits for &'a mut R

Mutably dereferences the value.

impl<T: Reference> From<T> for Ref<T>
[src]

Performs the conversion.

impl<T> AsRef<T> for Ref<T>
[src]

Important traits for &'a mut R

Performs the conversion.

impl<T> AsMut<T> for Ref<T>
[src]

Important traits for &'a mut R

Performs the conversion.

Auto Trait Implementations

impl<T> Send for Ref<T> where
    T: Send

impl<T> Sync for Ref<T> where
    T: Sync