Enum modalkit::prelude::MoveTerminus
source · pub enum MoveTerminus {
Beginning,
End,
}
Expand description
Represents the two sides of a range that has no meaningful middle.
Variants§
Trait Implementations§
source§impl Clone for MoveTerminus
impl Clone for MoveTerminus
source§fn clone(&self) -> MoveTerminus
fn clone(&self) -> MoveTerminus
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 MoveTerminus
impl Debug for MoveTerminus
source§impl PartialEq for MoveTerminus
impl PartialEq for MoveTerminus
source§fn eq(&self, other: &MoveTerminus) -> bool
fn eq(&self, other: &MoveTerminus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MoveTerminus
impl Eq for MoveTerminus
impl StructuralPartialEq for MoveTerminus
Auto Trait Implementations§
impl Freeze for MoveTerminus
impl RefUnwindSafe for MoveTerminus
impl Send for MoveTerminus
impl Sync for MoveTerminus
impl Unpin for MoveTerminus
impl UnwindSafe for MoveTerminus
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