pub struct MandatoryCapacity {
pub debt: WideResourceVector,
pub absolute_fit: bool,
pub debt_within_mandatory_bound: bool,
}Expand description
Results of the mandatory-class debt and absolute-fit formulas.
Fields§
§debt: WideResourceVectorExact componentwise post-transaction debt.
absolute_fit: boolWhether B' + K_remaining' <= cap holds componentwise.
debt_within_mandatory_bound: boolWhether d' <= Q holds componentwise.
Implementations§
Trait Implementations§
Source§impl Clone for MandatoryCapacity
impl Clone for MandatoryCapacity
Source§fn clone(&self) -> MandatoryCapacity
fn clone(&self) -> MandatoryCapacity
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 Copy for MandatoryCapacity
Source§impl Debug for MandatoryCapacity
impl Debug for MandatoryCapacity
impl Eq for MandatoryCapacity
Source§impl PartialEq for MandatoryCapacity
impl PartialEq for MandatoryCapacity
impl StructuralPartialEq for MandatoryCapacity
Auto Trait Implementations§
impl Freeze for MandatoryCapacity
impl RefUnwindSafe for MandatoryCapacity
impl Send for MandatoryCapacity
impl Sync for MandatoryCapacity
impl Unpin for MandatoryCapacity
impl UnsafeUnpin for MandatoryCapacity
impl UnwindSafe for MandatoryCapacity
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