pub struct OpDefRegistration {
pub op: fn() -> OpDef,
}Expand description
The single op registration path.
Every op a vyre backend can execute is published by submitting one of
these through inventory::submit! at link time. The closure is called
once during registry freeze to build the stable OpDef record.
Fields§
§op: fn() -> OpDefFactory returning the op’s frozen OpDef.
Implementations§
Trait Implementations§
impl Collect for OpDefRegistration
Auto Trait Implementations§
impl Freeze for OpDefRegistration
impl RefUnwindSafe for OpDefRegistration
impl Send for OpDefRegistration
impl Sync for OpDefRegistration
impl Unpin for OpDefRegistration
impl UnsafeUnpin for OpDefRegistration
impl UnwindSafe for OpDefRegistration
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