Enum patternfly_yew::components::menu::MenuChild
source · pub enum MenuChild {
Action(Rc<<MenuAction as BaseComponent>::Properties>),
Link(Rc<<MenuLink as BaseComponent>::Properties>),
Divider(Rc<<ListDivider as BaseComponent>::Properties>),
Group(Rc<<MenuGroup as BaseComponent>::Properties>),
Loading(Rc<<MenuLoading as BaseComponent>::Properties>),
Raw(Rc<<Raw as BaseComponent>::Properties>),
}
Variants§
Action(Rc<<MenuAction as BaseComponent>::Properties>)
Link(Rc<<MenuLink as BaseComponent>::Properties>)
Divider(Rc<<ListDivider as BaseComponent>::Properties>)
Group(Rc<<MenuGroup as BaseComponent>::Properties>)
Loading(Rc<<MenuLoading as BaseComponent>::Properties>)
Raw(Rc<<Raw as BaseComponent>::Properties>)
Trait Implementations§
source§impl From<ChildrenProperties> for MenuChild
impl From<ChildrenProperties> for MenuChild
source§fn from(props: ChildrenProperties) -> Self
fn from(props: ChildrenProperties) -> Self
Converts to this type from the input type.
source§impl From<MenuActionProperties> for MenuChild
impl From<MenuActionProperties> for MenuChild
source§fn from(props: MenuActionProperties) -> Self
fn from(props: MenuActionProperties) -> Self
Converts to this type from the input type.
source§impl From<MenuGroupProperties> for MenuChild
impl From<MenuGroupProperties> for MenuChild
source§fn from(props: MenuGroupProperties) -> Self
fn from(props: MenuGroupProperties) -> Self
Converts to this type from the input type.
source§impl From<MenuLinkProperties> for MenuChild
impl From<MenuLinkProperties> for MenuChild
source§fn from(props: MenuLinkProperties) -> Self
fn from(props: MenuLinkProperties) -> Self
Converts to this type from the input type.
source§impl From<MenuLoadingProperties> for MenuChild
impl From<MenuLoadingProperties> for MenuChild
source§fn from(props: MenuLoadingProperties) -> Self
fn from(props: MenuLoadingProperties) -> Self
Converts to this type from the input type.
source§impl PartialEq for MenuChild
impl PartialEq for MenuChild
impl StructuralPartialEq for MenuChild
Auto Trait Implementations§
impl Freeze for MenuChild
impl !RefUnwindSafe for MenuChild
impl !Send for MenuChild
impl !Sync for MenuChild
impl Unpin for MenuChild
impl !UnwindSafe for MenuChild
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
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§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self
to a value of a Properties
struct.