Struct strom::Match [] [src]

pub struct Match<T> {
    pub val: T,
    pub pos: usize,
}

Fields

Methods

impl<T> Match<T>
[src]

Trait Implementations

impl<T: Debug> Debug for Match<T>
[src]

Formats the value using the given formatter.

impl<T: Clone> Clone for Match<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Copy> Copy for Match<T>
[src]

impl<T: PartialEq> PartialEq for Match<T>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<T: Eq> Eq for Match<T>
[src]