pub struct Violation {
pub event: u64,
pub heap: i64,
pub charged: i64,
}Expand description
An event whose heap passed its charges plus the allowance.
Fields§
§event: u64The event’s number since the arm.
heap: i64The heap it saw.
charged: i64The charges it saw.
Trait Implementations§
impl Copy for Violation
impl Eq for Violation
impl StructuralPartialEq for Violation
Auto Trait Implementations§
impl Forget for Violation
impl Freeze for Violation
impl Move for Violation
impl RefUnwindSafe for Violation
impl Send for Violation
impl Sync for Violation
impl Unpin for Violation
impl UnsafeUnpin for Violation
impl UnwindSafe for Violation
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