Struct yewprint::MenuItemProps [−][src]
pub struct MenuItemProps {
pub text: VNode,
pub text_class: Classes,
pub active: bool,
pub class: Classes,
pub disabled: bool,
pub href: Option<Cow<'static, str>>,
pub label: Option<VNode>,
pub label_class: Classes,
pub intent: Option<Intent>,
pub icon: Option<IconName>,
pub icon_html: Option<Html>,
pub onclick: Callback<MouseEvent>,
}
Fields
text: VNode
text_class: Classes
active: bool
class: Classes
disabled: bool
href: Option<Cow<'static, str>>
label: Option<VNode>
label_class: Classes
intent: Option<Intent>
icon: Option<IconName>
icon_html: Option<Html>
onclick: Callback<MouseEvent>
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl !RefUnwindSafe for MenuItemProps
impl !Send for MenuItemProps
impl !Sync for MenuItemProps
impl Unpin for MenuItemProps
impl !UnwindSafe for MenuItemProps
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert self
to an optional value of a Properties
struct.
Convert self
to a value of a Properties
struct.
Convert self
to a value of a Properties
struct.
If self
and new
aren’t equal, assigns new
to self
and returns true, otherwise returns false. Read more