pub struct ControllerDef {
pub register_fn: fn(&mut dyn Any),
pub route_log_fn: fn(),
/* private fields */
}Expand description
Re-exported public API.
Public Caelix type ControllerDef.
Fields§
§register_fn: fn(&mut dyn Any)The register_fn value.
route_log_fn: fn()The route_log_fn value.
Implementations§
Source§impl ControllerDef
impl ControllerDef
Sourcepub fn of<C: Controller + Injectable + 'static>() -> Self
pub fn of<C: Controller + Injectable + 'static>() -> Self
Runs the of public API operation.
Auto Trait Implementations§
impl !RefUnwindSafe for ControllerDef
impl !UnwindSafe for ControllerDef
impl Freeze for ControllerDef
impl Send for ControllerDef
impl Sync for ControllerDef
impl Unpin for ControllerDef
impl UnsafeUnpin for ControllerDef
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