pub struct OnUndoAppliedEvent {
pub actions: &'static [LuaAny],
pub name: &'static str,
pub player_index: u32,
pub tick: u32,
}Expand description
Called when the player triggers “undo”.
Fields§
§actions: &'static [LuaAny]§name: &'static str§player_index: u32§tick: u32Trait Implementations§
Source§impl Clone for OnUndoAppliedEvent
impl Clone for OnUndoAppliedEvent
Source§fn clone(&self) -> OnUndoAppliedEvent
fn clone(&self) -> OnUndoAppliedEvent
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 OnUndoAppliedEvent
Source§impl Debug for OnUndoAppliedEvent
impl Debug for OnUndoAppliedEvent
Source§impl Default for OnUndoAppliedEvent
impl Default for OnUndoAppliedEvent
Source§fn default() -> OnUndoAppliedEvent
fn default() -> OnUndoAppliedEvent
Returns the “default value” for a type. Read more
Source§impl PartialEq for OnUndoAppliedEvent
impl PartialEq for OnUndoAppliedEvent
impl StructuralPartialEq for OnUndoAppliedEvent
Auto Trait Implementations§
impl Freeze for OnUndoAppliedEvent
impl RefUnwindSafe for OnUndoAppliedEvent
impl Send for OnUndoAppliedEvent
impl Sync for OnUndoAppliedEvent
impl Unpin for OnUndoAppliedEvent
impl UnsafeUnpin for OnUndoAppliedEvent
impl UnwindSafe for OnUndoAppliedEvent
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