#[repr(u32)]pub enum _alpm_package_operation_t {
ALPM_PACKAGE_INSTALL = 1,
ALPM_PACKAGE_UPGRADE = 2,
ALPM_PACKAGE_REINSTALL = 3,
ALPM_PACKAGE_DOWNGRADE = 4,
ALPM_PACKAGE_REMOVE = 5,
}
Expand description
An enum over the kind of package operations.
Variants§
ALPM_PACKAGE_INSTALL = 1
Package (to be) installed. (No oldpkg)
ALPM_PACKAGE_UPGRADE = 2
Package (to be) upgraded
ALPM_PACKAGE_REINSTALL = 3
Package (to be) re-installed
ALPM_PACKAGE_DOWNGRADE = 4
Package (to be) downgraded
ALPM_PACKAGE_REMOVE = 5
Package (to be) removed (No newpkg)
Trait Implementations§
source§impl Clone for _alpm_package_operation_t
impl Clone for _alpm_package_operation_t
source§fn clone(&self) -> _alpm_package_operation_t
fn clone(&self) -> _alpm_package_operation_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_package_operation_t
impl Debug for _alpm_package_operation_t
source§impl Hash for _alpm_package_operation_t
impl Hash for _alpm_package_operation_t
source§impl PartialEq for _alpm_package_operation_t
impl PartialEq for _alpm_package_operation_t
source§fn eq(&self, other: &_alpm_package_operation_t) -> bool
fn eq(&self, other: &_alpm_package_operation_t) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for _alpm_package_operation_t
impl Eq for _alpm_package_operation_t
impl StructuralEq for _alpm_package_operation_t
impl StructuralPartialEq for _alpm_package_operation_t
Auto Trait Implementations§
impl RefUnwindSafe for _alpm_package_operation_t
impl Send for _alpm_package_operation_t
impl Sync for _alpm_package_operation_t
impl Unpin for _alpm_package_operation_t
impl UnwindSafe for _alpm_package_operation_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