pub enum AxisReflection2 {
AcrossX,
AcrossY,
ThroughOrigin,
}Expand description
Axis-aligned 2D reflection choices.
Variants§
AcrossX
Reflect across the x axis.
AcrossY
Reflect across the y axis.
ThroughOrigin
Reflect through the origin.
Implementations§
Trait Implementations§
Source§impl Clone for AxisReflection2
impl Clone for AxisReflection2
Source§fn clone(&self) -> AxisReflection2
fn clone(&self) -> AxisReflection2
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AxisReflection2
impl Debug for AxisReflection2
Source§impl PartialEq for AxisReflection2
impl PartialEq for AxisReflection2
Source§fn eq(&self, other: &AxisReflection2) -> bool
fn eq(&self, other: &AxisReflection2) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AxisReflection2
impl Eq for AxisReflection2
impl StructuralPartialEq for AxisReflection2
Auto Trait Implementations§
impl Freeze for AxisReflection2
impl RefUnwindSafe for AxisReflection2
impl Send for AxisReflection2
impl Sync for AxisReflection2
impl Unpin for AxisReflection2
impl UnsafeUnpin for AxisReflection2
impl UnwindSafe for AxisReflection2
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