pub enum IRNode<T: ConvertInfo> {
TextCall(TextIR<T>),
If(IfNodeIR<T>),
For(ForNodeIR<T>),
VNodeCall(VNodeIR<T>),
RenderSlotCall(RenderSlotIR<T>),
VSlotUse(VSlotIR<T>),
AlterableSlot(Slot<T>),
CommentCall(T::CommentType),
}
Variants§
TextCall(TextIR<T>)
interpolation or text node
If(IfNodeIR<T>)
v-if, else-if, else
For(ForNodeIR<T>)
v-for
VNodeCall(VNodeIR<T>)
component/template/plain element
RenderSlotCall(RenderSlotIR<T>)
VSlotUse(VSlotIR<T>)
v-slot used on component or template
AlterableSlot(Slot<T>)
CommentCall(T::CommentType)
comment
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for IRNode<T>where
<T as ConvertInfo>::CommentType: Freeze,
<T as ConvertInfo>::TextType: Freeze,
<T as ConvertInfo>::JsExpression: Freeze,
impl<T> RefUnwindSafe for IRNode<T>where
<T as ConvertInfo>::CommentType: RefUnwindSafe,
<T as ConvertInfo>::TextType: RefUnwindSafe,
<T as ConvertInfo>::JsExpression: RefUnwindSafe,
<T as ConvertInfo>::IfBranchType: RefUnwindSafe,
<T as ConvertInfo>::StrType: RefUnwindSafe,
impl<T> Send for IRNode<T>where
<T as ConvertInfo>::CommentType: Send,
<T as ConvertInfo>::TextType: Send,
<T as ConvertInfo>::JsExpression: Send,
<T as ConvertInfo>::IfBranchType: Send,
<T as ConvertInfo>::StrType: Send,
impl<T> Sync for IRNode<T>where
<T as ConvertInfo>::CommentType: Sync,
<T as ConvertInfo>::TextType: Sync,
<T as ConvertInfo>::JsExpression: Sync,
<T as ConvertInfo>::IfBranchType: Sync,
<T as ConvertInfo>::StrType: Sync,
impl<T> Unpin for IRNode<T>where
<T as ConvertInfo>::CommentType: Unpin,
<T as ConvertInfo>::TextType: Unpin,
<T as ConvertInfo>::JsExpression: Unpin,
<T as ConvertInfo>::IfBranchType: Unpin,
<T as ConvertInfo>::StrType: Unpin,
impl<T> UnwindSafe for IRNode<T>where
<T as ConvertInfo>::CommentType: UnwindSafe,
<T as ConvertInfo>::TextType: UnwindSafe,
<T as ConvertInfo>::JsExpression: UnwindSafe,
<T as ConvertInfo>::IfBranchType: UnwindSafe,
<T as ConvertInfo>::StrType: UnwindSafe,
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