pub struct ResolutionPath {
pub steps: Vec<Key>,
pub cost: u32,
pub depth: usize,
}Fields§
§steps: Vec<Key>Ordered list of services to resolve
cost: u32Estimated resolution cost
depth: usizePath depth (number of dependencies)
Trait Implementations§
Source§impl Clone for ResolutionPath
impl Clone for ResolutionPath
Source§fn clone(&self) -> ResolutionPath
fn clone(&self) -> ResolutionPath
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ResolutionPath
impl RefUnwindSafe for ResolutionPath
impl Send for ResolutionPath
impl Sync for ResolutionPath
impl Unpin for ResolutionPath
impl UnsafeUnpin for ResolutionPath
impl UnwindSafe for ResolutionPath
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