pub struct RegcompFlags(/* private fields */);
Expand description
Flags to pass to regcomp
.
Implementations§
Source§impl RegcompFlags
impl RegcompFlags
Sourcepub const LITERAL: RegFlags = 16i32
pub const LITERAL: RegFlags = 16i32
Interpret regex literally (all characters are non-special); aka REG_NOSPEC
Sourcepub const NOSPEC: RegFlags = 16i32
pub const NOSPEC: RegFlags = 16i32
Same meaning as RegcompFlags::LITERAL
Sourcepub const RIGHT_ASSOC: RegFlags = 32i32
pub const RIGHT_ASSOC: RegFlags = 32i32
Concatenation is right-associative
Trait Implementations§
Source§impl Clone for RegcompFlags
impl Clone for RegcompFlags
Source§fn clone(&self) -> RegcompFlags
fn clone(&self) -> RegcompFlags
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RegcompFlags
impl Debug for RegcompFlags
impl Copy for RegcompFlags
Auto Trait Implementations§
impl Freeze for RegcompFlags
impl RefUnwindSafe for RegcompFlags
impl Send for RegcompFlags
impl Sync for RegcompFlags
impl Unpin for RegcompFlags
impl UnwindSafe for RegcompFlags
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