pub enum ListItemPatch {
Title(String),
Subtitle(String),
Detail(String),
Icon(Option<Icon>),
IconTint(Option<Color>),
Checked(bool),
}Expand description
A live change to a realized list item; every part changes in place.
Variants§
Title(String)
Subtitle(String)
Detail(String)
Icon(Option<Icon>)
IconTint(Option<Color>)
Checked(bool)
Trait Implementations§
Source§impl Clone for ListItemPatch
impl Clone for ListItemPatch
Source§fn clone(&self) -> ListItemPatch
fn clone(&self) -> ListItemPatch
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 ListItemPatch
impl Debug for ListItemPatch
Source§impl PartialEq for ListItemPatch
impl PartialEq for ListItemPatch
impl StructuralPartialEq for ListItemPatch
Auto Trait Implementations§
impl Freeze for ListItemPatch
impl RefUnwindSafe for ListItemPatch
impl Send for ListItemPatch
impl Sync for ListItemPatch
impl Unpin for ListItemPatch
impl UnsafeUnpin for ListItemPatch
impl UnwindSafe for ListItemPatch
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