Struct nanovg::Alignment[][src]

pub struct Alignment(_);

Methods

impl Alignment
[src]

Create a new top-left alignment.

Set the horizontal alignment to left.

Set the horizontal alignment to center.

Set the horizontal alignment to right.

Set the vertical alignment to top.

Set the vertical alignment to middle.

Set the vertical alignment to bottom.

Set the vertical alignment to baseline.

Trait Implementations

impl Copy for Alignment
[src]

impl Clone for Alignment
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Alignment
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Alignment

impl Sync for Alignment