pub struct OnTrainCreated;Expand description
Called when a new train is created either through disconnecting/connecting an existing one or building a new one.
Implementations§
Trait Implementations§
Source§impl Clone for OnTrainCreated
impl Clone for OnTrainCreated
Source§fn clone(&self) -> OnTrainCreated
fn clone(&self) -> OnTrainCreated
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 OnTrainCreated
Source§impl Debug for OnTrainCreated
impl Debug for OnTrainCreated
impl Eq for OnTrainCreated
Source§impl PartialEq for OnTrainCreated
impl PartialEq for OnTrainCreated
impl StructuralPartialEq for OnTrainCreated
Auto Trait Implementations§
impl Freeze for OnTrainCreated
impl RefUnwindSafe for OnTrainCreated
impl Send for OnTrainCreated
impl Sync for OnTrainCreated
impl Unpin for OnTrainCreated
impl UnsafeUnpin for OnTrainCreated
impl UnwindSafe for OnTrainCreated
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