pub struct PulseOutput {
pub energy_at_pulse: u64,
pub is_strong: bool,
pub strain_occurred: bool,
}Expand description
Output of a pulse behavior execution.
Fields§
§energy_at_pulse: u64Energy level when pulse was executed
is_strong: boolWhether the pulse was strong enough
strain_occurred: boolWhether strain occurred (contract violation)
Trait Implementations§
Source§impl Debug for PulseOutput
impl Debug for PulseOutput
Source§impl PartialEq for PulseOutput
impl PartialEq for PulseOutput
impl StructuralPartialEq for PulseOutput
Auto Trait Implementations§
impl Freeze for PulseOutput
impl RefUnwindSafe for PulseOutput
impl Send for PulseOutput
impl Sync for PulseOutput
impl Unpin for PulseOutput
impl UnsafeUnpin for PulseOutput
impl UnwindSafe for PulseOutput
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