pub struct UserAmmoType {
pub name: TornItemAmmoTypeEnum,
pub quantity: i32,
pub equipped: bool,
}Fields§
§name: TornItemAmmoTypeEnum§quantity: i32§equipped: boolTrait Implementations§
Source§impl Clone for UserAmmoType
impl Clone for UserAmmoType
Source§fn clone(&self) -> UserAmmoType
fn clone(&self) -> UserAmmoType
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 UserAmmoType
impl Debug for UserAmmoType
Source§impl<'de> Deserialize<'de> for UserAmmoType
impl<'de> Deserialize<'de> for UserAmmoType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for UserAmmoType
impl PartialEq for UserAmmoType
impl StructuralPartialEq for UserAmmoType
Auto Trait Implementations§
impl Freeze for UserAmmoType
impl RefUnwindSafe for UserAmmoType
impl Send for UserAmmoType
impl Sync for UserAmmoType
impl Unpin for UserAmmoType
impl UnwindSafe for UserAmmoType
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