Struct SetFlags

pub struct SetFlags { pub span: Span, pub flags: Flags }

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 Clone for SetFlags

fn clone(&self) -> Self

impl Debug for SetFlags

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Eq for SetFlags

impl PartialEq for SetFlags

fn eq(&self, other: &Self) -> bool

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 UnsafeUnpin for SetFlags

impl UnwindSafe for SetFlags

Blanket Implementations

impl<T> Any for SetFlags where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for SetFlags where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for SetFlags where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for SetFlags where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for SetFlags

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for SetFlags where T: Clone,

type Owned = T;
fn to_owned(&self) -> T
fn clone_into(&self, target: &mut T)

impl<T, U> Into<U> for SetFlags where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for SetFlags where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for SetFlags where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>