pub struct SetFlags {
pub span: Span,
pub flags: Flags,
}
Available on (crate features
syntax-glob
or syntax-ev
or syntax-regex
) and crate feature syntax-regex
only.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§
impl Eq for SetFlags
impl StructuralPartialEq for SetFlags
Auto Trait Implementations§
impl Freeze for SetFlags
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more