pub struct Revision(pub u32);
Expand description
Mercurial revision’s index.
Tuple Fields§
§0: u32
Implementations§
Trait Implementations§
Source§impl<'a> IntoIterator for &'a Revision
Convert a Revision
into an iterator of Revision
values
starting at Revision
’s value. ie, Revision
(2).into_iter() => Revision
(2), Revision
(3), …
impl<'a> IntoIterator for &'a Revision
Convert a Revision
into an iterator of Revision
values
starting at Revision
’s value. ie, Revision
(2).into_iter() => Revision
(2), Revision
(3), …
Source§impl Ord for Revision
impl Ord for Revision
Source§impl PartialOrd for Revision
impl PartialOrd for Revision
impl Copy for Revision
impl Eq for Revision
impl StructuralPartialEq for Revision
Auto Trait Implementations§
impl Freeze for Revision
impl RefUnwindSafe for Revision
impl Send for Revision
impl Sync for Revision
impl Unpin for Revision
impl UnwindSafe for Revision
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more