Struct alpm_sys::_alpm_question_replace_t
source · #[repr(C)]pub struct _alpm_question_replace_t {
pub type_: alpm_question_type_t,
pub replace: c_int,
pub oldpkg: *mut alpm_pkg_t,
pub newpkg: *mut alpm_pkg_t,
pub newdb: *mut alpm_db_t,
}
Expand description
Should a package be replaced?
Fields§
§type_: alpm_question_type_t
Type of question
replace: c_int
Answer: whether or not to replace oldpkg with newpkg
oldpkg: *mut alpm_pkg_t
Package to be replaced
newpkg: *mut alpm_pkg_t
Package to replace with.
newdb: *mut alpm_db_t
DB of newpkg
Trait Implementations§
source§impl Clone for _alpm_question_replace_t
impl Clone for _alpm_question_replace_t
source§fn clone(&self) -> _alpm_question_replace_t
fn clone(&self) -> _alpm_question_replace_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_question_replace_t
impl Debug for _alpm_question_replace_t
impl Copy for _alpm_question_replace_t
Auto Trait Implementations§
impl RefUnwindSafe for _alpm_question_replace_t
impl !Send for _alpm_question_replace_t
impl !Sync for _alpm_question_replace_t
impl Unpin for _alpm_question_replace_t
impl UnwindSafe for _alpm_question_replace_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