[][src]Enum msoffice_shared::drawingml::TextUnderlineType

pub enum TextUnderlineType {
    None,
    Words,
    Single,
    Double,
    Heavy,
    Dotted,
    DottedHeavy,
    Dash,
    DashHeavy,
    DashLong,
    DashLongHeavy,
    DotDash,
    DotDashHeavy,
    DotDotDash,
    DotDotDashHeavy,
    Wavy,
    WavyHeavy,
    WavyDouble,
}

This simple type specifies the text underline types that is used.

Variants

None

The reason we cannot implicitly have noUnderline be the scenario where underline is not specified is because not being specified implies deriving from a particular style and the user might want to override that and make some text not be underlined even though the style says otherwise.

Words

Underline just the words and not the spaces between them.

Single

Underline the text with a single line of normal thickness.

Double

Underline the text with two lines of normal thickness.

Heavy

Underline the text with a single, thick line.

Dotted

Underline the text with a single, dotted line of normal thickness.

DottedHeavy

Underline the text with a single, thick, dotted line.

Dash

Underline the text with a single, dashed line of normal thickness.

DashHeavy

Underline the text with a single, dashed, thick line.

DashLong

Underline the text with a single line consisting of long dashes of normal thickness.

DashLongHeavy

Underline the text with a single line consisting of long, thick dashes.

DotDash

Underline the text with a single line of normal thickness consisting of repeating dots and dashes.

DotDashHeavy

Underline the text with a single, thick line consisting of repeating dots and dashes.

DotDotDash

Underline the text with a single line of normal thickness consisting of repeating two dots and dashes.

DotDotDashHeavy

Underline the text with a single, thick line consisting of repeating two dots and dashes.

Wavy

Underline the text with a single wavy line of normal thickness.

WavyHeavy

Underline the text with a single, thick wavy line.

WavyDouble

Underline just the words and not the spaces between them.

Trait Implementations

impl Clone for TextUnderlineType[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Copy for TextUnderlineType[src]

impl Debug for TextUnderlineType[src]

impl FromStr for TextUnderlineType[src]

type Err = ParseEnumVariantError

The associated error which can be returned from parsing.

Auto Trait Implementations

Blanket Implementations

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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