pub enum PluginHook {
BeforeGenerate,
AfterGenerate,
OnClassAdd,
OnRuleCreate,
OnOptimize,
}Expand description
Plugin hook types
Variants§
BeforeGenerate
Hook called before CSS generation
AfterGenerate
Hook called after CSS generation
OnClassAdd
Hook called when a class is added
OnRuleCreate
Hook called when a rule is created
OnOptimize
Hook called during optimization
Trait Implementations§
Source§impl Clone for PluginHook
impl Clone for PluginHook
Source§fn clone(&self) -> PluginHook
fn clone(&self) -> PluginHook
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 PluginHook
impl Debug for PluginHook
Source§impl Hash for PluginHook
impl Hash for PluginHook
Source§impl PartialEq for PluginHook
impl PartialEq for PluginHook
impl Eq for PluginHook
impl StructuralPartialEq for PluginHook
Auto Trait Implementations§
impl Freeze for PluginHook
impl RefUnwindSafe for PluginHook
impl Send for PluginHook
impl Sync for PluginHook
impl Unpin for PluginHook
impl UnwindSafe for PluginHook
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> 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.