Struct lucky_commit::HashPrefix [−][src]
pub struct HashPrefix<H: GitHash> { /* fields omitted */ }
Expand description
Defines a desired target prefix for a commit hash.
Implementations
Trait Implementations
impl<H: PartialEq + GitHash> PartialEq<HashPrefix<H>> for HashPrefix<H> where
H::State: PartialEq,
H::State: PartialEq,
impl<H: PartialEq + GitHash> PartialEq<HashPrefix<H>> for HashPrefix<H> where
H::State: PartialEq,
H::State: PartialEq,
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<H> RefUnwindSafe for HashPrefix<H> where
<H as GitHash>::State: RefUnwindSafe,
impl<H> Send for HashPrefix<H>
impl<H> Sync for HashPrefix<H> where
<H as GitHash>::State: Sync,
impl<H> Unpin for HashPrefix<H> where
<H as GitHash>::State: Unpin,
impl<H> UnwindSafe for HashPrefix<H> where
<H as GitHash>::State: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more