pub struct SemanticPhase {
pub name: String,
pub duration_ns: u64,
}Expand description
Flat semantic phase timing captured during a benchmark run.
Fields§
§name: String§duration_ns: u64Trait Implementations§
Source§impl Clone for SemanticPhase
impl Clone for SemanticPhase
Source§fn clone(&self) -> SemanticPhase
fn clone(&self) -> SemanticPhase
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 SemanticPhase
impl Debug for SemanticPhase
Source§impl<'de> Deserialize<'de> for SemanticPhase
impl<'de> Deserialize<'de> for SemanticPhase
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<SemanticPhase> for SemanticPhaseFfi
impl From<SemanticPhase> for SemanticPhaseFfi
Source§fn from(phase: SemanticPhase) -> Self
fn from(phase: SemanticPhase) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SemanticPhase
impl PartialEq for SemanticPhase
Source§impl Serialize for SemanticPhase
impl Serialize for SemanticPhase
impl Eq for SemanticPhase
impl StructuralPartialEq for SemanticPhase
Auto Trait Implementations§
impl Freeze for SemanticPhase
impl RefUnwindSafe for SemanticPhase
impl Send for SemanticPhase
impl Sync for SemanticPhase
impl Unpin for SemanticPhase
impl UnsafeUnpin for SemanticPhase
impl UnwindSafe for SemanticPhase
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