Enum patternfly_yew::DropdownChild
source · pub enum DropdownChild {
Item(Rc<<DropdownItem as Component>::Properties>),
Divider(Rc<<Divider as Component>::Properties>),
Group(Rc<<DropdownItemGroup as Component>::Properties>),
Text(Rc<<DropdownItemText as Component>::Properties>),
}Variants§
Item(Rc<<DropdownItem as Component>::Properties>)
Divider(Rc<<Divider as Component>::Properties>)
Group(Rc<<DropdownItemGroup as Component>::Properties>)
Text(Rc<<DropdownItemText as Component>::Properties>)
Trait Implementations§
source§impl Clone for DropdownChild
impl Clone for DropdownChild
source§fn clone(&self) -> DropdownChild
fn clone(&self) -> DropdownChild
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§impl From<()> for DropdownChild
impl From<()> for DropdownChild
source§impl From<DropdownItemGroupProps> for DropdownChild
impl From<DropdownItemGroupProps> for DropdownChild
source§fn from(props: DropdownItemGroupProps) -> Self
fn from(props: DropdownItemGroupProps) -> Self
Converts to this type from the input type.
source§impl From<DropdownItemProps> for DropdownChild
impl From<DropdownItemProps> for DropdownChild
source§fn from(props: DropdownItemProps) -> Self
fn from(props: DropdownItemProps) -> Self
Converts to this type from the input type.
source§impl From<DropdownItemTextProps> for DropdownChild
impl From<DropdownItemTextProps> for DropdownChild
source§fn from(props: DropdownItemTextProps) -> Self
fn from(props: DropdownItemTextProps) -> Self
Converts to this type from the input type.
source§impl PartialEq<DropdownChild> for DropdownChild
impl PartialEq<DropdownChild> for DropdownChild
source§fn eq(&self, other: &DropdownChild) -> bool
fn eq(&self, other: &DropdownChild) -> bool
impl StructuralPartialEq for DropdownChild
Auto Trait Implementations§
impl !RefUnwindSafe for DropdownChild
impl !Send for DropdownChild
impl !Sync for DropdownChild
impl Unpin for DropdownChild
impl !UnwindSafe for DropdownChild
Blanket Implementations§
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.