pub enum ChanceKind {
Set,
Derived,
}Variants§
Set
This chance value was set by the user
Derived
This chance value was derived based on the value
that was left over after considering all the ChanceKind::Set chance values.
Trait Implementations§
Source§impl Clone for ChanceKind
impl Clone for ChanceKind
Source§fn clone(&self) -> ChanceKind
fn clone(&self) -> ChanceKind
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 ChanceKind
impl Debug for ChanceKind
impl Copy for ChanceKind
Auto Trait Implementations§
impl Freeze for ChanceKind
impl RefUnwindSafe for ChanceKind
impl Send for ChanceKind
impl Sync for ChanceKind
impl Unpin for ChanceKind
impl UnwindSafe for ChanceKind
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