Struct alpm_sys::_alpm_event_hook_run_t
source · #[repr(C)]pub struct _alpm_event_hook_run_t {
pub type_: alpm_event_type_t,
pub name: *const c_char,
pub desc: *const c_char,
pub position: usize,
pub total: usize,
}
Expand description
A pre/post transaction hook was ran.
Fields§
§type_: alpm_event_type_t
Type of event
name: *const c_char
Name of hook
desc: *const c_char
Description of hook to be outputted
position: usize
position of hook being run
total: usize
total hooks being run
Trait Implementations§
source§impl Clone for _alpm_event_hook_run_t
impl Clone for _alpm_event_hook_run_t
source§fn clone(&self) -> _alpm_event_hook_run_t
fn clone(&self) -> _alpm_event_hook_run_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_event_hook_run_t
impl Debug for _alpm_event_hook_run_t
impl Copy for _alpm_event_hook_run_t
Auto Trait Implementations§
impl RefUnwindSafe for _alpm_event_hook_run_t
impl !Send for _alpm_event_hook_run_t
impl !Sync for _alpm_event_hook_run_t
impl Unpin for _alpm_event_hook_run_t
impl UnwindSafe for _alpm_event_hook_run_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