pub struct ResolveCandidate<'a> {
pub name: &'a str,
pub type_matches: &'a [ModelTypeMatch],
pub match_names: &'a [&'a str],
}Expand description
2026-09-25: The parts of one compiled target that resolution reads,
borrowed so production can wrap TargetPtxSets without copying blobs.
Fields§
§name: &'a str2026-09-25: Kernel-target directory name (KernelTarget::model), e.g.
"qwen3.8-27b". A multi-quant build repeats a name once per quant;
candidates with the same name never collide, and the first one wins.
type_matches: &'a [ModelTypeMatch]2026-09-25: MODEL.toml [[model_types]].
match_names: &'a [&'a str]2026-09-25: MODEL.toml [model] match_names needles.
Auto Trait Implementations§
impl<'a> Freeze for ResolveCandidate<'a>
impl<'a> RefUnwindSafe for ResolveCandidate<'a>
impl<'a> Send for ResolveCandidate<'a>
impl<'a> Sync for ResolveCandidate<'a>
impl<'a> Unpin for ResolveCandidate<'a>
impl<'a> UnwindSafe for ResolveCandidate<'a>
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