pub struct PrettyValue {
pub value: i64,
pub unit: PrettyUnit,
}Fields§
§value: i64§unit: PrettyUnitTrait Implementations§
Source§impl Clone for PrettyValue
impl Clone for PrettyValue
Source§fn clone(&self) -> PrettyValue
fn clone(&self) -> PrettyValue
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 PrettyValue
Source§impl Debug for PrettyValue
impl Debug for PrettyValue
Source§impl Display for PrettyValue
impl Display for PrettyValue
impl Eq for PrettyValue
Source§impl Hash for PrettyValue
impl Hash for PrettyValue
Source§impl PartialEq for PrettyValue
impl PartialEq for PrettyValue
impl StructuralPartialEq for PrettyValue
Auto Trait Implementations§
impl Freeze for PrettyValue
impl RefUnwindSafe for PrettyValue
impl Send for PrettyValue
impl Sync for PrettyValue
impl Unpin for PrettyValue
impl UnsafeUnpin for PrettyValue
impl UnwindSafe for PrettyValue
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