Enum alpm_sys::_alpm_pkgreason_t
source · #[repr(u32)]pub enum _alpm_pkgreason_t {
ALPM_PKG_REASON_EXPLICIT = 0,
ALPM_PKG_REASON_DEPEND = 1,
}
Expand description
Package install reasons.
Variants§
ALPM_PKG_REASON_EXPLICIT = 0
Explicitly requested by the user.
ALPM_PKG_REASON_DEPEND = 1
Installed as a dependency for another package.
Trait Implementations§
source§impl Clone for _alpm_pkgreason_t
impl Clone for _alpm_pkgreason_t
source§fn clone(&self) -> _alpm_pkgreason_t
fn clone(&self) -> _alpm_pkgreason_t
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 _alpm_pkgreason_t
impl Debug for _alpm_pkgreason_t
source§impl Hash for _alpm_pkgreason_t
impl Hash for _alpm_pkgreason_t
source§impl PartialEq for _alpm_pkgreason_t
impl PartialEq for _alpm_pkgreason_t
source§fn eq(&self, other: &_alpm_pkgreason_t) -> bool
fn eq(&self, other: &_alpm_pkgreason_t) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for _alpm_pkgreason_t
impl Eq for _alpm_pkgreason_t
impl StructuralEq for _alpm_pkgreason_t
impl StructuralPartialEq for _alpm_pkgreason_t
Auto Trait Implementations§
impl RefUnwindSafe for _alpm_pkgreason_t
impl Send for _alpm_pkgreason_t
impl Sync for _alpm_pkgreason_t
impl Unpin for _alpm_pkgreason_t
impl UnwindSafe for _alpm_pkgreason_t
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