[][src]Struct change_case::Options

pub struct Options { /* fields omitted */ }

Control the behavier of change case

Implementations

impl Options[src]

pub fn split_regex(self, value: Vec<Regex>) -> Self[src]

Change regex used to split into word segments

pub fn strip_regex(self, value: Vec<Regex>) -> Self[src]

Change regex used to remove extraneous characters

pub fn delimiter(self, value: &str) -> Self[src]

Change value used between words (e.g. " ")

pub fn transform(self, value: Box<dyn Fn(&str, usize) -> String>) -> Self[src]

Change the transform function used to transform each word segment

Trait Implementations

impl Default for Options[src]

Auto Trait Implementations

impl !RefUnwindSafe for Options

impl !Send for Options

impl !Sync for Options

impl Unpin for Options

impl !UnwindSafe for Options

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.