Struct ambient_ui::dropdown::Dropdown
source · pub struct Dropdown {
pub content: Element,
pub dropdown: Element,
pub show: bool,
}
Expand description
A dropdown element: shows the dropdown
when show
is specified.
Fields§
§content: Element
The content (always shown).
dropdown: Element
The dropdown to show.
show: bool
Whether or not to show the dropdown.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Dropdown
impl Send for Dropdown
impl Sync for Dropdown
impl Unpin for Dropdown
impl !UnwindSafe for Dropdown
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> Downcast for T
impl<T> Downcast for T
source§impl<T> ElementComponentExt for Twhere
T: ElementComponent + 'static,
impl<T> ElementComponentExt for Twhere
T: ElementComponent + 'static,
source§impl<T> ElementComponentName for T
impl<T> ElementComponentName for T
source§fn element_component_name(&self) -> &'static str
fn element_component_name(&self) -> &'static str
Returns the name of the type implementing ElementComponent.