[][src]Struct h4x_re::Regex

pub struct Regex { /* fields omitted */ }


impl Regex[src]

pub fn new(input: String) -> Self[src]

pub fn new_clone(input: &str) -> Self[src]

pub fn is_match(&self, text: &str) -> bool[src]

pub fn cost(&self) -> usize[src]

pub fn to_string(&self) -> String[src]

Trait Implementations

impl Clone for Regex[src]

impl Debug for Regex[src]

impl Eq for Regex[src]

impl Hash for Regex[src]

impl PartialEq<Regex> for Regex[src]

impl StructuralEq for Regex[src]

impl StructuralPartialEq for Regex[src]

Auto Trait Implementations

impl RefUnwindSafe for Regex

impl Send for Regex

impl Sync for Regex

impl Unpin for Regex

impl UnwindSafe for Regex

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.