pub struct OpKey {
pub resource_type: ResourceType,
pub op_type: OpType,
}Expand description
Key for operation count tracking: (resource type, operation type).
Fields§
§resource_type: ResourceType§op_type: OpTypeTrait Implementations§
impl Copy for OpKey
impl Eq for OpKey
impl StructuralPartialEq for OpKey
Auto Trait Implementations§
impl Freeze for OpKey
impl RefUnwindSafe for OpKey
impl Send for OpKey
impl Sync for OpKey
impl Unpin for OpKey
impl UnwindSafe for OpKey
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