pub struct ForegroundStyle;Expand description
.foreground_style on ShapeStyle.
Trait Implementations§
Source§impl Clone for ForegroundStyle
impl Clone for ForegroundStyle
impl Copy for ForegroundStyle
Source§impl Debug for ForegroundStyle
impl Debug for ForegroundStyle
impl Eq for ForegroundStyle
Source§impl From<ForegroundStyle> for ShapeStyle
impl From<ForegroundStyle> for ShapeStyle
Source§fn from(_: ForegroundStyle) -> Self
fn from(_: ForegroundStyle) -> Self
Converts to this type from the input type.
Source§impl From<ForegroundStyle> for Option<ShapeStyle>
impl From<ForegroundStyle> for Option<ShapeStyle>
Source§fn from(_: ForegroundStyle) -> Self
fn from(_: ForegroundStyle) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ForegroundStyle
impl PartialEq for ForegroundStyle
impl StructuralPartialEq for ForegroundStyle
Auto Trait Implementations§
impl Freeze for ForegroundStyle
impl RefUnwindSafe for ForegroundStyle
impl Send for ForegroundStyle
impl Sync for ForegroundStyle
impl Unpin for ForegroundStyle
impl UnsafeUnpin for ForegroundStyle
impl UnwindSafe for ForegroundStyle
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