Enum cubing::alg::MovePrefix
source · pub enum MovePrefix {
Layer(MoveLayer),
Range(MoveRange),
}
Variants§
Trait Implementations§
source§impl Clone for MovePrefix
impl Clone for MovePrefix
source§fn clone(&self) -> MovePrefix
fn clone(&self) -> MovePrefix
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 MovePrefix
impl Debug for MovePrefix
source§impl Display for MovePrefix
impl Display for MovePrefix
source§impl From<MoveLayer> for MovePrefix
impl From<MoveLayer> for MovePrefix
source§fn from(layer: MoveLayer) -> MovePrefix
fn from(layer: MoveLayer) -> MovePrefix
Converts to this type from the input type.
source§impl From<MoveRange> for MovePrefix
impl From<MoveRange> for MovePrefix
source§fn from(range: MoveRange) -> MovePrefix
fn from(range: MoveRange) -> MovePrefix
Converts to this type from the input type.
source§impl From<u32> for MovePrefix
impl From<u32> for MovePrefix
source§fn from(layer: u32) -> MovePrefix
fn from(layer: u32) -> MovePrefix
Converts to this type from the input type.
source§impl Hash for MovePrefix
impl Hash for MovePrefix
source§impl PartialEq for MovePrefix
impl PartialEq for MovePrefix
source§fn eq(&self, other: &MovePrefix) -> bool
fn eq(&self, other: &MovePrefix) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for MovePrefix
impl StructuralEq for MovePrefix
impl StructuralPartialEq for MovePrefix
Auto Trait Implementations§
impl RefUnwindSafe for MovePrefix
impl Send for MovePrefix
impl Sync for MovePrefix
impl Unpin for MovePrefix
impl UnwindSafe for MovePrefix
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