pub struct KernelManifest {
pub name: &'static str,
/* private fields */
}Fields§
§name: &'static strImplementations§
Source§impl KernelManifest
impl KernelManifest
pub const fn new( name: &'static str, support: fn(OperationKind) -> OperationSupport, ) -> KernelManifest
pub fn support(self, operation: OperationKind) -> OperationSupport
pub fn capabilities(self, plan: &ModelPlan) -> PlanCapabilities
pub fn trunk_capabilities(self, plan: &ModelPlan) -> PlanCapabilities
pub fn multimodal_prefill_capabilities( self, plan: &ModelPlan, ) -> PlanCapabilities
Trait Implementations§
Source§impl Clone for KernelManifest
impl Clone for KernelManifest
Source§fn clone(&self) -> KernelManifest
fn clone(&self) -> KernelManifest
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 moreimpl Copy for KernelManifest
Auto Trait Implementations§
impl Freeze for KernelManifest
impl RefUnwindSafe for KernelManifest
impl Send for KernelManifest
impl Sync for KernelManifest
impl Unpin for KernelManifest
impl UnsafeUnpin for KernelManifest
impl UnwindSafe for KernelManifest
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