#[repr(C)]pub struct _alpm_event_package_operation_t {
pub type_: alpm_event_type_t,
pub operation: alpm_package_operation_t,
pub oldpkg: *mut alpm_pkg_t,
pub newpkg: *mut alpm_pkg_t,
}
Expand description
A package operation event occurred.
Fields
type_: alpm_event_type_t
Type of event
operation: alpm_package_operation_t
Type of operation
oldpkg: *mut alpm_pkg_t
Old package
newpkg: *mut alpm_pkg_t
New package
Trait Implementations
sourceimpl Clone for _alpm_event_package_operation_t
impl Clone for _alpm_event_package_operation_t
sourcefn clone(&self) -> _alpm_event_package_operation_t
fn clone(&self) -> _alpm_event_package_operation_t
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for _alpm_event_package_operation_t
Auto Trait Implementations
impl RefUnwindSafe for _alpm_event_package_operation_t
impl !Send for _alpm_event_package_operation_t
impl !Sync for _alpm_event_package_operation_t
impl Unpin for _alpm_event_package_operation_t
impl UnwindSafe for _alpm_event_package_operation_t
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more