pub struct ResolvedGraph {
pub crates: BTreeSet<ResolvedCrate>,
pub roots: Vec<ResolvedCrate>,
}Expand description
The full resolved dependency graph: all crates needed to satisfy depends.toml.
Fields§
§crates: BTreeSet<ResolvedCrate>All resolved crates, deduplicated by (name, version).
roots: Vec<ResolvedCrate>Direct dependencies as declared in depends.toml.
Implementations§
Trait Implementations§
Source§impl Clone for ResolvedGraph
impl Clone for ResolvedGraph
Source§fn clone(&self) -> ResolvedGraph
fn clone(&self) -> ResolvedGraph
Returns a duplicate 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 ResolvedGraph
impl Debug for ResolvedGraph
Source§impl<'de> Deserialize<'de> for ResolvedGraph
impl<'de> Deserialize<'de> for ResolvedGraph
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
Auto Trait Implementations§
impl Freeze for ResolvedGraph
impl RefUnwindSafe for ResolvedGraph
impl Send for ResolvedGraph
impl Sync for ResolvedGraph
impl Unpin for ResolvedGraph
impl UnsafeUnpin for ResolvedGraph
impl UnwindSafe for ResolvedGraph
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