Struct gstreamer_analytics::AnalyticsMtdRef
source · pub struct AnalyticsMtdRef<'a, T: AnalyticsMtd> { /* private fields */ }
Implementations§
source§impl<'a, T: AnalyticsMtd> AnalyticsMtdRef<'a, T>
impl<'a, T: AnalyticsMtd> AnalyticsMtdRef<'a, T>
source§impl<'a> AnalyticsMtdRef<'a, AnalyticsAnyMtd>
impl<'a> AnalyticsMtdRef<'a, AnalyticsAnyMtd>
pub fn downcast<T: AnalyticsMtd>( self, ) -> Result<AnalyticsMtdRef<'a, T>, AnalyticsMtdRef<'a, AnalyticsAnyMtd>>
pub fn downcast_ref<T: AnalyticsMtd>(&self) -> Option<&AnalyticsMtdRef<'a, T>>
source§impl<'a> AnalyticsMtdRef<'a, AnalyticsODMtd>
impl<'a> AnalyticsMtdRef<'a, AnalyticsODMtd>
source§impl<'a> AnalyticsMtdRef<'a, AnalyticsTrackingMtd>
impl<'a> AnalyticsMtdRef<'a, AnalyticsTrackingMtd>
Trait Implementations§
source§impl<'a, T: AnalyticsMtd> AsRef<AnalyticsMtdRef<'a, T>> for AnalyticsMtdRefMut<'a, T>
impl<'a, T: AnalyticsMtd> AsRef<AnalyticsMtdRef<'a, T>> for AnalyticsMtdRefMut<'a, T>
source§fn as_ref(&self) -> &AnalyticsMtdRef<'a, T>
fn as_ref(&self) -> &AnalyticsMtdRef<'a, T>
Converts this type into a shared reference of the (usually inferred) input type.
source§impl<'a, T: Clone + AnalyticsMtd> Clone for AnalyticsMtdRef<'a, T>
impl<'a, T: Clone + AnalyticsMtd> Clone for AnalyticsMtdRef<'a, T>
source§fn clone(&self) -> AnalyticsMtdRef<'a, T>
fn clone(&self) -> AnalyticsMtdRef<'a, T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a, T: Debug + AnalyticsMtd> Debug for AnalyticsMtdRef<'a, T>
impl<'a, T: Debug + AnalyticsMtd> Debug for AnalyticsMtdRef<'a, T>
source§impl<'a, T: AnalyticsMtd> From<&mut AnalyticsMtdRefMut<'a, T>> for AnalyticsMtdRef<'a, T>
impl<'a, T: AnalyticsMtd> From<&mut AnalyticsMtdRefMut<'a, T>> for AnalyticsMtdRef<'a, T>
source§fn from(value: &mut AnalyticsMtdRefMut<'a, T>) -> Self
fn from(value: &mut AnalyticsMtdRefMut<'a, T>) -> Self
Converts to this type from the input type.
source§impl<'a, T: AnalyticsMtd> From<AnalyticsMtdRefMut<'a, T>> for AnalyticsMtdRef<'a, T>
impl<'a, T: AnalyticsMtd> From<AnalyticsMtdRefMut<'a, T>> for AnalyticsMtdRef<'a, T>
source§fn from(value: AnalyticsMtdRefMut<'a, T>) -> Self
fn from(value: AnalyticsMtdRefMut<'a, T>) -> Self
Converts to this type from the input type.
source§impl<'a, T: AnalyticsMtd> UnsafeFrom<&AnalyticsMtdRef<'a, T>> for GstAnalyticsMtd
impl<'a, T: AnalyticsMtd> UnsafeFrom<&AnalyticsMtdRef<'a, T>> for GstAnalyticsMtd
source§unsafe fn unsafe_from(t: &AnalyticsMtdRef<'a, T>) -> Self
unsafe fn unsafe_from(t: &AnalyticsMtdRef<'a, T>) -> Self
Safety Read more
Auto Trait Implementations§
impl<'a, T> Freeze for AnalyticsMtdRef<'a, T>
impl<'a, T> RefUnwindSafe for AnalyticsMtdRef<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for AnalyticsMtdRef<'a, T>where
T: Sync,
impl<'a, T> Sync for AnalyticsMtdRef<'a, T>where
T: Sync,
impl<'a, T> Unpin for AnalyticsMtdRef<'a, T>
impl<'a, T> UnwindSafe for AnalyticsMtdRef<'a, T>where
T: RefUnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more