pub struct PerformanceGates {
pub max_render_time_ms: u32,
pub max_bundle_size_kb: u32,
pub max_memory_mb: u32,
}Expand description
Performance quality gates.
Fields§
§max_render_time_ms: u32Maximum render time in milliseconds (60fps = 16ms)
max_bundle_size_kb: u32Maximum bundle size in KB
max_memory_mb: u32Maximum memory usage in MB
Trait Implementations§
Source§impl Clone for PerformanceGates
impl Clone for PerformanceGates
Source§fn clone(&self) -> PerformanceGates
fn clone(&self) -> PerformanceGates
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 PerformanceGates
impl Debug for PerformanceGates
Source§impl Default for PerformanceGates
impl Default for PerformanceGates
Source§impl<'de> Deserialize<'de> for PerformanceGates
impl<'de> Deserialize<'de> for PerformanceGates
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 PartialEq for PerformanceGates
impl PartialEq for PerformanceGates
Source§impl Serialize for PerformanceGates
impl Serialize for PerformanceGates
impl StructuralPartialEq for PerformanceGates
Auto Trait Implementations§
impl Freeze for PerformanceGates
impl RefUnwindSafe for PerformanceGates
impl Send for PerformanceGates
impl Sync for PerformanceGates
impl Unpin for PerformanceGates
impl UnwindSafe for PerformanceGates
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