pub struct SimulationEvent {
pub time: f64,
pub change: f64,
}Fields§
§time: f64§change: f64Implementations§
Trait Implementations§
Source§impl Clone for SimulationEvent
impl Clone for SimulationEvent
Source§fn clone(&self) -> SimulationEvent
fn clone(&self) -> SimulationEvent
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 moreSource§impl Debug for SimulationEvent
impl Debug for SimulationEvent
Source§impl PartialEq for SimulationEvent
impl PartialEq for SimulationEvent
Source§fn eq(&self, other: &SimulationEvent) -> bool
fn eq(&self, other: &SimulationEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SimulationEvent
impl StructuralPartialEq for SimulationEvent
Auto Trait Implementations§
impl Freeze for SimulationEvent
impl RefUnwindSafe for SimulationEvent
impl Send for SimulationEvent
impl Sync for SimulationEvent
impl Unpin for SimulationEvent
impl UnsafeUnpin for SimulationEvent
impl UnwindSafe for SimulationEvent
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