Struct libpijul::pristine::ChangePosition
source · pub struct ChangePosition(pub L64);
Expand description
The position of a byte within a change.
Tuple Fields§
§0: L64
Trait 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 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 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
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 · 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<ChangePosition> for ChangePosition
impl PartialEq<ChangePosition> for ChangePosition
source§fn eq(&self, other: &ChangePosition) -> bool
fn eq(&self, other: &ChangePosition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ChangePosition> for ChangePosition
impl PartialOrd<ChangePosition> for ChangePosition
source§fn partial_cmp(&self, other: &ChangePosition) -> Option<Ordering>
fn partial_cmp(&self, other: &ChangePosition) -> 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 moresource§impl Serialize for ChangePosition
impl Serialize for ChangePosition
source§impl Sub<ChangePosition> for ChangePosition
impl Sub<ChangePosition> for ChangePosition
impl Copy for ChangePosition
impl Eq for ChangePosition
impl StructuralEq for ChangePosition
impl StructuralPartialEq for ChangePosition
Auto Trait Implementations§
impl RefUnwindSafe for ChangePosition
impl Send for ChangePosition
impl Sync for ChangePosition
impl Unpin 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