pub struct InstrumentedCodeAndMetadata {
pub instrumented_code: InstrumentedCode,
pub metadata: CodeMetadata,
}Expand description
The newtype contains the InstrumentedCode instance and the corresponding metadata.
Fields§
§instrumented_code: InstrumentedCodeInstrumented code.
metadata: CodeMetadataCode metadata.
Implementations§
Source§impl InstrumentedCodeAndMetadata
impl InstrumentedCodeAndMetadata
Sourcepub fn into_parts(self) -> (InstrumentedCode, CodeMetadata)
pub fn into_parts(self) -> (InstrumentedCode, CodeMetadata)
Decomposes this instance into parts.
Trait Implementations§
Source§impl Clone for InstrumentedCodeAndMetadata
impl Clone for InstrumentedCodeAndMetadata
Source§fn clone(&self) -> InstrumentedCodeAndMetadata
fn clone(&self) -> InstrumentedCodeAndMetadata
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 InstrumentedCodeAndMetadata
impl Debug for InstrumentedCodeAndMetadata
Auto Trait Implementations§
impl Freeze for InstrumentedCodeAndMetadata
impl RefUnwindSafe for InstrumentedCodeAndMetadata
impl Send for InstrumentedCodeAndMetadata
impl Sync for InstrumentedCodeAndMetadata
impl Unpin for InstrumentedCodeAndMetadata
impl UnwindSafe for InstrumentedCodeAndMetadata
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