Struct kind_span::EncodedRange
source · pub struct EncodedRange(pub u64);Expand description
A span in the encoded format that is required by kind2.
Tuple Fields§
§0: u64Implementations§
Trait Implementations§
source§impl Clone for EncodedRange
impl Clone for EncodedRange
source§fn clone(&self) -> EncodedRange
fn clone(&self) -> EncodedRange
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for EncodedRange
impl Debug for EncodedRange
source§impl Hash for EncodedRange
impl Hash for EncodedRange
source§impl Ord for EncodedRange
impl Ord for EncodedRange
source§fn cmp(&self, other: &EncodedRange) -> Ordering
fn cmp(&self, other: &EncodedRange) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<EncodedRange> for EncodedRange
impl PartialEq<EncodedRange> for EncodedRange
source§fn eq(&self, other: &EncodedRange) -> bool
fn eq(&self, other: &EncodedRange) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<EncodedRange> for EncodedRange
impl PartialOrd<EncodedRange> for EncodedRange
source§fn partial_cmp(&self, other: &EncodedRange) -> Option<Ordering>
fn partial_cmp(&self, other: &EncodedRange) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more