Enum gfx_graphics::Flip
source · pub enum Flip {
None,
Vertical,
Horizontal,
Both,
}
Expand description
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 Copy for Flip
impl Eq for Flip
impl StructuralEq for Flip
impl StructuralPartialEq for Flip
Auto Trait Implementations
impl RefUnwindSafe for Flip
impl Send for Flip
impl Sync for Flip
impl Unpin for Flip
impl UnwindSafe for Flip
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
Sets
value
as a parameter of self
.