pub struct TextOptimizer;
Trait Implementations§
Source§impl<'a> CorePass<BaseConvertInfo<'a>> for TextOptimizer
impl<'a> CorePass<BaseConvertInfo<'a>> for TextOptimizer
fn enter_root(&mut self, r: &mut BaseRoot<'a>)
fn enter_vnode(&mut self, v: &mut BaseVNode<'a>)
fn enter_slot_outlet(&mut self, r: &mut BaseRenderSlot<'a>)
fn enter_slot_fn(&mut self, s: &mut BaseSlotFn<'a>)
fn exit_root(&mut self, _: &mut IRRoot<T>)
fn enter_text(&mut self, _: &mut TextIR<T>)
fn exit_text(&mut self, _: &mut TextIR<T>)
fn enter_if(&mut self, _: &mut IfNodeIR<T>)
fn exit_if(&mut self, _: &mut IfNodeIR<T>)
fn enter_for(&mut self, _: &mut ForNodeIR<T>)
fn exit_for(&mut self, _: &mut ForNodeIR<T>)
fn exit_vnode(&mut self, _: &mut VNodeIR<T>)
fn exit_slot_outlet(&mut self, _: &mut RenderSlotIR<T>)
fn enter_v_slot(&mut self, _: &mut VSlotIR<T>)
fn exit_v_slot(&mut self, _: &mut VSlotIR<T>)
fn exit_slot_fn(&mut self, _: &mut Slot<T>)
fn enter_js_expr(&mut self, _: &mut T::JsExpression)
fn exit_js_expr(&mut self, _: &mut T::JsExpression)
Source§fn enter_fn_param(&mut self, _: &mut T::JsExpression)
fn enter_fn_param(&mut self, _: &mut T::JsExpression)
only v-for or slot fn
Source§fn exit_fn_param(&mut self, _: &mut T::JsExpression)
fn exit_fn_param(&mut self, _: &mut T::JsExpression)
only v-for or slot fn
fn enter_comment(&mut self, _: &mut T::CommentType)
fn exit_comment(&mut self, _: &mut T::CommentType)
Auto Trait Implementations§
impl Freeze for TextOptimizer
impl RefUnwindSafe for TextOptimizer
impl Send for TextOptimizer
impl Sync for TextOptimizer
impl Unpin for TextOptimizer
impl UnwindSafe for TextOptimizer
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