Struct alpm_sys::_alpm_question_replace_t [−][src]
#[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
impl Clone for _alpm_question_replace_t[src]
impl Clone for _alpm_question_replace_t[src]fn clone(&self) -> _alpm_question_replace_t[src]
fn clone(&self) -> _alpm_question_replace_t[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for _alpm_question_replace_t[src]
impl Debug for _alpm_question_replace_t[src]impl Copy for _alpm_question_replace_t[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more