#[repr(u8)]pub enum Intensity {
Normal = 0,
Bold = 1,
Half = 2,
}
Expand description
The Intensity
of a cell describes its boldness. Most terminals
implement Intensity::Bold
by either using a bold font or by simply
using an alternative color. Some terminals implement Intensity::Half
as a dimmer color variant.
Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Intensity
impl<'de> Deserialize<'de> for Intensity
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromDynamic for Intensity
impl FromDynamic for Intensity
fn from_dynamic( value: &Value, options: FromDynamicOptions ) -> Result<Self, Error>
source§impl PartialEq for Intensity
impl PartialEq for Intensity
impl Copy for Intensity
impl Eq for Intensity
impl StructuralEq for Intensity
impl StructuralPartialEq for Intensity
Auto Trait Implementations§
impl RefUnwindSafe for Intensity
impl Send for Intensity
impl Sync for Intensity
impl Unpin for Intensity
impl UnwindSafe for Intensity
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