pub enum SettingsRoute {
About,
Group(String),
}Expand description
The route type of the navigation presentation’s stack: pushed pages are groups, About, a row’s sub-page or a choice list.
Variants§
Trait Implementations§
Source§impl Clone for SettingsRoute
impl Clone for SettingsRoute
Source§fn clone(&self) -> SettingsRoute
fn clone(&self) -> SettingsRoute
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SettingsRoute
impl Debug for SettingsRoute
Source§impl PartialEq for SettingsRoute
impl PartialEq for SettingsRoute
Source§impl Route for SettingsRoute
impl Route for SettingsRoute
Source§fn title(&self) -> String
fn title(&self) -> String
Tracked, so a shown page’s bar follows a language change (nav_stack re-reads it).
Source§fn key(&self) -> String
fn key(&self) -> String
The path segment this value occupies in a route string. Must round-trip through
Route::from_key and must not be empty; "" means “no selection” (see the
Option<R> impl).impl StructuralPartialEq for SettingsRoute
Auto Trait Implementations§
impl Freeze for SettingsRoute
impl RefUnwindSafe for SettingsRoute
impl Send for SettingsRoute
impl Sync for SettingsRoute
impl Unpin for SettingsRoute
impl UnsafeUnpin for SettingsRoute
impl UnwindSafe for SettingsRoute
Blanket Implementations§
§impl<T> AnyEq for T
impl<T> AnyEq for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more