pub enum ShapeVersion {
Shape1,
Shape2,
Shape3,
Shape4,
}
Variants§
Trait Implementations§
Source§impl Clone for ShapeVersion
impl Clone for ShapeVersion
Source§fn clone(&self) -> ShapeVersion
fn clone(&self) -> ShapeVersion
Returns a duplicate 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 ShapeVersion
impl Debug for ShapeVersion
Source§impl Hash for ShapeVersion
impl Hash for ShapeVersion
Source§impl Ord for ShapeVersion
impl Ord for ShapeVersion
Source§fn cmp(&self, other: &ShapeVersion) -> Ordering
fn cmp(&self, other: &ShapeVersion) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ShapeVersion
impl PartialEq for ShapeVersion
Source§impl PartialOrd for ShapeVersion
impl PartialOrd for ShapeVersion
impl Copy for ShapeVersion
impl Eq for ShapeVersion
impl StructuralPartialEq for ShapeVersion
Auto Trait Implementations§
impl Freeze for ShapeVersion
impl RefUnwindSafe for ShapeVersion
impl Send for ShapeVersion
impl Sync for ShapeVersion
impl Unpin for ShapeVersion
impl UnwindSafe for ShapeVersion
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