pub struct DropdownArgs {
pub key: SpanKey,
pub vals: Option<Vec<Val>>,
pub default_val: Option<Val>,
pub validation: bool,
pub text: Option<String>,
pub state: DropdownState,
pub emit: bool,
pub undo: bool,
pub save_selection: bool,
pub expand: bool,
}Fields§
§key: SpanKey§vals: Option<Vec<Val>>§default_val: Option<Val>§validation: bool§text: Option<String>§state: DropdownState§emit: bool§undo: bool§save_selection: bool§expand: boolTrait Implementations§
Source§impl Clone for DropdownArgs
impl Clone for DropdownArgs
Source§fn clone(&self) -> DropdownArgs
fn clone(&self) -> DropdownArgs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DropdownArgs
impl Debug for DropdownArgs
Source§impl Default for DropdownArgs
impl Default for DropdownArgs
Source§impl PartialEq for DropdownArgs
impl PartialEq for DropdownArgs
Source§fn eq(&self, other: &DropdownArgs) -> bool
fn eq(&self, other: &DropdownArgs) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DropdownArgs
Auto Trait Implementations§
impl Freeze for DropdownArgs
impl RefUnwindSafe for DropdownArgs
impl Send for DropdownArgs
impl Sync for DropdownArgs
impl Unpin for DropdownArgs
impl UnsafeUnpin for DropdownArgs
impl UnwindSafe for DropdownArgs
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