pub struct Pattern {
pub contains_env_begin: bool,
pub contains_env_end: bool,
pub contains_item: bool,
pub contains_splitting: bool,
pub contains_comment: bool,
pub contains_verb: bool,
}
Expand description
Record whether a line contains certain patterns to avoid recomputing
Fields§
§contains_env_begin: bool
Whether a begin environment pattern is present
contains_env_end: bool
Whether an end environment pattern is present
contains_item: bool
Whether an item pattern is present
contains_splitting: bool
Whether a splitting pattern is present
contains_comment: bool
Whether a comment is present
contains_verb: bool
Whether a verb environment is present
Implementations§
Auto Trait Implementations§
impl Freeze for Pattern
impl RefUnwindSafe for Pattern
impl Send for Pattern
impl Sync for Pattern
impl Unpin for Pattern
impl UnwindSafe for Pattern
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