pub struct SelectResponse {
pub response: Response,
pub changed: bool,
pub selected_value: Option<String>,
pub is_open: bool,
}Expand description
Response from showing a Select component
Fields§
§response: ResponseThe egui Response for the trigger button
changed: boolWhether the selected value changed this frame
selected_value: Option<String>The newly selected value, if changed
is_open: boolWhether the dropdown is currently open
Auto Trait Implementations§
impl Freeze for SelectResponse
impl !RefUnwindSafe for SelectResponse
impl Send for SelectResponse
impl Sync for SelectResponse
impl Unpin for SelectResponse
impl UnsafeUnpin for SelectResponse
impl !UnwindSafe for SelectResponse
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