Enum embedded_graphics_core::text::DecorationColor[][src]

pub enum DecorationColor<C> {
    None,
    TextColor,
    Custom(C),
}

Text decoration color.

Variants

None

No text decoration.

TextColor

Text decoration with the same color as the text.

Custom(C)

Text decoration with a custom color.

Trait Implementations

impl<C: Clone> Clone for DecorationColor<C>[src]

impl<C: Copy> Copy for DecorationColor<C>[src]

impl<C: Debug> Debug for DecorationColor<C>[src]

impl<C: Eq> Eq for DecorationColor<C>[src]

impl<C: Hash> Hash for DecorationColor<C>[src]

impl<C: Ord> Ord for DecorationColor<C>[src]

impl<C: PartialEq> PartialEq<DecorationColor<C>> for DecorationColor<C>[src]

impl<C: PartialOrd> PartialOrd<DecorationColor<C>> for DecorationColor<C>[src]

impl<C> StructuralEq for DecorationColor<C>[src]

impl<C> StructuralPartialEq for DecorationColor<C>[src]

Auto Trait Implementations

impl<C> Send for DecorationColor<C> where
    C: Send
[src]

impl<C> Sync for DecorationColor<C> where
    C: Sync
[src]

impl<C> Unpin for DecorationColor<C> where
    C: Unpin
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Scalar for T where
    T: PartialEq<T> + Copy + Any + Debug
[src]

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,