Enum alpm::PackageFrom
source · #[repr(u32)]pub enum PackageFrom {
File = 1,
LocalDb = 2,
SyncDb = 3,
}
Variants§
Trait Implementations§
source§impl Clone for PackageFrom
impl Clone for PackageFrom
source§fn clone(&self) -> PackageFrom
fn clone(&self) -> PackageFrom
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PackageFrom
impl Debug for PackageFrom
source§impl Hash for PackageFrom
impl Hash for PackageFrom
source§impl Ord for PackageFrom
impl Ord for PackageFrom
source§fn cmp(&self, other: &PackageFrom) -> Ordering
fn cmp(&self, other: &PackageFrom) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for PackageFrom
impl PartialEq for PackageFrom
source§fn eq(&self, other: &PackageFrom) -> bool
fn eq(&self, other: &PackageFrom) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for PackageFrom
impl PartialOrd for PackageFrom
source§fn partial_cmp(&self, other: &PackageFrom) -> Option<Ordering>
fn partial_cmp(&self, other: &PackageFrom) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for PackageFrom
impl Eq for PackageFrom
impl StructuralEq for PackageFrom
impl StructuralPartialEq for PackageFrom
Auto Trait Implementations§
impl RefUnwindSafe for PackageFrom
impl Send for PackageFrom
impl Sync for PackageFrom
impl Unpin for PackageFrom
impl UnwindSafe for PackageFrom
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