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_tType of question
replace: c_intAnswer: whether or not to replace oldpkg with newpkg
oldpkg: *mut alpm_pkg_tPackage to be replaced
newpkg: *mut alpm_pkg_tPackage to replace with.
newdb: *mut alpm_db_tDB 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 Freeze for _alpm_question_replace_t
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)