Enum Flag

enum Flag

A single flag.

Variants

CaseInsensitive

i

MultiLine

m

DotMatchesNewLine

s

SwapGreed

U

Unicode

u

CRLF

R

IgnoreWhitespace

x

Implementations

impl Clone for Flag

fn clone(self: &Self) -> Flag

impl Copy for Flag

impl Debug for Flag

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

impl Eq for Flag

impl Freeze for Flag

impl PartialEq for Flag

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

impl RefUnwindSafe for Flag

impl Send for Flag

impl StructuralPartialEq for Flag

impl Sync for Flag

impl Unpin for Flag

impl UnsafeUnpin for Flag

impl UnwindSafe for Flag

impl<T> Any for Flag

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Flag

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for Flag

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

impl<T> CloneToUninit for Flag

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

impl<T> From for Flag

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for Flag

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for Flag

fn into(self: 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 for Flag

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for Flag

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