pub struct ComponentRegistration {
pub init: fn(&ApplicationContext) -> (TypeId, Box<dyn Any + Send + Sync>),
}Fields§
§init: fn(&ApplicationContext) -> (TypeId, Box<dyn Any + Send + Sync>)Trait Implementations§
impl Collect for ComponentRegistration
Auto Trait Implementations§
impl Freeze for ComponentRegistration
impl RefUnwindSafe for ComponentRegistration
impl Send for ComponentRegistration
impl Sync for ComponentRegistration
impl Unpin for ComponentRegistration
impl UnwindSafe for ComponentRegistration
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