pub enum TaskListItemKind {
Checked,
Unchecked,
LooselyChecked,
}Expand description
Represents the variant of a list or task item (checked, unchecked, etc.).
Variants§
Checked
A checkbox item that is marked as done using - [x].
Unchecked
A checkbox item that is unchecked using - [ ].
LooselyChecked
A checkbox item that is checked, but not explicitly recognized as
Checked (e.g., - [?]).
Trait Implementations§
Source§impl Clone for TaskListItemKind
impl Clone for TaskListItemKind
Source§fn clone(&self) -> TaskListItemKind
fn clone(&self) -> TaskListItemKind
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 TaskListItemKind
impl Debug for TaskListItemKind
Source§impl PartialEq for TaskListItemKind
impl PartialEq for TaskListItemKind
impl StructuralPartialEq for TaskListItemKind
Auto Trait Implementations§
impl Freeze for TaskListItemKind
impl RefUnwindSafe for TaskListItemKind
impl Send for TaskListItemKind
impl Sync for TaskListItemKind
impl Unpin for TaskListItemKind
impl UnwindSafe for TaskListItemKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more