pub struct OnPlayerSetQuickBarSlotEvent {
pub name: &'static str,
pub player_index: u32,
pub tick: u32,
}Expand description
Called when a player sets a quickbar slot to anything (new value, or set to empty).
Fields§
§name: &'static str§player_index: u32§tick: u32Trait Implementations§
Source§impl Clone for OnPlayerSetQuickBarSlotEvent
impl Clone for OnPlayerSetQuickBarSlotEvent
Source§fn clone(&self) -> OnPlayerSetQuickBarSlotEvent
fn clone(&self) -> OnPlayerSetQuickBarSlotEvent
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 OnPlayerSetQuickBarSlotEvent
Source§impl Debug for OnPlayerSetQuickBarSlotEvent
impl Debug for OnPlayerSetQuickBarSlotEvent
Source§impl Default for OnPlayerSetQuickBarSlotEvent
impl Default for OnPlayerSetQuickBarSlotEvent
Source§fn default() -> OnPlayerSetQuickBarSlotEvent
fn default() -> OnPlayerSetQuickBarSlotEvent
Returns the “default value” for a type. Read more
impl StructuralPartialEq for OnPlayerSetQuickBarSlotEvent
Auto Trait Implementations§
impl Freeze for OnPlayerSetQuickBarSlotEvent
impl RefUnwindSafe for OnPlayerSetQuickBarSlotEvent
impl Send for OnPlayerSetQuickBarSlotEvent
impl Sync for OnPlayerSetQuickBarSlotEvent
impl Unpin for OnPlayerSetQuickBarSlotEvent
impl UnsafeUnpin for OnPlayerSetQuickBarSlotEvent
impl UnwindSafe for OnPlayerSetQuickBarSlotEvent
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