pub struct SumElement<T: 'static + Clone + Zero + WrappingAdd + WrappingSub> { /* private fields */ }
Expand description
A single element of the sum.
See module level documentation for an example of usage.
Implementations§
Source§impl<T: 'static + Zero + Clone + WrappingAdd + WrappingSub> SumElement<T>
impl<T: 'static + Zero + Clone + WrappingAdd + WrappingSub> SumElement<T>
Trait Implementations§
Source§impl<T: 'static + Clone + Zero + WrappingAdd + WrappingSub> Drop for SumElement<T>
impl<T: 'static + Clone + Zero + WrappingAdd + WrappingSub> Drop for SumElement<T>
Source§impl<T: 'static + Clone + Zero + WrappingAdd + WrappingSub> SignalReceiver<T, SumHandle> for SumElement<T>
impl<T: 'static + Clone + Zero + WrappingAdd + WrappingSub> SignalReceiver<T, SumHandle> for SumElement<T>
Auto Trait Implementations§
impl<T> !Freeze for SumElement<T>
impl<T> !RefUnwindSafe for SumElement<T>
impl<T> !Send for SumElement<T>
impl<T> !Sync for SumElement<T>
impl<T> Unpin for SumElement<T>where
T: Unpin,
impl<T> !UnwindSafe for SumElement<T>
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