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
sourceimpl Clone for DropdownChild
impl Clone for DropdownChild
sourcefn clone(&self) -> DropdownChild
fn clone(&self) -> DropdownChild
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl From<()> for DropdownChild
impl From<()> for DropdownChild
sourceimpl From<DropdownItemGroupProps> for DropdownChild
impl From<DropdownItemGroupProps> for DropdownChild
sourcefn from(props: DropdownItemGroupProps) -> Self
fn from(props: DropdownItemGroupProps) -> Self
Converts to this type from the input type.
sourceimpl From<DropdownItemProps> for DropdownChild
impl From<DropdownItemProps> for DropdownChild
sourcefn from(props: DropdownItemProps) -> Self
fn from(props: DropdownItemProps) -> Self
Converts to this type from the input type.
sourceimpl From<DropdownItemTextProps> for DropdownChild
impl From<DropdownItemTextProps> for DropdownChild
sourcefn from(props: DropdownItemTextProps) -> Self
fn from(props: DropdownItemTextProps) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<DropdownChild> for DropdownChild
impl PartialEq<DropdownChild> for DropdownChild
sourcefn eq(&self, other: &DropdownChild) -> bool
fn eq(&self, other: &DropdownChild) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
sourcefn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert self to a value of a Properties struct.
sourceimpl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
sourcefn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert self to a value of a Properties struct.