pub struct Mon {
pub kind: MonKind,
pub color: Color,
pub cooldown: i32,
}
Fields§
§kind: MonKind
§color: Color
§cooldown: i32
Implementations§
Trait Implementations§
impl Copy for Mon
impl Eq for Mon
impl StructuralPartialEq for Mon
Auto Trait Implementations§
impl Freeze for Mon
impl RefUnwindSafe for Mon
impl Send for Mon
impl Sync for Mon
impl Unpin for Mon
impl UnwindSafe for Mon
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