Enum scan_rules::input::ExactCompare [] [src]

pub enum ExactCompare {}

Marker type used to do exact, byte-for-byte string comparisons.

This is likely the fastest kind of string comparison, and matches the default behaviour of the == operator on strings.

Trait Implementations

impl Debug for ExactCompare
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl StrCompare for ExactCompare
[src]

fn compare(a: &str, b: &str) -> bool

Compare two strings and return true if they should be considered "equal".