pub struct PostCSSDevTools { /* private fields */ }Expand description
PostCSS development tools
Implementations§
Source§impl PostCSSDevTools
impl PostCSSDevTools
Sourcepub fn debug_processing(
&self,
css: &str,
steps: &[ProcessingStep],
) -> Result<DebugResult, AdvancedFeatureError>
pub fn debug_processing( &self, css: &str, steps: &[ProcessingStep], ) -> Result<DebugResult, AdvancedFeatureError>
Debug CSS processing
Sourcepub fn inspect_css(
&self,
css: &str,
) -> Result<InspectionResult, AdvancedFeatureError>
pub fn inspect_css( &self, css: &str, ) -> Result<InspectionResult, AdvancedFeatureError>
Inspect CSS structure
Sourcepub fn format_css(
&self,
css: &str,
options: &FormatOptions,
) -> Result<String, AdvancedFeatureError>
pub fn format_css( &self, css: &str, options: &FormatOptions, ) -> Result<String, AdvancedFeatureError>
Format CSS code
Sourcepub fn analyze_css_structure(
&self,
css: &str,
) -> Result<AnalysisResult, AdvancedFeatureError>
pub fn analyze_css_structure( &self, css: &str, ) -> Result<AnalysisResult, AdvancedFeatureError>
Analyze CSS structure
Auto Trait Implementations§
impl Freeze for PostCSSDevTools
impl RefUnwindSafe for PostCSSDevTools
impl Send for PostCSSDevTools
impl Sync for PostCSSDevTools
impl Unpin for PostCSSDevTools
impl UnwindSafe for PostCSSDevTools
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