pub enum PKGVersion {
V1,
V2,
Unknown,
}Variants§
Trait Implementations§
Source§impl Clone for PKGVersion
impl Clone for PKGVersion
Source§fn clone(&self) -> PKGVersion
fn clone(&self) -> PKGVersion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PKGVersion
Source§impl Debug for PKGVersion
impl Debug for PKGVersion
Source§impl Default for PKGVersion
impl Default for PKGVersion
Source§fn default() -> PKGVersion
fn default() -> PKGVersion
Returns the “default value” for a type. Read more
impl Eq for PKGVersion
Source§impl From<&str> for PKGVersion
impl From<&str> for PKGVersion
Source§impl PartialEq for PKGVersion
impl PartialEq for PKGVersion
Source§fn eq(&self, other: &PKGVersion) -> bool
fn eq(&self, other: &PKGVersion) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PKGVersion
Auto Trait Implementations§
impl Freeze for PKGVersion
impl RefUnwindSafe for PKGVersion
impl Send for PKGVersion
impl Sync for PKGVersion
impl Unpin for PKGVersion
impl UnsafeUnpin for PKGVersion
impl UnwindSafe for PKGVersion
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more