Enum piston_window::Flip [−]
pub enum Flip { None, Vertical, Horizontal, Both, }
Flip settings.
Variants
None
Does not flip.
Vertical
Flips image vertically.
Horizontal
Flips image horizontally.
Both
Flips image both vertically and horizontally.
Trait Implementations
impl Hash for Flip
impl Hash for Flip
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Clone for Flip
impl Clone for Flip
fn clone(&self) -> Flip
fn clone(&self) -> Flip
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Flip
impl Debug for Flip
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Copy for Flip
impl Copy for Flip
impl Eq for Flip
impl Eq for Flip
impl PartialEq<Flip> for Flip
impl PartialEq<Flip> for Flip