pub struct StaticOp(pub &'static dyn NodeFactory);Expand description
A factory submitted statically via inventory::submit!. Built-in
node crates use this to self-register without touching a central
list — see NodeRegistry::from_inventory.
Tuple Fields§
§0: &'static dyn NodeFactoryTrait Implementations§
Auto Trait Implementations§
impl Freeze for StaticOp
impl !RefUnwindSafe for StaticOp
impl Send for StaticOp
impl Sync for StaticOp
impl Unpin for StaticOp
impl UnsafeUnpin for StaticOp
impl !UnwindSafe for StaticOp
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