#[repr(u16)]
pub enum Intensity {
Normal,
Bold,
Half,
}
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
Normal
Bold
Half
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Intensity
impl<'de> Deserialize<'de> for Intensity
sourcefn 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
sourceimpl FromDynamic for Intensity
impl FromDynamic for Intensity
fn from_dynamic(
value: &Value,
options: FromDynamicOptions
) -> Result<Self, Error>
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more