Struct edge_frame::frame::RouteNavItemProps
source · pub struct RouteNavItemProps<R>where
R: Routable + Clone,{
pub route: R,
pub text: String,
pub icon: Option<String>,
}Fields
route: RThe Switched item representing the route.
text: StringThe text to display.
icon: Option<String>The icon to display.
Trait Implementations
sourcefn clone(&self) -> RouteNavItemProps<R>
fn clone(&self) -> RouteNavItemProps<R>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourcefn default() -> RouteNavItemProps<R>
fn default() -> RouteNavItemProps<R>
Returns the “default value” for a type. Read more
sourcefn eq(&self, other: &RouteNavItemProps<R>) -> bool
fn eq(&self, other: &RouteNavItemProps<R>) -> bool
Auto Trait Implementations
Blanket Implementations
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.sourcefn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self to a value of a Properties struct.sourcefn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self to a value of a Properties struct.