#[non_exhaustive]pub struct BacktraceGraph {
pub nodes: Vec<Node>,
pub commands: Vec<String>,
pub files: Vec<PathBuf>,
}
Expand description
The backtraceGraph member of a “codemodel” version 2 “directory” object, or “codemodel” version 2 “target” object. Describes a graph of backtraces. Its nodes are referenced from backtrace members elsewhere in the containing object.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.nodes: Vec<Node>
Backtrace nodes.
commands: Vec<String>
Command names referenced by backtrace nodes. Each entry is a string specifying a command name.
files: Vec<PathBuf>
CMake’s language files referenced by backtrace nodes Each entry is a path to a file, represented with forward slashes. If the file is inside the top-level source directory then the path is specified relative to that directory. Otherwise, the path is absolute.
Trait Implementations§
Source§impl Clone for BacktraceGraph
impl Clone for BacktraceGraph
Source§fn clone(&self) -> BacktraceGraph
fn clone(&self) -> BacktraceGraph
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 BacktraceGraph
impl Debug for BacktraceGraph
Source§impl Default for BacktraceGraph
impl Default for BacktraceGraph
Source§fn default() -> BacktraceGraph
fn default() -> BacktraceGraph
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BacktraceGraph
impl<'de> Deserialize<'de> for BacktraceGraph
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BacktraceGraph
impl PartialEq for BacktraceGraph
Source§impl Serialize for BacktraceGraph
impl Serialize for BacktraceGraph
impl StructuralPartialEq for BacktraceGraph
Auto Trait Implementations§
impl Freeze for BacktraceGraph
impl RefUnwindSafe for BacktraceGraph
impl Send for BacktraceGraph
impl Sync for BacktraceGraph
impl Unpin for BacktraceGraph
impl UnwindSafe for BacktraceGraph
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