pub struct OnChartTagModifiedEvent {
pub force: LuaForce,
pub name: &'static str,
pub old_icon: SignalID,
pub old_player_index: u32,
pub old_position: MapPosition,
pub old_surface: LuaSurface,
pub old_text: &'static str,
pub player_index: u32,
pub tag: LuaCustomChartTag,
pub tick: u32,
}Expand description
Called when a chart tag is modified by a player or by script.
Fields§
§force: LuaForce§name: &'static str§old_icon: SignalID§old_player_index: u32§old_position: MapPosition§old_surface: LuaSurface§old_text: &'static str§player_index: u32§tag: LuaCustomChartTag§tick: u32Trait Implementations§
Source§impl Clone for OnChartTagModifiedEvent
impl Clone for OnChartTagModifiedEvent
Source§fn clone(&self) -> OnChartTagModifiedEvent
fn clone(&self) -> OnChartTagModifiedEvent
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 OnChartTagModifiedEvent
Source§impl Debug for OnChartTagModifiedEvent
impl Debug for OnChartTagModifiedEvent
Source§impl Default for OnChartTagModifiedEvent
impl Default for OnChartTagModifiedEvent
Source§fn default() -> OnChartTagModifiedEvent
fn default() -> OnChartTagModifiedEvent
Returns the “default value” for a type. Read more
Source§impl PartialEq for OnChartTagModifiedEvent
impl PartialEq for OnChartTagModifiedEvent
impl StructuralPartialEq for OnChartTagModifiedEvent
Auto Trait Implementations§
impl Freeze for OnChartTagModifiedEvent
impl RefUnwindSafe for OnChartTagModifiedEvent
impl Send for OnChartTagModifiedEvent
impl Sync for OnChartTagModifiedEvent
impl Unpin for OnChartTagModifiedEvent
impl UnsafeUnpin for OnChartTagModifiedEvent
impl UnwindSafe for OnChartTagModifiedEvent
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