Struct crossterm::style::Attributes [−][src]
pub struct Attributes(_);
Expand description
a bitset for all possible attributes
Implementations
Sets the attribute. If it’s already set, this does nothing.
Unsets the attribute. If it’s not set, this changes nothing.
Sets the attribute if it’s unset, unset it if it is set.
Sets all the passed attributes. Removes none.
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for Attributes
impl Send for Attributes
impl Sync for Attributes
impl Unpin for Attributes
impl UnwindSafe for Attributes
Blanket Implementations
Mutably borrows from an owned value. Read more