pub struct Dmax {
pub last: u32,
pub inner: u32,
}Expand description
A statement’s dmax for its last operation, the one whose result the receivers take, and for every operation below it.
Fields§
§last: u32§inner: u32Implementations§
Source§impl Dmax
impl Dmax
Sourcepub const fn receiver(scale: u32, rounded: bool, dialect: Dialect) -> Self
pub const fn receiver(scale: u32, rounded: bool, dialect: Dialect) -> Self
The decimal places a receiver of scale counts for: under ROUNDED one more, the digit
rounding reads, in every operation (Dialect::Ibm) or in the last alone
(Dialect::Gnucobol). See crate::assumptions::ROUNDED_EXTRA_PLACE.
pub fn max(self, other: Self) -> Self
Trait Implementations§
impl Copy for Dmax
impl Eq for Dmax
impl StructuralPartialEq for Dmax
Auto Trait Implementations§
impl Freeze for Dmax
impl RefUnwindSafe for Dmax
impl Send for Dmax
impl Sync for Dmax
impl Unpin for Dmax
impl UnsafeUnpin for Dmax
impl UnwindSafe for Dmax
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