Enum regex_syntax::ast::Flag
source · pub enum Flag {
CaseInsensitive,
MultiLine,
DotMatchesNewLine,
SwapGreed,
Unicode,
CRLF,
IgnoreWhitespace,
}
Expand description
A single flag.
Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Flag
impl<'arbitrary> Arbitrary<'arbitrary> for Flag
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the entirety of the given
unstructured data. Read moresource§impl PartialEq<Flag> for Flag
impl PartialEq<Flag> for Flag
impl Copy for Flag
impl Eq for Flag
impl StructuralEq for Flag
impl StructuralPartialEq for Flag
Auto Trait Implementations§
impl RefUnwindSafe for Flag
impl Send for Flag
impl Sync for Flag
impl Unpin for Flag
impl UnwindSafe for Flag
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