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§
source§fn clone(&self) -> RouteNavItemProps<R>
fn clone(&self) -> RouteNavItemProps<R>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§fn default() -> RouteNavItemProps<R>
fn default() -> RouteNavItemProps<R>
Returns the “default value” for a type. Read more
source§fn eq(&self, other: &RouteNavItemProps<R>) -> bool
fn eq(&self, other: &RouteNavItemProps<R>) -> bool
Auto Trait Implementations§
Blanket Implementations§
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self to a value of a Properties struct.source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self to a value of a Properties struct.