pub struct Fg<C: Color>(pub C);
Expand description
A foreground color.
Tuple Fields§
§0: C
Trait Implementations§
impl<C: Copy + Color> Copy for Fg<C>
Auto Trait Implementations§
impl<C> RefUnwindSafe for Fg<C>where
C: RefUnwindSafe,
impl<C> Send for Fg<C>where
C: Send,
impl<C> Sync for Fg<C>where
C: Sync,
impl<C> Unpin for Fg<C>where
C: Unpin,
impl<C> UnwindSafe for Fg<C>where
C: UnwindSafe,
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