Struct strom::Match
[−]
[src]
pub struct Match<T> { pub val: T, pub pos: usize, }
Fields
val: T
pos: usize
Methods
impl<T> Match<T>
[src]
Trait Implementations
impl<T: Debug> Debug for Match<T>
[src]
impl<T: Clone> Clone for Match<T>
[src]
fn clone(&self) -> Match<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<T: Copy> Copy for Match<T>
[src]
impl<T: PartialEq> PartialEq for Match<T>
[src]
fn eq(&self, __arg_0: &Match<T>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Match<T>) -> bool
This method tests for !=
.