pub struct ShowcaseRouteSpec { /* private fields */ }Expand description
Single source of truth describing one showcase route: path, navigation copy, sidebar section, quick-launch badge, and page builder.
Implementations§
Source§impl ShowcaseRouteSpec
impl ShowcaseRouteSpec
pub fn get_path(&self) -> &'static str
pub fn get_label(&self) -> &'static str
pub fn get_title(&self) -> &'static str
pub fn get_section(&self) -> &'static str
pub fn get_tag(&self) -> &'static str
pub fn get_summary(&self) -> &'static str
pub fn get_mount(&self) -> fn(&ShowcaseState, ThemeTokens) -> NodeId
Trait Implementations§
Source§impl Clone for ShowcaseRouteSpec
impl Clone for ShowcaseRouteSpec
impl Copy for ShowcaseRouteSpec
Auto Trait Implementations§
impl Forget for ShowcaseRouteSpec
impl Freeze for ShowcaseRouteSpec
impl Move for ShowcaseRouteSpec
impl RefUnwindSafe for ShowcaseRouteSpec
impl Send for ShowcaseRouteSpec
impl Sync for ShowcaseRouteSpec
impl Unpin for ShowcaseRouteSpec
impl UnsafeUnpin for ShowcaseRouteSpecwhere
&'static str: UnsafeUnpin,
impl UnwindSafe for ShowcaseRouteSpecwhere
&'static str: UnwindSafe,
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