Enum gfx_text::VerticalAnchor [] [src]

pub enum VerticalAnchor {
    Top,
    Center,
    Bottom,
}

An anchor aligns text vertically to its given y position.

Variants

Top

Anchor the top edge of the text

Center

Anchor the vertical mid-point of the text

Bottom

Anchor the bottom edge of the text

Trait Implementations

impl PartialEq for VerticalAnchor
[src]

fn eq(&self, __arg_0: &VerticalAnchor) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.