pub struct DiceType {
pub n_dice: i32,
pub die_type: i32,
pub bonus: i32,
}
Fields§
§n_dice: i32
§die_type: i32
§bonus: i32
Implementations§
Trait Implementations§
impl Copy for DiceType
impl Eq for DiceType
impl StructuralPartialEq for DiceType
Auto Trait Implementations§
impl Freeze for DiceType
impl RefUnwindSafe for DiceType
impl Send for DiceType
impl Sync for DiceType
impl Unpin for DiceType
impl UnwindSafe for DiceType
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