pub struct ScreenRoute {
pub screen: String,
pub handler: String,
}Expand description
A package route rendering one of its src/screens templates:
.screen(path, name, handler).name("…") or .name_for::<A>("…").
Fields§
§screen: String§handler: StringTrait Implementations§
Source§impl Clone for ScreenRoute
impl Clone for ScreenRoute
Source§impl Debug for ScreenRoute
impl Debug for ScreenRoute
impl Eq for ScreenRoute
Source§impl PartialEq for ScreenRoute
impl PartialEq for ScreenRoute
impl StructuralPartialEq for ScreenRoute
Auto Trait Implementations§
impl Freeze for ScreenRoute
impl RefUnwindSafe for ScreenRoute
impl Send for ScreenRoute
impl Sync for ScreenRoute
impl Unpin for ScreenRoute
impl UnsafeUnpin for ScreenRoute
impl UnwindSafe for ScreenRoute
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