pub struct PostCSSPerformanceMonitor { /* private fields */ }Expand description
PostCSS performance monitor
Implementations§
Source§impl PostCSSPerformanceMonitor
impl PostCSSPerformanceMonitor
Sourcepub fn start_monitoring(&mut self, operation: &str) -> PerformanceTimer
pub fn start_monitoring(&mut self, operation: &str) -> PerformanceTimer
Start performance monitoring
Sourcepub fn record_metrics(&mut self, operation: &str, metrics: OperationMetrics)
pub fn record_metrics(&mut self, operation: &str, metrics: OperationMetrics)
Record performance metrics
Sourcepub fn generate_report(&self) -> PerformanceReport
pub fn generate_report(&self) -> PerformanceReport
Generate performance report
Sourcepub fn monitor_processing_pipeline(
&mut self,
css: &str,
pipeline: &ProcessingPipeline,
) -> Result<String, AdvancedFeatureError>
pub fn monitor_processing_pipeline( &mut self, css: &str, pipeline: &ProcessingPipeline, ) -> Result<String, AdvancedFeatureError>
Monitor processing pipeline
Auto Trait Implementations§
impl Freeze for PostCSSPerformanceMonitor
impl RefUnwindSafe for PostCSSPerformanceMonitor
impl Send for PostCSSPerformanceMonitor
impl Sync for PostCSSPerformanceMonitor
impl Unpin for PostCSSPerformanceMonitor
impl UnwindSafe for PostCSSPerformanceMonitor
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more