Enum alpm::PackageReason
source · #[repr(u32)]pub enum PackageReason {
Explicit = 0,
Depend = 1,
}
Variants§
Trait Implementations§
source§impl Clone for PackageReason
impl Clone for PackageReason
source§fn clone(&self) -> PackageReason
fn clone(&self) -> PackageReason
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 PackageReason
impl Debug for PackageReason
source§impl Hash for PackageReason
impl Hash for PackageReason
source§impl Ord for PackageReason
impl Ord for PackageReason
source§fn cmp(&self, other: &PackageReason) -> Ordering
fn cmp(&self, other: &PackageReason) -> 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 PackageReason
impl PartialEq for PackageReason
source§fn eq(&self, other: &PackageReason) -> bool
fn eq(&self, other: &PackageReason) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for PackageReason
impl PartialOrd for PackageReason
source§fn partial_cmp(&self, other: &PackageReason) -> Option<Ordering>
fn partial_cmp(&self, other: &PackageReason) -> 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 PackageReason
impl Eq for PackageReason
impl StructuralEq for PackageReason
impl StructuralPartialEq for PackageReason
Auto Trait Implementations§
impl RefUnwindSafe for PackageReason
impl Send for PackageReason
impl Sync for PackageReason
impl Unpin for PackageReason
impl UnwindSafe for PackageReason
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