pub struct DecimalGrid {
pub origin: Decimal,
pub step: PositiveDecimal,
}Expand description
An exact decimal grid with an origin and positive step.
Fields§
§origin: Decimal§step: PositiveDecimalImplementations§
Trait Implementations§
Source§impl Clone for DecimalGrid
impl Clone for DecimalGrid
Source§fn clone(&self) -> DecimalGrid
fn clone(&self) -> DecimalGrid
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 DecimalGrid
Source§impl Debug for DecimalGrid
impl Debug for DecimalGrid
Source§impl<'de> Deserialize<'de> for DecimalGrid
impl<'de> Deserialize<'de> for DecimalGrid
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 DecimalGrid
Source§impl PartialEq for DecimalGrid
impl PartialEq for DecimalGrid
Source§impl Serialize for DecimalGrid
impl Serialize for DecimalGrid
impl StructuralPartialEq for DecimalGrid
Auto Trait Implementations§
impl Freeze for DecimalGrid
impl RefUnwindSafe for DecimalGrid
impl Send for DecimalGrid
impl Sync for DecimalGrid
impl Unpin for DecimalGrid
impl UnsafeUnpin for DecimalGrid
impl UnwindSafe for DecimalGrid
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