pub struct BackgroundUsed {
pub share: f64,
pub sign: f64,
pub needed_share: f64,
pub needed_sign: f64,
}Expand description
The background actually used: both values chosen or given.
Fields§
EdDSA’s % of the budget.
sign: f64Ed25519 sign’s % of the background.
What the planner would choose for share (layout’s automatic
value): the EdDSA share the DSig chip actually needs.
needed_sign: f64What it would choose for sign at share.
Trait Implementations§
Source§impl Clone for BackgroundUsed
impl Clone for BackgroundUsed
Source§fn clone(&self) -> BackgroundUsed
fn clone(&self) -> BackgroundUsed
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BackgroundUsed
impl Debug for BackgroundUsed
Source§impl Default for BackgroundUsed
impl Default for BackgroundUsed
Source§fn default() -> BackgroundUsed
fn default() -> BackgroundUsed
Returns the “default value” for a type. Read more
Source§impl PartialEq for BackgroundUsed
impl PartialEq for BackgroundUsed
impl Copy for BackgroundUsed
impl StructuralPartialEq for BackgroundUsed
Auto Trait Implementations§
impl Freeze for BackgroundUsed
impl RefUnwindSafe for BackgroundUsed
impl Send for BackgroundUsed
impl Sync for BackgroundUsed
impl Unpin for BackgroundUsed
impl UnsafeUnpin for BackgroundUsed
impl UnwindSafe for BackgroundUsed
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more