pub struct BudgetBlock {
pub label: String,
pub memory: u64,
pub profile: Option<usize>,
}Expand description
A profile’s slots or the mirror, as a budget preview draws it, from Config::budget_blocks.
Fields§
§label: StringWhat it is: jvm ×2 or mirror.
memory: u64In bytes.
profile: Option<usize>The profile’s index in the config’s order; None for the mirror.
Trait Implementations§
Source§impl Clone for BudgetBlock
impl Clone for BudgetBlock
Source§impl Debug for BudgetBlock
impl Debug for BudgetBlock
impl Eq for BudgetBlock
Source§impl PartialEq for BudgetBlock
impl PartialEq for BudgetBlock
impl StructuralPartialEq for BudgetBlock
Auto Trait Implementations§
impl Freeze for BudgetBlock
impl RefUnwindSafe for BudgetBlock
impl Send for BudgetBlock
impl Sync for BudgetBlock
impl Unpin for BudgetBlock
impl UnsafeUnpin for BudgetBlock
impl UnwindSafe for BudgetBlock
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.