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