#[repr(u32)]pub enum alpm_pkgfrom_t {
ALPM_PKG_FROM_FILE = 1,
ALPM_PKG_FROM_LOCALDB = 2,
ALPM_PKG_FROM_SYNCDB = 3,
}
Expand description
Location a package object was loaded from. Location a package object was loaded from.
Variants§
ALPM_PKG_FROM_FILE = 1
Loaded from a file via \link alpm_pkg_load \endlink
ALPM_PKG_FROM_LOCALDB = 2
From the local database
ALPM_PKG_FROM_SYNCDB = 3
From a sync database
Trait Implementations§
Source§impl Clone for _alpm_pkgfrom_t
impl Clone for _alpm_pkgfrom_t
Source§fn clone(&self) -> _alpm_pkgfrom_t
fn clone(&self) -> _alpm_pkgfrom_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_pkgfrom_t
impl Debug for _alpm_pkgfrom_t
Source§impl Hash for _alpm_pkgfrom_t
impl Hash for _alpm_pkgfrom_t
Source§impl PartialEq for _alpm_pkgfrom_t
impl PartialEq for _alpm_pkgfrom_t
impl Copy for _alpm_pkgfrom_t
impl Eq for _alpm_pkgfrom_t
impl StructuralPartialEq for _alpm_pkgfrom_t
Auto Trait Implementations§
impl Freeze for _alpm_pkgfrom_t
impl RefUnwindSafe for _alpm_pkgfrom_t
impl Send for _alpm_pkgfrom_t
impl Sync for _alpm_pkgfrom_t
impl Unpin for _alpm_pkgfrom_t
impl UnwindSafe for _alpm_pkgfrom_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