pub struct ComputePrefixFeature;Implementations§
Source§impl ComputePrefixFeature
impl ComputePrefixFeature
pub fn register(options: &ParserOptions, features: &mut Vec<SharedFeature>)
Trait Implementations§
Source§impl MinifyFeature for ComputePrefixFeature
impl MinifyFeature for ComputePrefixFeature
fn ordering(&self) -> i32
fn process_mode(&self) -> u32
fn run( &mut self, arena: &AstArena, node: 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 ComputePrefixFeature
impl Freeze for ComputePrefixFeature
impl Move for ComputePrefixFeature
impl RefUnwindSafe for ComputePrefixFeature
impl Send for ComputePrefixFeature
impl Sync for ComputePrefixFeature
impl Unpin for ComputePrefixFeature
impl UnsafeUnpin for ComputePrefixFeature
impl UnwindSafe for ComputePrefixFeature
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