pub struct ValidDecimal(/* private fields */);Expand description
Implementations§
Source§impl ValidDecimal
impl ValidDecimal
Sourcepub fn new(value: f64) -> ValidDecimal
pub fn new(value: f64) -> ValidDecimal
Trait Implementations§
Source§impl Clone for ValidDecimal
impl Clone for ValidDecimal
Source§fn clone(&self) -> ValidDecimal
fn clone(&self) -> ValidDecimal
Returns a duplicate 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 ValidDecimal
impl Debug for ValidDecimal
Source§impl Default for ValidDecimal
impl Default for ValidDecimal
Source§impl Hash for ValidDecimal
impl Hash for ValidDecimal
Source§impl PartialEq for ValidDecimal
impl PartialEq for ValidDecimal
Source§impl PartialOrd for ValidDecimal
impl PartialOrd for ValidDecimal
impl Copy for ValidDecimal
impl Eq for ValidDecimal
impl StructuralPartialEq for ValidDecimal
Auto Trait Implementations§
impl Freeze for ValidDecimal
impl RefUnwindSafe for ValidDecimal
impl Send for ValidDecimal
impl Sync for ValidDecimal
impl Unpin for ValidDecimal
impl UnwindSafe for ValidDecimal
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