Struct Trace Format
Source pub struct TraceFormat(/* private fields */);Implementations§
Source§impl TraceFormat
impl TraceFormat
Sourcepub fn as_ptr_id(&self) -> usize
pub fn as_ptr_id(&self) -> usize
Stable opaque pointer identity, suitable as a hash-map key while the
format lives (it is valid until gst_deinit()).
pub fn name(&self) -> &str
pub fn description(&self) -> Option<&str>
pub fn n_fields(&self) -> usize
Sourcepub fn fields(&self) -> impl ExactSizeIterator<Item = TraceFormatField<'_>> + '_
pub fn fields(&self) -> impl ExactSizeIterator<Item = TraceFormatField<'_>> + '_
Iterate over the format’s declared fields.
Trait Implementations§
Source§impl Clone for TraceFormat
impl Clone for TraceFormat
impl Copy for TraceFormat
Source§impl Debug for TraceFormat
Available on crate feature v1_30 only.
impl Debug for TraceFormat
Available on crate feature
v1_30 only.impl Send for TraceFormat
Available on crate feature
v1_30 only.impl Sync for TraceFormat
Available on crate feature
v1_30 only.Auto Trait Implementations§
impl Forget for TraceFormat
impl Freeze for TraceFormat
impl Move for TraceFormat
impl RefUnwindSafe for TraceFormat
impl Unpin for TraceFormat
impl UnsafeUnpin for TraceFormat
impl UnwindSafe for TraceFormat
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§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