pub struct CheckmarkItem {
pub checked: bool,
pub text: String,
}
Expand description
A checkmark list item.
Fields§
§checked: bool
The state of the item.
true
if the item is checked, false
otherwise.
text: String
The text of the checkmark item.
Implementations§
Trait Implementations§
Source§impl Clone for CheckmarkItem
impl Clone for CheckmarkItem
Source§fn clone(&self) -> CheckmarkItem
fn clone(&self) -> CheckmarkItem
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 Debug for CheckmarkItem
impl Debug for CheckmarkItem
Source§impl Default for CheckmarkItem
impl Default for CheckmarkItem
Source§fn default() -> CheckmarkItem
fn default() -> CheckmarkItem
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CheckmarkItem
impl RefUnwindSafe for CheckmarkItem
impl Send for CheckmarkItem
impl Sync for CheckmarkItem
impl Unpin for CheckmarkItem
impl UnwindSafe for CheckmarkItem
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