[][src]Struct toml_parse::Matcher

pub struct Matcher<'a> {
    pub heading: &'a [&'a str],
    pub segmented: &'a [&'a str],
    pub heading_key: &'a [(&'a str, &'a str)],
}

Each Matcher field when matched to a heading or key token will be matched with .contains().

Fields

heading: &'a [&'a str]

Toml headings with braces [heading].

segmented: &'a [&'a str]

Toml segmented heading without braces.

heading_key: &'a [(&'a str, &'a str)]

Toml heading with braces [heading] and the key of the array to sort.

Auto Trait Implementations

impl<'a> RefUnwindSafe for Matcher<'a>

impl<'a> Send for Matcher<'a>

impl<'a> Sync for Matcher<'a>

impl<'a> Unpin for Matcher<'a>

impl<'a> UnwindSafe for Matcher<'a>

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.