Struct spinoso_regexp::Config[][src]

pub struct Config { /* fields omitted */ }


impl Config[src]

pub const fn new() -> Self[src]

Construct a new, empty Config.

pub const fn with_pattern_and_options(
    pattern: Vec<u8>,
    options: Options
) -> Self

Construct a new Config with the given pattern and Options.

pub fn pattern(&self) -> &[u8][src]

Extracts a slice containing the entire pattern.

pub const fn options(&self) -> Options[src]

Return a copy of the underlying Options.

Trait Implementations

impl Clone for Config[src]

impl Debug for Config[src]

impl Default for Config[src]

impl Eq for Config[src]

impl From<&'_ Config> for Source[src]

impl From<&'_ Source> for Config[src]

impl From<Config> for Source[src]

impl From<Source> for Config[src]

impl Hash for Config[src]

impl Ord for Config[src]

impl PartialEq<Config> for Config[src]

impl PartialOrd<Config> for Config[src]

impl StructuralEq for Config[src]

impl StructuralPartialEq for Config[src]

Auto Trait Implementations

impl RefUnwindSafe for Config

impl Send for Config

impl Sync for Config

impl Unpin for Config

impl UnwindSafe for Config

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.