pub struct TreeOptions {Show 13 fields
pub features: Vec<String>,
pub no_default_features: bool,
pub all_features: bool,
pub packages: Packages,
pub target: Target,
pub edge_kinds: HashSet<EdgeKind>,
pub invert: Vec<String>,
pub prefix: Prefix,
pub no_dedupe: bool,
pub duplicates: bool,
pub charset: Charset,
pub format: String,
pub graph_features: bool,
}
Fields
features: Vec<String>
no_default_features: bool
all_features: bool
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>
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
.
charset: Charset
The style of characters to use.
format: String
A format string indicating how each package should be displayed.
graph_features: bool
Includes features in the tree as separate nodes.
Auto Trait Implementations
impl RefUnwindSafe for TreeOptions
impl Send for TreeOptions
impl Sync for TreeOptions
impl Unpin for TreeOptions
impl UnwindSafe for TreeOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more