pub struct ProgressValue(/* private fields */);Expand description
An equality-safe normalized progress value.
Construction rejects NaN, infinities, and values outside 0.0..=1.0, allowing progress
notifications to retain exact equality and lossless process-isolation serialization.
Implementations§
Trait Implementations§
Source§impl Clone for ProgressValue
impl Clone for ProgressValue
Source§fn clone(&self) -> ProgressValue
fn clone(&self) -> ProgressValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProgressValue
Source§impl Debug for ProgressValue
impl Debug for ProgressValue
Source§impl<'de> Deserialize<'de> for ProgressValue
impl<'de> Deserialize<'de> for ProgressValue
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ProgressValue
Source§impl PartialEq for ProgressValue
impl PartialEq for ProgressValue
Source§impl Serialize for ProgressValue
impl Serialize for ProgressValue
impl StructuralPartialEq for ProgressValue
Auto Trait Implementations§
impl Freeze for ProgressValue
impl RefUnwindSafe for ProgressValue
impl Send for ProgressValue
impl Sync for ProgressValue
impl Unpin for ProgressValue
impl UnsafeUnpin for ProgressValue
impl UnwindSafe for ProgressValue
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