pub struct Subtotal<X = Comparand> {
pub sum: usize,
pub operand: X,
pub adding: Adding,
}Fields§
§sum: usize§operand: X§adding: AddingTrait Implementations§
impl<X: Eq> Eq for Subtotal<X>
impl<X: PartialEq> StructuralPartialEq for Subtotal<X>
Auto Trait Implementations§
impl<X> Freeze for Subtotal<X>where
X: Freeze,
impl<X> RefUnwindSafe for Subtotal<X>where
X: RefUnwindSafe,
impl<X> Send for Subtotal<X>where
X: Send,
impl<X> Sync for Subtotal<X>where
X: Sync,
impl<X> Unpin for Subtotal<X>where
X: Unpin,
impl<X> UnsafeUnpin for Subtotal<X>where
X: UnsafeUnpin,
impl<X> UnwindSafe for Subtotal<X>where
X: UnwindSafe,
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