pub enum SplitStrategy {
FeatureBased,
UsageBased,
DependencyBased,
SizeBased,
CriticalPathBased,
}Expand description
Re-export core tailwind-rs functionality Bundle splitting strategies
Variants§
FeatureBased
Split by feature
UsageBased
Split by usage frequency
DependencyBased
Split by dependency depth
SizeBased
Split by file size
CriticalPathBased
Split by critical path
Trait Implementations§
Source§impl Clone for SplitStrategy
impl Clone for SplitStrategy
Source§fn clone(&self) -> SplitStrategy
fn clone(&self) -> SplitStrategy
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 SplitStrategy
impl Debug for SplitStrategy
Source§impl<'de> Deserialize<'de> for SplitStrategy
impl<'de> Deserialize<'de> for SplitStrategy
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SplitStrategy, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SplitStrategy, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SplitStrategy
impl PartialEq for SplitStrategy
Source§impl Serialize for SplitStrategy
impl Serialize for SplitStrategy
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SplitStrategy
Auto Trait Implementations§
impl Freeze for SplitStrategy
impl RefUnwindSafe for SplitStrategy
impl Send for SplitStrategy
impl Sync for SplitStrategy
impl Unpin for SplitStrategy
impl UnwindSafe for SplitStrategy
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