pub enum EndingKind {
FirstEnding,
SecondEnding,
ThirdEnding,
Custom,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for EndingKind
impl Clone for EndingKind
Source§fn clone(&self) -> EndingKind
fn clone(&self) -> EndingKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EndingKind
impl Debug for EndingKind
Source§impl Display for EndingKind
impl Display for EndingKind
Source§impl FromStr for EndingKind
impl FromStr for EndingKind
Source§impl Hash for EndingKind
impl Hash for EndingKind
Source§impl Ord for EndingKind
impl Ord for EndingKind
Source§fn cmp(&self, other: &EndingKind) -> Ordering
fn cmp(&self, other: &EndingKind) -> Ordering
1.21.0 (const: unstable) · 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 EndingKind
impl PartialEq for EndingKind
Source§fn eq(&self, other: &EndingKind) -> bool
fn eq(&self, other: &EndingKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for EndingKind
impl PartialOrd for EndingKind
impl Copy for EndingKind
impl Eq for EndingKind
impl StructuralPartialEq for EndingKind
Auto Trait Implementations§
impl Freeze for EndingKind
impl RefUnwindSafe for EndingKind
impl Send for EndingKind
impl Sync for EndingKind
impl Unpin for EndingKind
impl UnsafeUnpin for EndingKind
impl UnwindSafe for EndingKind
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