pub struct Sequence {
pub statements: Vec<Statement>,
pub elements: Option<PackedContent>,
pub delimiter: _ParenthesisDelimiter,
}Expand description
Struct generated by strutuct! for Sequence.
Fields§
§statements: Vec<Statement>Field Sequence::statements generated by strutuct!.
elements: Option<PackedContent>Field Sequence::elements generated by strutuct!.
delimiter: _ParenthesisDelimiterField Sequence::delimiter generated by strutuct!.
Implementations§
Trait Implementations§
Source§impl From<Sequence> for ExprCollection
impl From<Sequence> for ExprCollection
Source§impl From<Sequence> for PackedContent
impl From<Sequence> for PackedContent
Source§impl Lex for Sequence
impl Lex for Sequence
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 Sequencewhere
N: ExternalCstNode,
impl<N> Migrate<N> for Sequencewhere
N: ExternalCstNode,
Source§impl PrettyTree for Sequence
impl PrettyTree for Sequence
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 Sequence
impl RefUnwindSafe for Sequence
impl Send for Sequence
impl Sync for Sequence
impl Unpin for Sequence
impl UnsafeUnpin for Sequence
impl UnwindSafe for Sequence
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