Enum wfc::orientation::Orientation
source · #[repr(u8)]
pub enum Orientation {
Original,
Clockwise90,
Clockwise180,
Clockwise270,
DiagonallyFlipped,
DiagonallyFlippedClockwise90,
DiagonallyFlippedClockwise180,
DiagonallyFlippedClockwise270,
}
Variants§
Original
##. … …
Clockwise90
..# ..# …
Clockwise180
… … .##
Clockwise270
… #.. #..
DiagonallyFlipped
#.. #.. …
DiagonallyFlippedClockwise90
.## … …
DiagonallyFlippedClockwise180
… ..# ..#
DiagonallyFlippedClockwise270
… … ##.
Trait Implementations§
source§impl Clone for Orientation
impl Clone for Orientation
source§fn clone(&self) -> Orientation
fn clone(&self) -> Orientation
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Orientation
impl Debug for Orientation
source§impl Hash for Orientation
impl Hash for Orientation
source§impl Ord for Orientation
impl Ord for Orientation
source§fn cmp(&self, other: &Orientation) -> Ordering
fn cmp(&self, other: &Orientation) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<Orientation> for Orientation
impl PartialEq<Orientation> for Orientation
source§fn eq(&self, other: &Orientation) -> bool
fn eq(&self, other: &Orientation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<Orientation> for Orientation
impl PartialOrd<Orientation> for Orientation
source§fn partial_cmp(&self, other: &Orientation) -> Option<Ordering>
fn partial_cmp(&self, other: &Orientation) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more