pub enum Direction2d {
X,
Y,
}Expand description
Represents the direction in a 2D plane.
Variants§
Trait Implementations§
Source§impl Debug for Direction2d
impl Debug for Direction2d
Source§impl PartialEq for Direction2d
impl PartialEq for Direction2d
impl Eq for Direction2d
impl StructuralPartialEq for Direction2d
Auto Trait Implementations§
impl Freeze for Direction2d
impl RefUnwindSafe for Direction2d
impl Send for Direction2d
impl Sync for Direction2d
impl Unpin for Direction2d
impl UnwindSafe for Direction2d
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