Enum femtovg::Baseline[][src]

pub enum Baseline {
    Top,
    Middle,
    Alphabetic,
    Bottom,
}

Text baseline vertical alignment: Top, Middle, Alphabetic (default), Bottom.

Variants

Top

The text baseline is the top of the em square.

Middle

The text baseline is the middle of the em square.

Alphabetic

The text baseline is the normal alphabetic baseline. Default value.

Bottom

Trait Implementations

impl Clone for Baseline[src]

impl Copy for Baseline[src]

impl Debug for Baseline[src]

impl Default for Baseline[src]

impl Eq for Baseline[src]

impl Hash for Baseline[src]

impl PartialEq<Baseline> for Baseline[src]

impl StructuralEq for Baseline[src]

impl StructuralPartialEq for Baseline[src]

Auto Trait Implementations

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> 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.