pub struct Capacity { /* private fields */ }Implementations§
Source§impl Capacity
impl Capacity
pub const fn new() -> Self
pub fn plan( &mut self, measured: &Counters, inputs: &RigidInputs, idle: bool, pairs: u32, current: &RigidStreams, ) -> RigidDemand
pub fn floor(pairs: u32) -> RigidDemand
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Capacity
impl RefUnwindSafe for Capacity
impl Send for Capacity
impl Sync for Capacity
impl Unpin for Capacity
impl UnsafeUnpin for Capacity
impl UnwindSafe for Capacity
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