#[repr(u32)]pub enum RuntimeHelper {
Show 40 variants
Fragment = 0,
Teleport = 1,
Suspense = 2,
KeepAlive = 3,
BaseTransition = 4,
OpenBlock = 5,
CreateBlock = 6,
CreateElementBlock = 7,
CreateVNode = 8,
CreateElementVNode = 9,
CreateComment = 10,
CreateText = 11,
CreateStatic = 12,
ResolveComponent = 13,
ResolveDynamicComponent = 14,
ResolveDirective = 15,
ResolveFilter = 16,
WithDirectives = 17,
RenderList = 18,
RenderSlot = 19,
CreateSlots = 20,
ToDisplayString = 21,
MergeProps = 22,
NormalizeClass = 23,
NormalizeStyle = 24,
NormalizeProps = 25,
GuardReactiveProps = 26,
ToHandlers = 27,
Camelize = 28,
Capitalize = 29,
ToHandlerKey = 30,
SetBlockTracking = 31,
PushScopeId = 32,
PopScopeId = 33,
WithScopeId = 34,
WithCtx = 35,
Unref = 36,
IsRef = 37,
WithMemo = 38,
IsMemoSame = 39,
}
Variants§
Fragment = 0
Teleport = 1
Suspense = 2
KeepAlive = 3
BaseTransition = 4
OpenBlock = 5
CreateBlock = 6
CreateElementBlock = 7
CreateVNode = 8
CreateElementVNode = 9
CreateComment = 10
CreateText = 11
CreateStatic = 12
ResolveComponent = 13
ResolveDynamicComponent = 14
ResolveDirective = 15
ResolveFilter = 16
WithDirectives = 17
RenderList = 18
RenderSlot = 19
CreateSlots = 20
ToDisplayString = 21
MergeProps = 22
NormalizeClass = 23
NormalizeStyle = 24
NormalizeProps = 25
GuardReactiveProps = 26
ToHandlers = 27
Camelize = 28
Capitalize = 29
ToHandlerKey = 30
SetBlockTracking = 31
PushScopeId = 32
PopScopeId = 33
WithScopeId = 34
WithCtx = 35
Unref = 36
IsRef = 37
WithMemo = 38
IsMemoSame = 39
Implementations§
Source§impl RuntimeHelper
PreambleHelper is a collection of JavaScript imports at the head of output
e.g. v-for needs a list looping helper to make vdom
preamble helper needs collect helper when traversing template ast
and generates corresponding JavaScript imports in compilation output
impl RuntimeHelper
PreambleHelper is a collection of JavaScript imports at the head of output e.g. v-for needs a list looping helper to make vdom preamble helper needs collect helper when traversing template ast and generates corresponding JavaScript imports in compilation output
pub fn generate_imports(&self) -> String
pub fn helper_str(&self) -> &'static str
Trait Implementations§
Source§impl Clone for RuntimeHelper
impl Clone for RuntimeHelper
Source§fn clone(&self) -> RuntimeHelper
fn clone(&self) -> RuntimeHelper
Returns a copy 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 PartialEq for RuntimeHelper
impl PartialEq for RuntimeHelper
Source§impl Serialize for RuntimeHelper
impl Serialize for RuntimeHelper
impl Copy for RuntimeHelper
impl Eq for RuntimeHelper
impl StructuralPartialEq for RuntimeHelper
Auto Trait Implementations§
impl Freeze for RuntimeHelper
impl RefUnwindSafe for RuntimeHelper
impl Send for RuntimeHelper
impl Sync for RuntimeHelper
impl Unpin for RuntimeHelper
impl UnwindSafe for RuntimeHelper
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