pub struct OperationRegister {
pub name: &'static str,
pub constructor: &'static (dyn Sync + Send + Fn() -> Operation),
}Fields§
§name: &'static str§constructor: &'static (dyn Sync + Send + Fn() -> Operation)Trait Implementations§
impl Collect for OperationRegister
Auto Trait Implementations§
impl !RefUnwindSafe for OperationRegister
impl !UnwindSafe for OperationRegister
impl Freeze for OperationRegister
impl Send for OperationRegister
impl Sync for OperationRegister
impl Unpin for OperationRegister
impl UnsafeUnpin for OperationRegister
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