Enum alpm::QuestionType
source · #[repr(u32)]pub enum QuestionType {
InstallIgnorepkg = 1,
ReplacePkg = 2,
ConflictPkg = 4,
CorruptedPkg = 8,
RemovePkgs = 16,
SelectProvider = 32,
ImportKey = 64,
}
Variants§
InstallIgnorepkg = 1
ReplacePkg = 2
ConflictPkg = 4
CorruptedPkg = 8
RemovePkgs = 16
SelectProvider = 32
ImportKey = 64
Trait Implementations§
source§impl Clone for QuestionType
impl Clone for QuestionType
source§fn clone(&self) -> QuestionType
fn clone(&self) -> QuestionType
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 QuestionType
impl Debug for QuestionType
source§impl Hash for QuestionType
impl Hash for QuestionType
source§impl Ord for QuestionType
impl Ord for QuestionType
source§fn cmp(&self, other: &QuestionType) -> Ordering
fn cmp(&self, other: &QuestionType) -> 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 QuestionType
impl PartialEq for QuestionType
source§fn eq(&self, other: &QuestionType) -> bool
fn eq(&self, other: &QuestionType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for QuestionType
impl PartialOrd for QuestionType
source§fn partial_cmp(&self, other: &QuestionType) -> Option<Ordering>
fn partial_cmp(&self, other: &QuestionType) -> 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 QuestionType
impl Eq for QuestionType
impl StructuralEq for QuestionType
impl StructuralPartialEq for QuestionType
Auto Trait Implementations§
impl RefUnwindSafe for QuestionType
impl Send for QuestionType
impl Sync for QuestionType
impl Unpin for QuestionType
impl UnwindSafe for QuestionType
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