pub struct ChangePosition(pub L64);Expand description
The position of a byte within a change.
Tuple Fields§
§0: L64Trait Implementations§
Source§impl Add<usize> for ChangePosition
impl Add<usize> for ChangePosition
Source§impl Clone for ChangePosition
impl Clone for ChangePosition
Source§fn clone(&self) -> ChangePosition
fn clone(&self) -> ChangePosition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ChangePosition
Source§impl Debug for ChangePosition
impl Debug for ChangePosition
Source§impl<'de> Deserialize<'de> for ChangePosition
impl<'de> Deserialize<'de> for ChangePosition
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ChangePosition
Source§impl From<ChangePosition> for u64
impl From<ChangePosition> for u64
Source§fn from(f: ChangePosition) -> u64
fn from(f: ChangePosition) -> u64
Converts to this type from the input type.
Source§impl Hash for ChangePosition
impl Hash for ChangePosition
Source§impl Ord for ChangePosition
impl Ord for ChangePosition
Source§fn cmp(&self, other: &ChangePosition) -> Ordering
fn cmp(&self, other: &ChangePosition) -> Ordering
1.21.0 (const: unstable) · 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 ChangePosition
impl PartialEq for ChangePosition
Source§impl PartialOrd for ChangePosition
impl PartialOrd for ChangePosition
Source§impl Serialize for ChangePosition
impl Serialize for ChangePosition
impl StructuralPartialEq for ChangePosition
Auto Trait Implementations§
impl Freeze for ChangePosition
impl RefUnwindSafe for ChangePosition
impl Send for ChangePosition
impl Sync for ChangePosition
impl Unpin for ChangePosition
impl UnsafeUnpin for ChangePosition
impl UnwindSafe for ChangePosition
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.