pub struct MegakernelCaps {
pub supported: bool,
pub max_worker_count: u32,
}Expand description
Capabilities surfaced by megakernel-aware backends.
Fields§
§supported: boolWhether the backend implements a megakernel path.
max_worker_count: u32Maximum worker-count ceiling the backend accepts.
Implementations§
Source§impl MegakernelCaps
impl MegakernelCaps
Sourcepub const fn unsupported() -> Self
pub const fn unsupported() -> Self
Unsupported - every method returns an explicit error.
Trait Implementations§
Source§impl Clone for MegakernelCaps
impl Clone for MegakernelCaps
Source§fn clone(&self) -> MegakernelCaps
fn clone(&self) -> MegakernelCaps
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 MegakernelCaps
Auto Trait Implementations§
impl Freeze for MegakernelCaps
impl RefUnwindSafe for MegakernelCaps
impl Send for MegakernelCaps
impl Sync for MegakernelCaps
impl Unpin for MegakernelCaps
impl UnsafeUnpin for MegakernelCaps
impl UnwindSafe for MegakernelCaps
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