Struct semver_parser::Comparator[][src]

pub struct Comparator {
    pub op: Op,
    pub major: u64,
    pub minor: u64,
    pub patch: u64,
    pub pre: Vec<Identifier>,
}

Fields

op: Opmajor: u64minor: u64patch: u64pre: Vec<Identifier>

Trait Implementations

impl Clone for Comparator[src]

impl Debug for Comparator[src]

impl Eq for Comparator[src]

impl Hash for Comparator[src]

impl Ord for Comparator[src]

impl PartialEq<Comparator> for Comparator[src]

impl PartialOrd<Comparator> for Comparator[src]

impl StructuralEq for Comparator[src]

impl StructuralPartialEq for Comparator[src]

Auto Trait Implementations

impl RefUnwindSafe for Comparator

impl Send for Comparator

impl Sync for Comparator

impl Unpin for Comparator

impl UnwindSafe for Comparator

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.