pub struct BackendCapability {
pub id: &'static str,
pub dispatches: bool,
}Expand description
Backend capability declaration: whether a backend owns a live dispatch stack on this host.
Fields§
§id: &'static strBackend identifier; must match the corresponding
BackendRegistration::id.
dispatches: booltrue when this backend’s dispatch can execute a Program and return
real outputs; false when the backend is emission-only.
Trait Implementations§
impl Collect for BackendCapability
Auto Trait Implementations§
impl Freeze for BackendCapability
impl RefUnwindSafe for BackendCapability
impl Send for BackendCapability
impl Sync for BackendCapability
impl Unpin for BackendCapability
impl UnsafeUnpin for BackendCapability
impl UnwindSafe for BackendCapability
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