pub struct SetDropdownArgs {
pub key: SpanKey,
pub vals: Option<Vec<Val>>,
pub default_val: Option<Option<Val>>,
pub validation: Option<bool>,
pub text: Option<Option<String>>,
pub state: Option<DropdownState>,
pub emit: bool,
pub undo: bool,
pub save_selection: bool,
}Fields§
§key: SpanKey§vals: Option<Vec<Val>>§default_val: Option<Option<Val>>§validation: Option<bool>§text: Option<Option<String>>§state: Option<DropdownState>§emit: bool§undo: bool§save_selection: boolTrait Implementations§
Source§impl Clone for SetDropdownArgs
impl Clone for SetDropdownArgs
Source§fn clone(&self) -> SetDropdownArgs
fn clone(&self) -> SetDropdownArgs
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 SetDropdownArgs
impl Debug for SetDropdownArgs
Source§impl Default for SetDropdownArgs
impl Default for SetDropdownArgs
Source§impl PartialEq for SetDropdownArgs
impl PartialEq for SetDropdownArgs
Source§fn eq(&self, other: &SetDropdownArgs) -> bool
fn eq(&self, other: &SetDropdownArgs) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SetDropdownArgs
Auto Trait Implementations§
impl Freeze for SetDropdownArgs
impl RefUnwindSafe for SetDropdownArgs
impl Send for SetDropdownArgs
impl Sync for SetDropdownArgs
impl Unpin for SetDropdownArgs
impl UnsafeUnpin for SetDropdownArgs
impl UnwindSafe for SetDropdownArgs
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