pub struct PickChip {
pub id: String,
pub label: String,
pub value: Option<String>,
pub armed: bool,
pub placeholder: String,
}Expand description
A Widget::PickChip: a click arms it (PanelEvent::Pick), its
cross clears it (PanelEvent::Clear).
Fields§
§id: String§label: String§value: Option<String>What has been picked, in words.
armed: bool§placeholder: StringIn the chip while nothing is picked.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PickChip
impl<'de> Deserialize<'de> for PickChip
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for PickChip
Auto Trait Implementations§
impl Forget for PickChip
impl Freeze for PickChip
impl Move for PickChip
impl RefUnwindSafe for PickChip
impl Send for PickChip
impl Sync for PickChip
impl Unpin for PickChip
impl UnsafeUnpin for PickChip
impl UnwindSafe for PickChip
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