pub enum Weight {
Normal,
Bold,
Thin,
}Expand description
Font weight
NOTE: Some terminals may treat this as intensity, altering the color rather than font weight.
Variants§
Normal
Normal weight (or intensity)
Bold
Bold weight (or increased intensity)
Thin
Thin weight (or faint / dim / decreased intensity)
Trait Implementations§
impl Copy for Weight
impl StructuralPartialEq for Weight
Auto Trait Implementations§
impl Freeze for Weight
impl RefUnwindSafe for Weight
impl Send for Weight
impl Sync for Weight
impl Unpin for Weight
impl UnwindSafe for Weight
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