Struct regex_syntax::ast::SetFlags
source · pub struct SetFlags {
pub span: Span,
pub flags: Flags,
}
Expand description
A group of flags that is not applied to a particular regular expression.
Fields§
§span: Span
The span of these flags, including the grouping parentheses.
flags: Flags
The actual sequence of flags.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for SetFlags
impl<'arbitrary> Arbitrary<'arbitrary> for SetFlags
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<SetFlags> for SetFlags
impl PartialEq<SetFlags> for SetFlags
impl Eq for SetFlags
impl StructuralEq for SetFlags
impl StructuralPartialEq for SetFlags
Auto Trait Implementations§
impl RefUnwindSafe for SetFlags
impl Send for SetFlags
impl Sync for SetFlags
impl Unpin for SetFlags
impl UnwindSafe for SetFlags
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