Struct edge_frame::frame::NavItemProps
source · pub struct NavItemProps {
pub active: bool,
pub selected: Callback<()>,
pub text: String,
pub icon: Option<String>,
}Fields§
§active: bool§selected: Callback<()>§text: StringThe text to display.
icon: Option<String>The icon to display.
Trait Implementations§
source§fn clone(&self) -> NavItemProps
fn clone(&self) -> NavItemProps
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() -> NavItemProps
fn default() -> NavItemProps
Returns the “default value” for a type. Read more
source§fn eq(&self, other: &NavItemProps) -> bool
fn eq(&self, other: &NavItemProps) -> bool
Auto Trait Implementations§
Blanket Implementations§
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.