pub struct OnCutsceneWaypointReachedEvent {
pub name: &'static str,
pub player_index: u32,
pub tick: u32,
pub waypoint_index: u32,
}Expand description
Called when a cutscene is playing, each time it reaches a waypoint in that cutscene.
This refers to an index in the table previously passed to set_controller which started the cutscene.
Fields§
§name: &'static str§player_index: u32§tick: u32§waypoint_index: u32Trait Implementations§
Source§impl Clone for OnCutsceneWaypointReachedEvent
impl Clone for OnCutsceneWaypointReachedEvent
Source§fn clone(&self) -> OnCutsceneWaypointReachedEvent
fn clone(&self) -> OnCutsceneWaypointReachedEvent
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 OnCutsceneWaypointReachedEvent
Source§impl Default for OnCutsceneWaypointReachedEvent
impl Default for OnCutsceneWaypointReachedEvent
Source§fn default() -> OnCutsceneWaypointReachedEvent
fn default() -> OnCutsceneWaypointReachedEvent
Returns the “default value” for a type. Read more
impl StructuralPartialEq for OnCutsceneWaypointReachedEvent
Auto Trait Implementations§
impl Freeze for OnCutsceneWaypointReachedEvent
impl RefUnwindSafe for OnCutsceneWaypointReachedEvent
impl Send for OnCutsceneWaypointReachedEvent
impl Sync for OnCutsceneWaypointReachedEvent
impl Unpin for OnCutsceneWaypointReachedEvent
impl UnsafeUnpin for OnCutsceneWaypointReachedEvent
impl UnwindSafe for OnCutsceneWaypointReachedEvent
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