Struct miri::borrow_tracker::tree_borrows::diagnostics::NodeDebugInfo
source · pub struct NodeDebugInfo {
pub tag: BorTag,
pub name: Option<String>,
}Expand description
Some information that is irrelevant for the algorithm but very convenient to know about a tag for debugging and testing.
Fields§
§tag: BorTagThe tag in question.
name: Option<String>Name(s) that were associated with this tag (comma-separated). Typically the name of the variable holding the corresponding pointer in the source code. Helps match tag numbers to human-readable names.
Implementations§
Trait Implementations§
source§impl Clone for NodeDebugInfo
impl Clone for NodeDebugInfo
source§fn clone(&self) -> NodeDebugInfo
fn clone(&self) -> NodeDebugInfo
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 NodeDebugInfo
impl Debug for NodeDebugInfo
Auto Trait Implementations§
impl RefUnwindSafe for NodeDebugInfo
impl Send for NodeDebugInfo
impl Sync for NodeDebugInfo
impl Unpin for NodeDebugInfo
impl UnwindSafe for NodeDebugInfo
Blanket Implementations§
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: 32 bytes