Struct easter::punc::Op
[−]
[src]
pub struct Op<T> { pub location: Option<Span>, pub tag: T, }
Fields
location: Option<Span>
tag: T
Trait Implementations
impl<T: PartialEq> PartialEq for Op<T>
[src]
fn eq(&self, __arg_0: &Op<T>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Op<T>) -> bool
This method tests for !=
.
impl<T: Eq> Eq for Op<T>
[src]
impl<T: FromStr> FromStr for Op<T>
[src]
type Err = ()
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Op<T>, ()>
Parses a string s
to return a value of this type. Read more