pub struct ComputeShorthandFeature;Implementations§
Source§impl ComputeShorthandFeature
impl ComputeShorthandFeature
pub fn register(options: &ParserOptions, features: &mut Vec<SharedFeature>)
Trait Implementations§
Source§impl MinifyFeature for ComputeShorthandFeature
impl MinifyFeature for ComputeShorthandFeature
fn ordering(&self) -> i32
fn process_mode(&self) -> u32
fn run( &mut self, arena: &AstArena, ast: u32, options: &ParserOptions, _parent: u32, context: &mut MinifyContext, _mode: u32, ) -> FeatureResult
Source§fn has_cleanup(&self) -> bool
fn has_cleanup(&self) -> bool
true if the feature has a
cleanup() methodfn cleanup( &mut self, _arena: &AstArena, _ast: u32, _options: &ParserOptions, _context: &mut MinifyContext, _mode: u32, )
Auto Trait Implementations§
impl Forget for ComputeShorthandFeature
impl Freeze for ComputeShorthandFeature
impl Move for ComputeShorthandFeature
impl RefUnwindSafe for ComputeShorthandFeature
impl Send for ComputeShorthandFeature
impl Sync for ComputeShorthandFeature
impl Unpin for ComputeShorthandFeature
impl UnsafeUnpin for ComputeShorthandFeature
impl UnwindSafe for ComputeShorthandFeature
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