Struct gst::Ref
[−]
[src]
pub struct Ref<T> { // some 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]
fn clone(&self) -> Ref<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<T> Deref for Ref<T>
[src]
type Target = T
The resulting type after dereferencing
fn deref(&self) -> &T
The method called to dereference a value
impl<T> DerefMut for Ref<T>
[src]
fn deref_mut(&mut self) -> &mut T
The method called to mutably dereference a value
impl<T: Reference> From<T> for Ref<T>
[src]
impl<T> AsRef<T> for Ref<T>
[src]
fn as_ref(&self) -> &T
Performs the conversion.
impl<T> AsMut<T> for Ref<T>
[src]
fn as_mut(&mut self) -> &mut T
Performs the conversion.