Trait nom::Compare [−][src]
abstracts comparison operations
Required methods
fn compare(&self, t: T) -> CompareResult
[src]
compares self to another value for equality
fn compare_no_case(&self, t: T) -> CompareResult
[src]
compares self to another value for equality independently of the case.
warning: for &str
, the comparison is done
by lowercasing both strings and comparing
the result. This is a temporary solution until
a better one appears