/// Get the name of this comparison operator.
///
/// # Examples
///
/// ```
/// use version_compare::CompOp;
///
/// assert_eq!(CompOp::Eq.name(), "eq");
/// assert_eq!(CompOp::Lt.name(), "lt");
/// assert_eq!(CompOp::Ge.name(), "ge");
/// ```
Get the name of this comparison operator.
Get the name of this comparison operator .
pub fn name(&self) -> &str {
        match self {
            &CompOp::Eq => "eq",
            &CompOp::Ne => "ne",
            &CompOp::Lt => "lt",
            &CompOp::Le => "le",
            &CompOp::Ge => "ge",
            &CompOp::Gt => "gt",
        }
    }
pub fn name ( & self ) -> & str { match self { & CompOp :: Eq => " " , & CompOp :: Ne => " " , & CompOp :: Lt => " " , & CompOp :: Le => " " , & CompOp :: Ge => " " , & CompOp :: Gt => " " , } }
Get the name of this comparison operator.
Get the name of this comparison operator .
&self
examples
```
use version_compare::CompOp.


` ` ` use version_compare :: CompOp .