Struct branchless::util::GitVersion [−][src]
The parsed version of Git.
Trait Implementations
impl Debug for GitVersion
[src]
impl Eq for GitVersion
[src]
impl FromStr for GitVersion
[src]
type Err = Error
The associated error which can be returned from parsing.
fn from_str(output: &str) -> Result<GitVersion>
[src]
impl PartialEq<GitVersion> for GitVersion
[src]
fn eq(&self, other: &GitVersion) -> bool
[src]
fn ne(&self, other: &GitVersion) -> bool
[src]
impl PartialOrd<GitVersion> for GitVersion
[src]
fn partial_cmp(&self, other: &GitVersion) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for GitVersion
[src]
impl StructuralPartialEq for GitVersion
[src]
Auto Trait Implementations
impl RefUnwindSafe for GitVersion
impl Send for GitVersion
impl Sync for GitVersion
impl Unpin for GitVersion
impl UnwindSafe for GitVersion
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Erased for T
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> With for T
pub fn wrap_with<U, F>(self, f: F) -> U where
F: FnOnce(Self) -> U,
F: FnOnce(Self) -> U,
pub fn with<F>(self, f: F) -> Self where
F: FnOnce(&mut Self),
F: FnOnce(&mut Self),
pub fn try_with<E, F>(self, f: F) -> Result<Self, E> where
F: FnOnce(&mut Self) -> Result<(), E>,
F: FnOnce(&mut Self) -> Result<(), E>,
pub fn with_if<F>(self, condition: bool, f: F) -> Self where
F: FnOnce(&mut Self),
F: FnOnce(&mut Self),