pub struct PickerProps {
pub options: Vec<String>,
pub selected: usize,
pub style: PickerStyle,
}Expand description
Full picker props (realize). options/style are set once at build; only selected
patches (via PickerPatch::Selected).
Fields§
§options: Vec<String>§selected: usize§style: PickerStyleTrait Implementations§
Source§impl Clone for PickerProps
impl Clone for PickerProps
Source§fn clone(&self) -> PickerProps
fn clone(&self) -> PickerProps
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 PickerProps
impl Debug for PickerProps
Source§impl Default for PickerProps
impl Default for PickerProps
Source§fn default() -> PickerProps
fn default() -> PickerProps
Returns the “default value” for a type. Read more
Source§impl PartialEq for PickerProps
impl PartialEq for PickerProps
Source§fn eq(&self, other: &PickerProps) -> bool
fn eq(&self, other: &PickerProps) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PickerProps
Auto Trait Implementations§
impl Freeze for PickerProps
impl RefUnwindSafe for PickerProps
impl Send for PickerProps
impl Sync for PickerProps
impl Unpin for PickerProps
impl UnsafeUnpin for PickerProps
impl UnwindSafe for PickerProps
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