pub enum RollType {
Value(u8),
PreIdentified,
}
Expand description
Enum representing the possible rolls of an Stat
Variants§
Value(u8)
The identification has a roll between 0% and 255% of the base value.
PreIdentified
The roll of the identification is fixed meaning its final value will be the base.
Implementations§
Trait Implementations§
impl Copy for RollType
impl Eq for RollType
impl StructuralPartialEq for RollType
Auto Trait Implementations§
impl Freeze for RollType
impl RefUnwindSafe for RollType
impl Send for RollType
impl Sync for RollType
impl Unpin for RollType
impl UnwindSafe for RollType
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