Struct sway_utils::performance::PerformanceData  
source · pub struct PerformanceData {
    pub bytecode_size: usize,
    pub metrics: Vec<PerformanceMetric>,
    pub reused_modules: u64,
}Fields§
§bytecode_size: usize§metrics: Vec<PerformanceMetric>§reused_modules: u64Trait Implementations§
source§impl Clone for PerformanceData
 
impl Clone for PerformanceData
source§fn clone(&self) -> PerformanceData
 
fn clone(&self) -> PerformanceData
Returns a copy 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 PerformanceData
 
impl Debug for PerformanceData
source§impl Default for PerformanceData
 
impl Default for PerformanceData
source§fn default() -> PerformanceData
 
fn default() -> PerformanceData
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PerformanceData
 
impl<'de> Deserialize<'de> for PerformanceData
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 PerformanceData
impl RefUnwindSafe for PerformanceData
impl Send for PerformanceData
impl Sync for PerformanceData
impl Unpin for PerformanceData
impl UnwindSafe for PerformanceData
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