Struct regex_syntax::hir::translate::Flags
source · struct Flags {
case_insensitive: Option<bool>,
multi_line: Option<bool>,
dot_matches_new_line: Option<bool>,
swap_greed: Option<bool>,
unicode: Option<bool>,
crlf: Option<bool>,
}
Expand description
A translator’s representation of a regular expression’s flags at any given moment in time.
Each flag can be in one of three states: absent, present but disabled or present but enabled.
Fields§
§case_insensitive: Option<bool>
§multi_line: Option<bool>
§dot_matches_new_line: Option<bool>
§swap_greed: Option<bool>
§unicode: Option<bool>
§crlf: Option<bool>
Implementations§
Trait Implementations§
impl Copy for Flags
Auto Trait Implementations§
impl Freeze for Flags
impl RefUnwindSafe for Flags
impl Send for Flags
impl Sync for Flags
impl Unpin for Flags
impl UnwindSafe for Flags
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