[−][src]Enum terminal::Attribute
Variants
Resets all the attributes.
Increases the text intensity.
Decreases the text intensity.
Emphasises the text.
Turns off the Italic
attribute.
Underlines the text.
Turns off the Underlined
attribute.
Makes the text blinking (< 150 per minute).
Makes the text blinking (>= 150 per minute).
Turns off the text blinking (SlowBlink
or RapidBlink
).
Crosses the text.
Turns off the CrossedOut
attribute.
Swaps foreground and background colors.
Turns off the Reverse
attribute.
Hides the text (also known as hidden).
Turns off the Hidden
attribute.
Sets the Fraktur typeface.
Mostly used for mathematical alphanumeric symbols.
Turns off the Bold
attribute.
Switches the text back to normal intensity (no bold, italic).
Makes the text framed.
Trait Implementations
impl Clone for Attribute
[src]
impl Copy for Attribute
[src]
impl Debug for Attribute
[src]
impl Eq for Attribute
[src]
impl From<Attribute> for Attribute
[src]
impl From<Attribute> for String
[src]
impl Hash for Attribute
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for Attribute
[src]
fn cmp(&self, other: &Attribute) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<Attribute> for Attribute
[src]
impl PartialOrd<Attribute> for Attribute
[src]
fn partial_cmp(&self, other: &Attribute) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for Attribute
[src]
impl StructuralPartialEq for Attribute
[src]
Auto Trait Implementations
impl RefUnwindSafe for Attribute
impl Send for Attribute
impl Sync for Attribute
impl Unpin for Attribute
impl UnwindSafe for Attribute
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,