Struct assembly_xml::obj::inv::Bag
source · pub struct Bag {
pub ty: u32,
pub max: u32,
}
Expand description
A storage container
(e.g Items, Models, Vault Items, Behaviors)
Fields§
§ty: u32
Type of the bag. See InventoryType
enum for values.
max: u32
Size of the bag i.e. Amount of slots
Trait Implementations§
source§impl<'de> Deserialize<'de> for Bag
impl<'de> Deserialize<'de> for Bag
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
impl Eq for Bag
impl StructuralPartialEq for Bag
Auto Trait Implementations§
impl Freeze for Bag
impl RefUnwindSafe for Bag
impl Send for Bag
impl Sync for Bag
impl Unpin for Bag
impl UnwindSafe for Bag
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