Struct base::syslog::fmt::StyledValue
pub struct StyledValue<'a, T> {
style: Cow<'a, Style>,
value: T,
}
Expand description
A value that can be printed using the given styles.
It is the result of calling Style::value
.
Fields§
§style: Cow<'a, Style>
§value: T
Trait Implementations§
§impl<'a, T> Binary for StyledValue<'a, T>where
T: Binary,
impl<'a, T> Binary for StyledValue<'a, T>where T: Binary,
§impl<'a, T> Debug for StyledValue<'a, T>where
T: Debug,
impl<'a, T> Debug for StyledValue<'a, T>where T: Debug,
§impl<'a, T> Display for StyledValue<'a, T>where
T: Display,
impl<'a, T> Display for StyledValue<'a, T>where T: Display,
§impl<'a, T> LowerExp for StyledValue<'a, T>where
T: LowerExp,
impl<'a, T> LowerExp for StyledValue<'a, T>where T: LowerExp,
§impl<'a, T> LowerHex for StyledValue<'a, T>where
T: LowerHex,
impl<'a, T> LowerHex for StyledValue<'a, T>where T: LowerHex,
§impl<'a, T> Octal for StyledValue<'a, T>where
T: Octal,
impl<'a, T> Octal for StyledValue<'a, T>where T: Octal,
§impl<'a, T> Pointer for StyledValue<'a, T>where
T: Pointer,
impl<'a, T> Pointer for StyledValue<'a, T>where T: Pointer,
§impl<'a, T> UpperExp for StyledValue<'a, T>where
T: UpperExp,
impl<'a, T> UpperExp for StyledValue<'a, T>where T: UpperExp,
Auto Trait Implementations§
impl<'a, T> !RefUnwindSafe for StyledValue<'a, T>
impl<'a, T> !Send for StyledValue<'a, T>
impl<'a, T> !Sync for StyledValue<'a, T>
impl<'a, T> Unpin for StyledValue<'a, T>where T: Unpin,
impl<'a, T> !UnwindSafe for StyledValue<'a, T>
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