pub struct InventoryWithCustomStackSizeSpecification {
pub stack_size_max: u32,
pub stack_size_min: u32,
pub stack_size_multiplier: f64,
pub stack_size_override: LuaAny,
pub with_bar: bool,
}Fields§
§stack_size_max: u32§stack_size_min: u32§stack_size_multiplier: f64§stack_size_override: LuaAny§with_bar: boolTrait Implementations§
Source§impl Clone for InventoryWithCustomStackSizeSpecification
impl Clone for InventoryWithCustomStackSizeSpecification
Source§fn clone(&self) -> InventoryWithCustomStackSizeSpecification
fn clone(&self) -> InventoryWithCustomStackSizeSpecification
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InventoryWithCustomStackSizeSpecification
Source§impl Default for InventoryWithCustomStackSizeSpecification
impl Default for InventoryWithCustomStackSizeSpecification
Source§fn default() -> InventoryWithCustomStackSizeSpecification
fn default() -> InventoryWithCustomStackSizeSpecification
Returns the “default value” for a type. Read more
impl StructuralPartialEq for InventoryWithCustomStackSizeSpecification
Auto Trait Implementations§
impl Freeze for InventoryWithCustomStackSizeSpecification
impl RefUnwindSafe for InventoryWithCustomStackSizeSpecification
impl Send for InventoryWithCustomStackSizeSpecification
impl Sync for InventoryWithCustomStackSizeSpecification
impl Unpin for InventoryWithCustomStackSizeSpecification
impl UnsafeUnpin for InventoryWithCustomStackSizeSpecification
impl UnwindSafe for InventoryWithCustomStackSizeSpecification
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