pub struct ModelTypeMatch {
pub model_type: &'static str,
pub hidden_size: Option<usize>,
}Expand description
2026-09-25: One (model_type, hidden_size) pair a kernel target supports,
from MODEL.toml [[model_types]].
Fields§
§model_type: &'static str2026-09-25: None is a wildcard; crate::resolve::resolve_target
tries it only when no target declares the exact hidden size.
Auto Trait Implementations§
impl Freeze for ModelTypeMatch
impl RefUnwindSafe for ModelTypeMatch
impl Send for ModelTypeMatch
impl Sync for ModelTypeMatch
impl Unpin for ModelTypeMatch
impl UnwindSafe for ModelTypeMatch
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