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]
impl<T: Reference> Ref<T>
Trait Implementations
impl<T: Reference> Clone for Ref<T>
[src]
impl<T: Reference> Clone for Ref<T>
fn clone(&self) -> Ref<T>
[src]
fn clone(&self) -> Ref<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<T> Deref for Ref<T>
[src]
impl<T> Deref for Ref<T>
type Target = T
The resulting type after dereferencing.
ⓘImportant traits for &'a mut Rfn deref(&self) -> &T
[src]
ⓘImportant traits for &'a mut R
fn deref(&self) -> &T
Dereferences the value.
impl<T> DerefMut for Ref<T>
[src]
impl<T> DerefMut for Ref<T>
ⓘImportant traits for &'a mut Rfn deref_mut(&mut self) -> &mut T
[src]
ⓘImportant traits for &'a mut R
fn deref_mut(&mut self) -> &mut T
Mutably dereferences the value.
impl<T: Reference> From<T> for Ref<T>
[src]
impl<T: Reference> From<T> for Ref<T>
impl<T> AsRef<T> for Ref<T>
[src]
impl<T> AsRef<T> for Ref<T>
impl<T> AsMut<T> for Ref<T>
[src]
impl<T> AsMut<T> for Ref<T>