pub enum Order {
Backwards,
Forwards,
}
Variants§
Implementations§
Source§impl Order
impl Order
pub const ALL: [Self; 2]
pub fn move_unit<C>(self, target: C) -> C
pub fn checked_move_unit<C>(self, target: &C) -> Option<C>
pub fn saturating_move_unit<C>(self, target: &C) -> C
pub fn move_by<C>(self, magnitude: C, target: C) -> C
pub fn checked_move_by<C>(self, magnitude: &C, target: &C) -> Option<C>where
C: CheckedAdd + CheckedSub,
pub fn saturating_move_by<C>(self, magnitude: &C, target: &C) -> Cwhere
C: SaturatingAdd + SaturatingSub,
Trait Implementations§
Source§impl Ord for Order
impl Ord for Order
Source§impl PartialOrd for Order
impl PartialOrd for Order
impl Copy for Order
impl Eq for Order
impl StructuralPartialEq for Order
Auto Trait Implementations§
impl Freeze for Order
impl RefUnwindSafe for Order
impl Send for Order
impl Sync for Order
impl Unpin for Order
impl UnwindSafe for Order
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