pub struct Potion {
pub id: usize,
pub name: String,
pub value: u32,
}
Fields§
§id: usize
§name: String
§value: u32
Trait Implementations§
impl Item for Potion
impl Send for Potion
impl Sync for Potion
Auto Trait Implementations§
impl Freeze for Potion
impl RefUnwindSafe for Potion
impl Unpin for Potion
impl UnwindSafe for Potion
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