Struct nanovg::Alignment [] [src]

pub struct Alignment(_);

Methods

impl Alignment
[src]

[src]

Create a new top-left alignment.

[src]

Set the horizontal alignment to left.

[src]

Set the horizontal alignment to center.

[src]

Set the horizontal alignment to right.

[src]

Set the vertical alignment to top.

[src]

Set the vertical alignment to middle.

[src]

Set the vertical alignment to bottom.

[src]

Set the vertical alignment to baseline.

Trait Implementations

impl Copy for Alignment
[src]

impl Clone for Alignment
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Alignment
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Alignment

impl Sync for Alignment