Expand description
Context struct for when a download progresses.
Fields
downloaded: off_t
Amount of data downloaded
total: off_t
Total amount need to be downloaded
Trait Implementations
sourceimpl Clone for _alpm_download_event_progress_t
impl Clone for _alpm_download_event_progress_t
sourcefn clone(&self) -> _alpm_download_event_progress_t
fn clone(&self) -> _alpm_download_event_progress_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_download_event_progress_t
Auto Trait Implementations
impl RefUnwindSafe for _alpm_download_event_progress_t
impl Send for _alpm_download_event_progress_t
impl Sync for _alpm_download_event_progress_t
impl Unpin for _alpm_download_event_progress_t
impl UnwindSafe for _alpm_download_event_progress_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