Enum defmt_decoder::Tag [−][src]
pub enum Tag { Prim, Derived, Write, Str, Timestamp, Trace, Debug, Info, Warn, Error, }
This is supported on
unstable
only.Expand description
Specifies the origin of a format string
Variants
Defmt-controlled format string for primitive types.
Format string created by #[derive(Format)]
.
A user-defined format string from a write!
invocation.
An interned string, for use with {=istr}
.
Defines the global timestamp format.
Trait Implementations
impl Eq for Tag
[src]
impl StructuralEq for Tag
[src]
impl StructuralPartialEq for Tag
[src]
Auto Trait Implementations
impl RefUnwindSafe for Tag
impl Send for Tag
impl Sync for Tag
impl Unpin for Tag
impl UnwindSafe for Tag
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
pub fn equivalent(&self, key: &K) -> bool
[src]Compare self to key
and return true
if they are equal.