Struct miri::borrow_tracker::tree_borrows::diagnostics::HistoryData
source · 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 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
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