pub enum TransformPassKind {
Show 40 variants
WhitespaceStrip,
CommentStrip,
NumberCompression,
UnitNormalization,
ColorCompression,
UrlQuoteStrip,
StringQuoteNormalize,
SelectorIsWhereCompression,
ShorthandCombining,
RuleDeduplication,
RuleMerging,
SelectorMerging,
EmptyRuleRemoval,
VendorPrefixing,
LightDarkLowering,
ColorMixLowering,
OklchOklabLowering,
ColorFunctionLowering,
LogicalToPhysical,
NestingUnwrap,
ScopeFlatten,
LayerFlatten,
SupportsStaticEval,
MediaStaticEval,
CalcReduction,
ImportInline,
ScssModuleEvaluate,
LessModuleEvaluate,
HashCssModuleClassNames,
ResolveCssModulesComposes,
ValueResolution,
StaticVarSubstitution,
TreeShakeClass,
TreeShakeKeyframes,
TreeShakeValue,
TreeShakeCustomProperty,
DeadMediaBranchRemoval,
DeadSupportsBranchRemoval,
DesignTokenRouting,
PrintCss,
}Variants§
WhitespaceStrip
CommentStrip
NumberCompression
UnitNormalization
ColorCompression
UrlQuoteStrip
StringQuoteNormalize
SelectorIsWhereCompression
ShorthandCombining
RuleDeduplication
RuleMerging
SelectorMerging
EmptyRuleRemoval
VendorPrefixing
LightDarkLowering
ColorMixLowering
OklchOklabLowering
ColorFunctionLowering
LogicalToPhysical
NestingUnwrap
ScopeFlatten
LayerFlatten
SupportsStaticEval
MediaStaticEval
CalcReduction
ImportInline
ScssModuleEvaluate
LessModuleEvaluate
HashCssModuleClassNames
ResolveCssModulesComposes
ValueResolution
StaticVarSubstitution
TreeShakeClass
TreeShakeKeyframes
TreeShakeValue
TreeShakeCustomProperty
DeadMediaBranchRemoval
DeadSupportsBranchRemoval
DesignTokenRouting
PrintCss
Implementations§
Source§impl TransformPassKind
impl TransformPassKind
pub const fn ordinal(self) -> u8
pub const fn label(self) -> &'static str
pub const fn title(self) -> &'static str
pub const fn id(self) -> &'static str
pub const fn layer(self) -> TransformLayer
pub const fn reads_semantic_graph(self) -> bool
pub const fn reads_cascade_model(self) -> bool
pub const fn read_model(self) -> TransformPassReadModel
Trait Implementations§
Source§impl Clone for TransformPassKind
impl Clone for TransformPassKind
Source§fn clone(&self) -> TransformPassKind
fn clone(&self) -> TransformPassKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TransformPassKind
Source§impl Debug for TransformPassKind
impl Debug for TransformPassKind
impl Eq for TransformPassKind
Source§impl Ord for TransformPassKind
impl Ord for TransformPassKind
Source§fn cmp(&self, other: &TransformPassKind) -> Ordering
fn cmp(&self, other: &TransformPassKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TransformPassKind
impl PartialEq for TransformPassKind
Source§fn eq(&self, other: &TransformPassKind) -> bool
fn eq(&self, other: &TransformPassKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for TransformPassKind
impl PartialOrd for TransformPassKind
Source§impl Serialize for TransformPassKind
impl Serialize for TransformPassKind
impl StructuralPartialEq for TransformPassKind
Auto Trait Implementations§
impl Freeze for TransformPassKind
impl RefUnwindSafe for TransformPassKind
impl Send for TransformPassKind
impl Sync for TransformPassKind
impl Unpin for TransformPassKind
impl UnsafeUnpin for TransformPassKind
impl UnwindSafe for TransformPassKind
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.