pub struct ReuseGroup {
pub hash: String,
pub tokens: usize,
pub local: ContextSite,
pub candidates: Vec<DependencyCandidate>,
}Expand description
Dependency reuse alternatives for one selected local context.
Fields§
§hash: StringCanonical-form hash used to associate local and dependency contexts.
tokens: usizeWeighted canonical token count.
local: ContextSiteSelected local source range.
candidates: Vec<DependencyCandidate>Upstream alternatives ordered with accessible APIs first.
Trait Implementations§
Source§impl Clone for ReuseGroup
impl Clone for ReuseGroup
Source§impl Debug for ReuseGroup
impl Debug for ReuseGroup
Source§impl<'de> Deserialize<'de> for ReuseGroup
impl<'de> Deserialize<'de> for ReuseGroup
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
impl Eq for ReuseGroup
Source§impl PartialEq for ReuseGroup
impl PartialEq for ReuseGroup
Source§impl Serialize for ReuseGroup
impl Serialize for ReuseGroup
impl StructuralPartialEq for ReuseGroup
Auto Trait Implementations§
impl Freeze for ReuseGroup
impl RefUnwindSafe for ReuseGroup
impl Send for ReuseGroup
impl Sync for ReuseGroup
impl Unpin for ReuseGroup
impl UnsafeUnpin for ReuseGroup
impl UnwindSafe for ReuseGroup
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