[][src]Struct alpm::Ver

#[repr(transparent)]
pub struct Ver(_);

Methods

impl Ver[src]

pub fn new(s: &CStr) -> &Ver[src]

pub unsafe fn from_ptr<'a>(s: *const c_char) -> &'a Ver[src]

Trait Implementations

impl<'a> From<&'a CStr> for &'a Ver[src]

impl PartialOrd<Ver> for Ver[src]

impl<'_> PartialOrd<Version> for &'_ Ver[src]

impl<'_> PartialOrd<&'_ Ver> for Version[src]

impl AsRef<str> for Ver[src]

impl AsRef<Ver> for Ver[src]

impl AsRef<Ver> for Version[src]

impl Eq for Ver[src]

impl Ord for Ver[src]

impl PartialEq<Ver> for Ver[src]

impl PartialEq<str> for Ver[src]

impl<'_> PartialEq<Version> for &'_ Ver[src]

impl<'_> PartialEq<&'_ Ver> for Version[src]

impl Deref for Ver[src]

type Target = str

The resulting type after dereferencing.

impl Debug for Ver[src]

impl Display for Ver[src]

impl Hash for Ver[src]

Auto Trait Implementations

impl Send for Ver

impl Sync for Ver

impl Unpin for Ver

impl RefUnwindSafe for Ver

impl UnwindSafe for Ver

Blanket Implementations

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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

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

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