Struct syntect::parsing::MatchPower [−][src]
pub struct MatchPower(pub f64);
Expand description
Wrapper to get around the fact Rust f64
doesn’t implement Ord
and there is no non-NaN
float type
Tuple Fields
0: f64
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for MatchPower
impl Send for MatchPower
impl Sync for MatchPower
impl Unpin for MatchPower
impl UnwindSafe for MatchPower
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.