pub struct ListItemMatcher {
pub ordered: bool,
pub task: ListItemTask,
pub matcher: MatchReplace,
}Expand description
matcher for Selector::ListItem
Fields§
§ordered: boolWhether this matches an ordered list (1. foo) or an unordered one (- foo).
task: ListItemTaskWhether this matches a task list (- [ ] foo), and if so, what completion state matches.
Tasks are typically unordered, but may also be ordered (1. [ ] foo).
matcher: MatchReplaceTrait Implementations§
Source§impl Clone for ListItemMatcher
impl Clone for ListItemMatcher
Source§fn clone(&self) -> ListItemMatcher
fn clone(&self) -> ListItemMatcher
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 ListItemMatcher
impl Debug for ListItemMatcher
Source§impl Hash for ListItemMatcher
impl Hash for ListItemMatcher
Source§impl Ord for ListItemMatcher
impl Ord for ListItemMatcher
Source§fn cmp(&self, other: &ListItemMatcher) -> Ordering
fn cmp(&self, other: &ListItemMatcher) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ListItemMatcher
impl PartialEq for ListItemMatcher
Source§impl PartialOrd for ListItemMatcher
impl PartialOrd for ListItemMatcher
impl Eq for ListItemMatcher
impl StructuralPartialEq for ListItemMatcher
Auto Trait Implementations§
impl Freeze for ListItemMatcher
impl RefUnwindSafe for ListItemMatcher
impl Send for ListItemMatcher
impl Sync for ListItemMatcher
impl Unpin for ListItemMatcher
impl UnsafeUnpin for ListItemMatcher
impl UnwindSafe for ListItemMatcher
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