pub struct BlackoutEvent {
pub is_on: bool,
pub time: u64,
}Expand description
Represents a single dump on/off event.
Fields§
§is_on: booltrue when dumping is enabled, false when disabled.
time: u64Absolute simulation time (after accumulated deltas) associated with the event.
Trait Implementations§
Source§impl Clone for BlackoutEvent
impl Clone for BlackoutEvent
Source§fn clone(&self) -> BlackoutEvent
fn clone(&self) -> BlackoutEvent
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 moreSource§impl Debug for BlackoutEvent
impl Debug for BlackoutEvent
Source§impl PartialEq for BlackoutEvent
impl PartialEq for BlackoutEvent
impl Copy for BlackoutEvent
impl Eq for BlackoutEvent
impl StructuralPartialEq for BlackoutEvent
Auto Trait Implementations§
impl Freeze for BlackoutEvent
impl RefUnwindSafe for BlackoutEvent
impl Send for BlackoutEvent
impl Sync for BlackoutEvent
impl Unpin for BlackoutEvent
impl UnwindSafe for BlackoutEvent
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