pub struct Array {
pub muted: Vec<MutedGroup>,
pub elements: Punctuated<Component>,
pub delimiter: _BracketDelimiter,
}Fields§
§muted: Vec<MutedGroup>§elements: Punctuated<Component>§delimiter: _BracketDelimiterImplementations§
Source§impl Array
impl Array
pub fn new(muted: Vec<MutedGroup>, elements: Punctuated<Component>) -> Self
Trait Implementations§
Source§impl From<Array> for BindingPack
impl From<Array> for BindingPack
Source§impl From<Array> for Collection
impl From<Array> for Collection
Source§impl From<Array> for LambdaParameters
impl From<Array> for LambdaParameters
Source§impl From<Array> for SequenceElement
impl From<Array> for SequenceElement
Source§impl From<Array> for SyntaxNode
impl From<Array> for SyntaxNode
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.
Source§impl<N> Reconstruct<N> for Arraywhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for Arraywhere
N: ExternalCstNode,
fn matches(node: &N) -> bool
fn reconstruct(node: N) -> Result<Self, ReconstructError>
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