pub struct DropDownListView { /* private fields */ }Trait Implementations§
Source§impl Default for DropDownListView
impl Default for DropDownListView
Source§fn default() -> DropDownListView
fn default() -> DropDownListView
Returns the “default value” for a type. Read more
Source§impl ListView<Suggestion> for DropDownListView
impl ListView<Suggestion> for DropDownListView
fn render(&mut self) -> Result<()>
fn clear(&self) -> Result<()>
fn set_visibility(&mut self, visible: bool)
fn is_visible(&self) -> bool
fn set_focus_position(&mut self, position: i64)
fn set_focus_style(&mut self, style: Style)
fn focus_next(&mut self)
fn focus_previous(&mut self)
fn clear_focus(&mut self)
fn reset(&mut self)
fn set_elements(&mut self, elements: &mut Vec<Suggestion>)
fn clear_elements(&mut self)
fn selected_element(&self) -> Option<&Suggestion>
fn is_empty(&self) -> bool
fn len(&self) -> usize
Auto Trait Implementations§
impl Freeze for DropDownListView
impl RefUnwindSafe for DropDownListView
impl Send for DropDownListView
impl Sync for DropDownListView
impl Unpin for DropDownListView
impl UnwindSafe for DropDownListView
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