pub struct CodeLocation {
pub line: u32,
pub column: u32,
pub num_executions: u32,
pub time: f64,
}Expand description
Code location (line number and column).
Fields§
§line: u32§column: u32§num_executions: u32§time: f64Trait Implementations§
Source§impl Clone for CodeLocation
impl Clone for CodeLocation
Source§fn clone(&self) -> CodeLocation
fn clone(&self) -> CodeLocation
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 CodeLocation
impl Debug for CodeLocation
Source§impl Default for CodeLocation
impl Default for CodeLocation
Source§fn default() -> CodeLocation
fn default() -> CodeLocation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CodeLocationwhere
CodeLocation: Default,
impl<'de> Deserialize<'de> for CodeLocationwhere
CodeLocation: Default,
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
Auto Trait Implementations§
impl Freeze for CodeLocation
impl RefUnwindSafe for CodeLocation
impl Send for CodeLocation
impl Sync for CodeLocation
impl Unpin for CodeLocation
impl UnwindSafe for CodeLocation
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