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