Enum simple_blit::BlitOptions
source · pub enum BlitOptions {
None,
FlipHorizontal,
FlipVertical,
FlipBoth,
}
Expand description
Any special options that can be applied.
Variants§
None
No special options.
FlipHorizontal
Flip the result horizontally.
FlipVertical
Flip the result vertically.
FlipBoth
Flip the result horizontally and vertically.
Trait Implementations§
source§impl Clone for BlitOptions
impl Clone for BlitOptions
source§fn clone(&self) -> BlitOptions
fn clone(&self) -> BlitOptions
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 BlitOptions
impl Debug for BlitOptions
source§impl Default for BlitOptions
impl Default for BlitOptions
source§fn default() -> BlitOptions
fn default() -> BlitOptions
Returns the “default value” for a type. Read more
source§impl PartialEq for BlitOptions
impl PartialEq for BlitOptions
source§fn eq(&self, other: &BlitOptions) -> bool
fn eq(&self, other: &BlitOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BlitOptions
impl Eq for BlitOptions
impl StructuralEq for BlitOptions
impl StructuralPartialEq for BlitOptions
Auto Trait Implementations§
impl RefUnwindSafe for BlitOptions
impl Send for BlitOptions
impl Sync for BlitOptions
impl Unpin for BlitOptions
impl UnwindSafe for BlitOptions
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more