pub struct InstructionCount {
pub count: u64,
pub unit: InstructionUnit,
}Expand description
How many instructions a program has, in the unit that says how they were counted.
Fields§
§count: u64The number of instructions counted.
unit: InstructionUnitWhat count counts; counts of different units are not comparable.
Trait Implementations§
Source§impl Clone for InstructionCount
impl Clone for InstructionCount
impl Copy for InstructionCount
Source§impl Debug for InstructionCount
impl Debug for InstructionCount
impl Eq for InstructionCount
Source§impl PartialEq for InstructionCount
impl PartialEq for InstructionCount
Source§impl Serialize for InstructionCount
impl Serialize for InstructionCount
impl StructuralPartialEq for InstructionCount
Auto Trait Implementations§
impl Freeze for InstructionCount
impl RefUnwindSafe for InstructionCount
impl Send for InstructionCount
impl Sync for InstructionCount
impl Unpin for InstructionCount
impl UnsafeUnpin for InstructionCount
impl UnwindSafe for InstructionCount
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