pub enum DataContent {
Node(AttributeValueNode),
Signals(Punctuated<DataExprValue<Expr>, Comma>),
Kv(Punctuated<DataExprValue<AttributeValueNode>, Comma>),
Computed(Punctuated<DataExprValue<AttributeValueNode>, Comma>),
Bind(DataExpr),
Empty,
Recovered,
}Variants§
Node(AttributeValueNode)
Signals(Punctuated<DataExprValue<Expr>, Comma>)
Kv(Punctuated<DataExprValue<AttributeValueNode>, Comma>)
Computed(Punctuated<DataExprValue<AttributeValueNode>, Comma>)
Bind(DataExpr)
Empty
Recovered
Fallback for parsing failures that allows rust-analyzer to emit better completions
Trait Implementations§
Source§impl SyntaxStatic for DataContent
impl SyntaxStatic for DataContent
Auto Trait Implementations§
impl !Send for DataContent
impl !Sync for DataContent
impl Freeze for DataContent
impl RefUnwindSafe for DataContent
impl Unpin for DataContent
impl UnsafeUnpin for DataContent
impl UnwindSafe for DataContent
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