Struct SimulationEvent
pub struct SimulationEvent {
pub time: f64,
pub change: f64,
}Fields§
§time: f64§change: f64Implementations§
§impl SimulationEvent
impl SimulationEvent
pub fn new(time: f64, change: f64) -> Option<SimulationEvent>
Trait Implementations§
§impl Clone for SimulationEvent
impl Clone for SimulationEvent
§fn clone(&self) -> SimulationEvent
fn clone(&self) -> SimulationEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for SimulationEvent
impl Debug for SimulationEvent
§impl PartialEq for SimulationEvent
impl PartialEq for SimulationEvent
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