pub struct CheckmarkItem<'a> {
pub checked: bool,
pub text: &'a str,
}
Expand description
A checkmark list item.
Fields§
§checked: bool
The state of the item.
True
if the item is checked, false
otherwise.
text: &'a str
The text of the checkmark item.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for CheckmarkItem<'a>
impl<'a> Clone for CheckmarkItem<'a>
Source§fn clone(&self) -> CheckmarkItem<'a>
fn clone(&self) -> CheckmarkItem<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for CheckmarkItem<'a>
impl<'a> Debug for CheckmarkItem<'a>
Source§impl<'a> Default for CheckmarkItem<'a>
impl<'a> Default for CheckmarkItem<'a>
Source§fn default() -> CheckmarkItem<'a>
fn default() -> CheckmarkItem<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for CheckmarkItem<'a>
impl<'a> RefUnwindSafe for CheckmarkItem<'a>
impl<'a> Send for CheckmarkItem<'a>
impl<'a> Sync for CheckmarkItem<'a>
impl<'a> Unpin for CheckmarkItem<'a>
impl<'a> UnwindSafe for CheckmarkItem<'a>
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