#[repr(C)]pub struct _alpm_download_event_progress_t {
pub downloaded: off_t,
pub total: off_t,
}
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§
source§impl Clone for _alpm_download_event_progress_t
impl Clone for _alpm_download_event_progress_t
source§fn 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 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl 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§
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