Struct alpm::DownloadEventProgress
source · pub struct DownloadEventProgress {
pub downloaded: i64,
pub total: i64,
}
Fields§
§downloaded: i64
§total: i64
Trait Implementations§
source§impl Clone for DownloadEventProgress
impl Clone for DownloadEventProgress
source§fn clone(&self) -> DownloadEventProgress
fn clone(&self) -> DownloadEventProgress
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 DownloadEventProgress
impl Debug for DownloadEventProgress
source§impl Hash for DownloadEventProgress
impl Hash for DownloadEventProgress
source§impl Ord for DownloadEventProgress
impl Ord for DownloadEventProgress
source§fn cmp(&self, other: &DownloadEventProgress) -> Ordering
fn cmp(&self, other: &DownloadEventProgress) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for DownloadEventProgress
impl PartialEq for DownloadEventProgress
source§fn eq(&self, other: &DownloadEventProgress) -> bool
fn eq(&self, other: &DownloadEventProgress) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DownloadEventProgress
impl PartialOrd for DownloadEventProgress
source§fn partial_cmp(&self, other: &DownloadEventProgress) -> Option<Ordering>
fn partial_cmp(&self, other: &DownloadEventProgress) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for DownloadEventProgress
impl Eq for DownloadEventProgress
impl StructuralEq for DownloadEventProgress
impl StructuralPartialEq for DownloadEventProgress
Auto Trait Implementations§
impl RefUnwindSafe for DownloadEventProgress
impl Send for DownloadEventProgress
impl Sync for DownloadEventProgress
impl Unpin for DownloadEventProgress
impl UnwindSafe for DownloadEventProgress
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