pub enum ExprCollection {
Sequence(Sequence),
List(List),
Array(Array),
AngleBar(AngleBarList),
}Expand description
Enum generated by strutuct! for ExprCollection.
Variants§
Sequence(Sequence)
Variant ExprCollection::Sequence generated by strutuct!.
List(List)
Variant ExprCollection::List generated by strutuct!.
Array(Array)
Variant ExprCollection::Array generated by strutuct!.
AngleBar(AngleBarList)
Variant ExprCollection::AngleBar generated by strutuct!.
Trait Implementations§
Source§impl Debug for ExprCollection
impl Debug for ExprCollection
Source§impl From<AngleBarList> for ExprCollection
impl From<AngleBarList> for ExprCollection
Source§fn from(value: AngleBarList) -> Self
fn from(value: AngleBarList) -> Self
Converts to this type from the input type.
Source§impl From<Array> for ExprCollection
impl From<Array> for ExprCollection
Source§impl From<ExprCollection> for Component
impl From<ExprCollection> for Component
Source§fn from(value: ExprCollection) -> Self
fn from(value: ExprCollection) -> Self
Converts to this type from the input type.
Source§impl From<ExprCollection> for Expr
impl From<ExprCollection> for Expr
Source§fn from(value: ExprCollection) -> Self
fn from(value: ExprCollection) -> Self
Converts to this type from the input type.
Source§impl From<ExprCollection> for PackedContent
impl From<ExprCollection> for PackedContent
Source§fn from(value: ExprCollection) -> Self
fn from(value: ExprCollection) -> Self
Converts to this type from the input type.
Source§impl From<List> for ExprCollection
impl From<List> for ExprCollection
Source§impl From<Sequence> for ExprCollection
impl From<Sequence> for ExprCollection
Source§impl Lex for ExprCollection
impl Lex for ExprCollection
Source§fn to_tokens(&self, output: &mut TokenStream)
fn to_tokens(&self, output: &mut TokenStream)
Appends this value’s token trees to
output.Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Emits this value into a fresh token stream.
Source§impl<N> Migrate<N> for ExprCollectionwhere
N: ExternalCstNode,
impl<N> Migrate<N> for ExprCollectionwhere
N: ExternalCstNode,
Source§impl PrettyTree for ExprCollection
impl PrettyTree for ExprCollection
Source§fn pretty_tree(&self) -> PrettyNode
fn pretty_tree(&self) -> PrettyNode
Builds the presentation node for this syntax value.
Auto Trait Implementations§
impl Freeze for ExprCollection
impl RefUnwindSafe for ExprCollection
impl Send for ExprCollection
impl Sync for ExprCollection
impl Unpin for ExprCollection
impl UnsafeUnpin for ExprCollection
impl UnwindSafe for ExprCollection
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