Struct donet_core::dcnumeric::DCNumericRange
source · pub struct DCNumericRange {
pub min: DCNumber,
pub max: DCNumber,
}
Expand description
Numeric Range structs are used to represent a range of signed/unsigned integers or floating point numbers. Used for enforcing numeric limits within constraints of array, string, or blob sized types.
Fields§
§min: DCNumber
§max: DCNumber
Implementations§
Trait Implementations§
source§impl Clone for DCNumericRange
impl Clone for DCNumericRange
source§fn clone(&self) -> DCNumericRange
fn clone(&self) -> DCNumericRange
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 moreAuto Trait Implementations§
impl Freeze for DCNumericRange
impl RefUnwindSafe for DCNumericRange
impl Send for DCNumericRange
impl Sync for DCNumericRange
impl Unpin for DCNumericRange
impl UnwindSafe for DCNumericRange
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)