pub struct RouteDef {
pub router: fn(Router) -> Router,
}Fields§
§router: fn(Router) -> RouterTrait Implementations§
Auto Trait Implementations§
impl Freeze for RouteDef
impl RefUnwindSafe for RouteDef
impl Send for RouteDef
impl Sync for RouteDef
impl Unpin for RouteDef
impl UnwindSafe for RouteDef
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