Struct asyncgit::ProgressPercent
source · pub struct ProgressPercent {
pub progress: u8,
}
Expand description
Fields§
§progress: u8
percent 0..100
Implementations§
Trait Implementations§
source§impl Clone for ProgressPercent
impl Clone for ProgressPercent
source§fn clone(&self) -> ProgressPercent
fn clone(&self) -> ProgressPercent
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 ProgressPercent
impl Debug for ProgressPercent
source§impl Default for ProgressPercent
impl Default for ProgressPercent
source§fn default() -> ProgressPercent
fn default() -> ProgressPercent
Returns the “default value” for a type. Read more
source§impl PartialEq for ProgressPercent
impl PartialEq for ProgressPercent
source§fn eq(&self, other: &ProgressPercent) -> bool
fn eq(&self, other: &ProgressPercent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ProgressPercent
impl Eq for ProgressPercent
impl StructuralPartialEq for ProgressPercent
Auto Trait Implementations§
impl RefUnwindSafe for ProgressPercent
impl Send for ProgressPercent
impl Sync for ProgressPercent
impl Unpin for ProgressPercent
impl UnwindSafe for ProgressPercent
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
source§impl<S, T> CastApprox<T> for Swhere
T: ConvApprox<S>,
impl<S, T> CastApprox<T> for Swhere
T: ConvApprox<S>,
source§fn try_cast_approx(self) -> Result<T, Error>
fn try_cast_approx(self) -> Result<T, Error>
source§fn cast_approx(self) -> T
fn cast_approx(self) -> T
source§impl<S, T> CastFloat<T> for Swhere
T: ConvFloat<S>,
impl<S, T> CastFloat<T> for Swhere
T: ConvFloat<S>,
source§fn cast_trunc(self) -> T
fn cast_trunc(self) -> T
Cast to integer, truncating Read more
source§fn cast_nearest(self) -> T
fn cast_nearest(self) -> T
Cast to the nearest integer Read more
source§fn cast_floor(self) -> T
fn cast_floor(self) -> T
Cast the floor to an integer Read more