pub struct StyledValue<'a, T> { /* private fields */ }
Expand description
A value that can be printed using the given styles.
It is the result of calling Style::value
.
Trait Implementations§
Source§impl<'a, T> Binary for StyledValue<'a, T>where
T: Binary,
impl<'a, T> Binary for StyledValue<'a, T>where
T: Binary,
Source§impl<'a, T> Debug for StyledValue<'a, T>where
T: Debug,
impl<'a, T> Debug for StyledValue<'a, T>where
T: Debug,
Source§impl<'a, T> Display for StyledValue<'a, T>where
T: Display,
impl<'a, T> Display for StyledValue<'a, T>where
T: Display,
Source§impl<'a, T> LowerExp for StyledValue<'a, T>where
T: LowerExp,
impl<'a, T> LowerExp for StyledValue<'a, T>where
T: LowerExp,
Source§impl<'a, T> LowerHex for StyledValue<'a, T>where
T: LowerHex,
impl<'a, T> LowerHex for StyledValue<'a, T>where
T: LowerHex,
Source§impl<'a, T> Octal for StyledValue<'a, T>where
T: Octal,
impl<'a, T> Octal for StyledValue<'a, T>where
T: Octal,
Source§impl<'a, T> Pointer for StyledValue<'a, T>where
T: Pointer,
impl<'a, T> Pointer for StyledValue<'a, T>where
T: Pointer,
Source§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> Freeze for StyledValue<'a, T>where
T: Freeze,
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
Source§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
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