pub struct UiDropdownConfig {
pub max_visible_items: i32,
pub popup_width: f32,
pub popup_gap: f32,
}Fields§
§max_visible_items: i32Maximum number of visible items before scrolling.
popup_width: f32Popup width override (0 = match widget width).
popup_gap: f32Gap between widget and popup.
Trait Implementations§
Source§impl Clone for UiDropdownConfig
impl Clone for UiDropdownConfig
Source§impl Debug for UiDropdownConfig
impl Debug for UiDropdownConfig
Auto Trait Implementations§
impl Forget for UiDropdownConfig
impl Freeze for UiDropdownConfig
impl Move for UiDropdownConfig
impl RefUnwindSafe for UiDropdownConfig
impl Send for UiDropdownConfig
impl Sync for UiDropdownConfig
impl Unpin for UiDropdownConfig
impl UnsafeUnpin for UiDropdownConfig
impl UnwindSafe for UiDropdownConfig
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