pub struct Contribution<T> {
pub value: T,
pub composition: Composition,
pub priority: i32,
pub order: u64,
pub completed_iterations: u64,
}Fields§
§value: T§composition: Composition§priority: i32§order: u64§completed_iterations: u64Implementations§
Trait Implementations§
Source§impl<T: Clone> Clone for Contribution<T>
impl<T: Clone> Clone for Contribution<T>
Source§fn clone(&self) -> Contribution<T>
fn clone(&self) -> Contribution<T>
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<T: Copy> Copy for Contribution<T>
Source§impl<T: Debug> Debug for Contribution<T>
impl<T: Debug> Debug for Contribution<T>
Source§impl<T: PartialEq> PartialEq for Contribution<T>
impl<T: PartialEq> PartialEq for Contribution<T>
impl<T: PartialEq> StructuralPartialEq for Contribution<T>
Auto Trait Implementations§
impl<T> Freeze for Contribution<T>where
T: Freeze,
impl<T> RefUnwindSafe for Contribution<T>where
T: RefUnwindSafe,
impl<T> Send for Contribution<T>where
T: Send,
impl<T> Sync for Contribution<T>where
T: Sync,
impl<T> Unpin for Contribution<T>where
T: Unpin,
impl<T> UnsafeUnpin for Contribution<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Contribution<T>where
T: 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