pub struct FairShare;Expand description
Every holder gets its want when the capacity covers the sum; otherwise the capacity is split in proportion to the wants, with the integer remainder handed one unit at a time to the lowest slots that can use it. Changes apply immediately in both directions.
Trait Implementations§
Auto Trait Implementations§
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