[][src]Struct broot::pattern::MatchedString

pub struct MatchedString<'a> {
    pub pattern: &'a Pattern,
    pub string: &'a str,
    pub base_style: &'a CompoundStyle,
    pub match_style: &'a CompoundStyle,
}

Fields

pattern: &'a Patternstring: &'a strbase_style: &'a CompoundStylematch_style: &'a CompoundStyle

Implementations

impl<'a> MatchedString<'a>[src]

pub fn write_on<W>(&self, w: &mut W) -> Result<(), Error> where
    W: Write
[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for MatchedString<'a>

impl<'a> Send for MatchedString<'a>

impl<'a> Sync for MatchedString<'a>

impl<'a> Unpin for MatchedString<'a>

impl<'a> !UnwindSafe for MatchedString<'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.