pub struct HistoryData {
pub events: Vec<(Option<SpanData>, String)>,
}
Expand description
History formatted for use by src/diagnostics.rs
.
NOTE: needs to be Send
because of a bound on MachineStopType
, hence
the use of SpanData
rather than Span
.
Fields§
§events: Vec<(Option<SpanData>, String)>
Implementations§
Trait Implementations§
Source§impl Clone for HistoryData
impl Clone for HistoryData
Source§fn clone(&self) -> HistoryData
fn clone(&self) -> HistoryData
Returns a copy 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 HistoryData
impl Debug for HistoryData
Source§impl Default for HistoryData
impl Default for HistoryData
Source§fn default() -> HistoryData
fn default() -> HistoryData
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HistoryData
impl RefUnwindSafe for HistoryData
impl Send for HistoryData
impl Sync for HistoryData
impl Unpin for HistoryData
impl UnwindSafe for HistoryData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 24 bytes