Enum cargo::ops::tree::Node [−][src]
pub enum Node { Package { package_id: PackageId, features: Vec<InternedString>, kind: CompileKind, }, Feature { node_index: usize, name: InternedString, }, }
Variants
Show fields
Fields of Package
package_id: PackageId
features: Vec<InternedString>
Features that are enabled on this package.
kind: CompileKind
Show fields
Fields of Feature
node_index: usize
Index of the package node this feature is for.
name: InternedString
Name of the feature.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Node
impl UnwindSafe for Node
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V