pub struct OnTrainChangedState;Expand description
Called when a train changes state (started to stopped and vice versa)
Implementations§
Trait Implementations§
Source§impl Clone for OnTrainChangedState
impl Clone for OnTrainChangedState
Source§fn clone(&self) -> OnTrainChangedState
fn clone(&self) -> OnTrainChangedState
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 OnTrainChangedState
Source§impl Debug for OnTrainChangedState
impl Debug for OnTrainChangedState
impl Eq for OnTrainChangedState
Source§impl PartialEq for OnTrainChangedState
impl PartialEq for OnTrainChangedState
impl StructuralPartialEq for OnTrainChangedState
Auto Trait Implementations§
impl Freeze for OnTrainChangedState
impl RefUnwindSafe for OnTrainChangedState
impl Send for OnTrainChangedState
impl Sync for OnTrainChangedState
impl Unpin for OnTrainChangedState
impl UnsafeUnpin for OnTrainChangedState
impl UnwindSafe for OnTrainChangedState
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