pub struct RegExpValue { /* private fields */ }Implementations§
Source§impl RegExpValue
impl RegExpValue
pub fn new(pattern: impl Into<String>, flags: impl Into<String>) -> Self
pub fn pattern(&self) -> &str
pub fn flags(&self) -> &str
pub fn is_global(&self) -> bool
pub fn is_ignore_case(&self) -> bool
pub fn is_multiline(&self) -> bool
pub fn is_dot_all(&self) -> bool
pub fn is_unicode(&self) -> bool
pub fn is_sticky(&self) -> bool
Trait Implementations§
Source§impl Clone for RegExpValue
impl Clone for RegExpValue
Source§fn clone(&self) -> RegExpValue
fn clone(&self) -> RegExpValue
Returns a duplicate 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 RegExpValue
impl Debug for RegExpValue
Source§impl Hash for RegExpValue
impl Hash for RegExpValue
Source§impl Ord for RegExpValue
impl Ord for RegExpValue
Source§fn cmp(&self, other: &RegExpValue) -> Ordering
fn cmp(&self, other: &RegExpValue) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RegExpValue
impl PartialEq for RegExpValue
Source§impl PartialOrd for RegExpValue
impl PartialOrd for RegExpValue
impl Eq for RegExpValue
impl StructuralPartialEq for RegExpValue
Auto Trait Implementations§
impl Freeze for RegExpValue
impl RefUnwindSafe for RegExpValue
impl Send for RegExpValue
impl Sync for RegExpValue
impl Unpin for RegExpValue
impl UnsafeUnpin for RegExpValue
impl UnwindSafe for RegExpValue
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