Enum piston_window::Flip[]

pub enum Flip {
    None,
    Vertical,
    Horizontal,
    Both,
}

Flip settings.

Variants

Does not flip.

Flips image vertically.

Flips image horizontally.

Flips image both vertically and horizontally.

Trait Implementations

impl Clone for Flip

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Flip

impl Eq for Flip

impl PartialEq<Flip> for Flip

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

This method tests for !=.

Auto Trait Implementations

impl Send for Flip

impl Sync for Flip