Struct freya_components::DropdownProps
source · pub struct DropdownProps<'a, T: 'static> {
pub theme: Option<DropdownThemeWith>,
pub children: Element<'a>,
pub value: T,
}
Expand description
Dropdown
component properties.
Fields§
§theme: Option<DropdownThemeWith>
Theme override.
children: Element<'a>
Selectable items, like DropdownItem
value: T
Selected value.
Implementations§
source§impl<'a, T: 'static> DropdownProps<'a, T>
impl<'a, T: 'static> DropdownProps<'a, T>
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> !RefUnwindSafe for DropdownProps<'a, T>
impl<'a, T> !Send for DropdownProps<'a, T>
impl<'a, T> !Sync for DropdownProps<'a, T>
impl<'a, T> Unpin for DropdownProps<'a, T>where T: Unpin,
impl<'a, T> !UnwindSafe for DropdownProps<'a, T>
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