pub struct OnScriptInventoryResizedEvent {
pub inventory: LuaInventory,
pub mod: &'static str,
pub name: &'static str,
pub new_size: u32,
pub old_size: u32,
pub overflow_inventory: LuaInventory,
pub player_index: u32,
pub tick: u32,
}Expand description
Called just after a script inventory is resized.
Fields§
§inventory: LuaInventory§mod: &'static str§name: &'static str§new_size: u32§old_size: u32§overflow_inventory: LuaInventory§player_index: u32§tick: u32Trait Implementations§
Source§impl Clone for OnScriptInventoryResizedEvent
impl Clone for OnScriptInventoryResizedEvent
Source§fn clone(&self) -> OnScriptInventoryResizedEvent
fn clone(&self) -> OnScriptInventoryResizedEvent
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 OnScriptInventoryResizedEvent
Source§impl Default for OnScriptInventoryResizedEvent
impl Default for OnScriptInventoryResizedEvent
Source§fn default() -> OnScriptInventoryResizedEvent
fn default() -> OnScriptInventoryResizedEvent
Returns the “default value” for a type. Read more
impl StructuralPartialEq for OnScriptInventoryResizedEvent
Auto Trait Implementations§
impl Freeze for OnScriptInventoryResizedEvent
impl RefUnwindSafe for OnScriptInventoryResizedEvent
impl Send for OnScriptInventoryResizedEvent
impl Sync for OnScriptInventoryResizedEvent
impl Unpin for OnScriptInventoryResizedEvent
impl UnsafeUnpin for OnScriptInventoryResizedEvent
impl UnwindSafe for OnScriptInventoryResizedEvent
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