Struct pointprocesses::event::Event [−][src]
pub struct Event {
pub timestamp: f64,
// some fields omitted
}Model for events appearing along the process.
Fields
timestamp: f64
Methods
impl Event[src]
impl Eventpub fn new(timestamp: f64) -> Event[src]
pub fn new(timestamp: f64) -> Eventpub fn add_intensity(&mut self, intensity: f64)[src]
pub fn add_intensity(&mut self, intensity: f64)pub fn add_child(&mut self, par: Event)[src]
pub fn add_child(&mut self, par: Event)pub fn intensity(&self) -> Result<f64, String>[src]
pub fn intensity(&self) -> Result<f64, String>Trait Implementations
impl Clone for Event[src]
impl Clone for Eventfn clone(&self) -> Event[src]
fn clone(&self) -> EventReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for Event[src]
impl Debug for Eventfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Display for Event[src]
impl Display for Event