pub struct Navigation;Expand description
The role type for Role::Navigation, selector name navigation.
Trait Implementations§
Source§fn clone(&self) -> Navigation
fn clone(&self) -> Navigation
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§fn default() -> Navigation
fn default() -> Navigation
Returns the “default value” for a type. Read more
Source§const ROLE_VALUE: Role = Role::Navigation
const ROLE_VALUE: Role = Role::Navigation
The runtime role this type stands for.
Source§type Error = RoleMismatch
type Error = RoleMismatch
The type returned in the event of a conversion error.
Source§fn try_from(role: Role) -> Result<Navigation, RoleMismatch>
fn try_from(role: Role) -> Result<Navigation, RoleMismatch>
Performs the conversion.
Auto Trait Implementations§
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