pub struct TreeOptions {Show 13 fields
pub cli_features: CliFeatures,
pub packages: Packages,
pub target: Target,
pub edge_kinds: HashSet<EdgeKind>,
pub invert: Vec<String>,
pub pkgs_to_prune: Vec<String>,
pub prefix: Prefix,
pub no_dedupe: bool,
pub duplicates: bool,
pub format: String,
pub graph_features: bool,
pub max_display_depth: u32,
pub no_proc_macro: bool,
}
Fields§
§cli_features: CliFeatures
§packages: Packages
The packages to display the tree for.
target: Target
The platform to filter for.
edge_kinds: HashSet<EdgeKind>
The dependency kinds to display.
invert: Vec<String>
§pkgs_to_prune: Vec<String>
The packages to prune from the display of the dependency tree.
prefix: Prefix
The style of prefix for each line.
no_dedupe: bool
If true
, duplicates will be repeated.
If false
, duplicates will be marked with *
, and their dependencies
won’t be shown.
duplicates: bool
If true
, run in a special mode where it will scan for packages that
appear with different versions, and report if any where found. Implies
invert
.
format: String
A format string indicating how each package should be displayed.
graph_features: bool
Includes features in the tree as separate nodes.
max_display_depth: u32
Maximum display depth of the dependency tree.
no_proc_macro: bool
Excludes proc-macro dependencies.
Auto Trait Implementations§
impl Freeze for TreeOptions
impl RefUnwindSafe for TreeOptions
impl !Send for TreeOptions
impl !Sync for TreeOptions
impl Unpin for TreeOptions
impl UnwindSafe for TreeOptions
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
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: 208 bytes