pub struct RegexFlags {
pub case_insensitive: bool,
pub multi_line: bool,
pub dot_matches_new_line: bool,
}Expand description
Optional flags that can be applied when constructing a regex.
Fields§
§case_insensitive: bool§multi_line: bool§dot_matches_new_line: boolTrait Implementations§
Source§impl Clone for RegexFlags
impl Clone for RegexFlags
Source§fn clone(&self) -> RegexFlags
fn clone(&self) -> RegexFlags
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RegexFlags
impl Debug for RegexFlags
Source§impl Default for RegexFlags
impl Default for RegexFlags
Source§fn default() -> RegexFlags
fn default() -> RegexFlags
Returns the “default value” for a type. Read more
Source§impl PartialEq for RegexFlags
impl PartialEq for RegexFlags
Source§fn eq(&self, other: &RegexFlags) -> bool
fn eq(&self, other: &RegexFlags) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RegexFlags
impl Eq for RegexFlags
impl StructuralPartialEq for RegexFlags
Auto Trait Implementations§
impl Freeze for RegexFlags
impl RefUnwindSafe for RegexFlags
impl Send for RegexFlags
impl Sync for RegexFlags
impl Unpin for RegexFlags
impl UnsafeUnpin for RegexFlags
impl UnwindSafe for RegexFlags
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