pub struct Items { /* private fields */ }Implementations§
Source§impl Items
impl Items
pub fn is_inventory_empty(&self) -> bool
pub fn is_stash_empty(&self) -> bool
pub fn is_teleport_empty(&self) -> bool
pub fn is_neutrals_empty(&self) -> bool
pub fn is_preserved_neutrals_empty(&self) -> bool
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Items
impl<'de> Deserialize<'de> for Items
Source§fn deserialize<D>(deserializer: D) -> Result<Items, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Items, D::Error>where
D: Deserializer<'de>,
Deserialize Items by flattening JSON of ItemContainers. Items can be contained in Inventory, Stash, Teleport slot, or Neutral slot.
Auto Trait Implementations§
impl Freeze for Items
impl RefUnwindSafe for Items
impl Send for Items
impl Sync for Items
impl Unpin for Items
impl UnwindSafe for Items
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