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 duplicate 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 for EncodedRange
impl PartialEq for EncodedRange
Source§impl PartialOrd for EncodedRange
impl PartialOrd for EncodedRange
impl Copy for EncodedRange
impl Eq for EncodedRange
impl StructuralPartialEq for EncodedRange
Auto Trait Implementations§
impl Freeze for EncodedRange
impl RefUnwindSafe for EncodedRange
impl Send for EncodedRange
impl Sync for EncodedRange
impl Unpin for EncodedRange
impl UnwindSafe for EncodedRange
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more