Enum pix_engine::transform::Flipped
source · [−]pub enum Flipped {
None,
Horizontal,
Vertical,
Both,
}Expand description
Enum representing which direction to flip during drawing.
Variants
None
No flip direction.
Horizontal
Flip in the horizontal (left/right) direction.
Vertical
Flip in the vertical (up/down) direction.
Both
Flip in both the horizontal and vertical directions.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Flipped
impl UnwindSafe for Flipped
Blanket Implementations
Mutably borrows from an owned value. Read more