pub struct CraftedStat {
pub kind: u8,
pub max: i32,
}
Expand description
Struct representing an identification stat on a crafted item
Fields§
§kind: u8
id of the identification
max: i32
value of the identification while at full durability
Trait Implementations§
Source§impl Clone for CraftedStat
impl Clone for CraftedStat
Source§fn clone(&self) -> CraftedStat
fn clone(&self) -> CraftedStat
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 CraftedStat
impl Debug for CraftedStat
Source§impl Hash for CraftedStat
impl Hash for CraftedStat
Source§impl PartialEq for CraftedStat
impl PartialEq for CraftedStat
impl Eq for CraftedStat
impl StructuralPartialEq for CraftedStat
Auto Trait Implementations§
impl Freeze for CraftedStat
impl RefUnwindSafe for CraftedStat
impl Send for CraftedStat
impl Sync for CraftedStat
impl Unpin for CraftedStat
impl UnwindSafe for CraftedStat
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