pub struct List {
pub muted: Vec<MutedGroup>,
pub elements: Punctuated<Component>,
pub delimiter: _BraceDelimiter,
}Fields§
§muted: Vec<MutedGroup>§elements: Punctuated<Component>§delimiter: _BraceDelimiterImplementations§
Source§impl List
impl List
pub fn new(muted: Vec<MutedGroup>, elements: Punctuated<Component>) -> Self
Trait Implementations§
Source§impl From<List> for BindingPack
impl From<List> for BindingPack
Source§impl From<List> for Collection
impl From<List> for Collection
Source§impl From<List> for LambdaParameters
impl From<List> for LambdaParameters
Source§impl From<List> for SequenceElement
impl From<List> for SequenceElement
Source§impl From<List> for SyntaxNode
impl From<List> for SyntaxNode
Source§impl PrettyTree for List
impl PrettyTree for List
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 Listwhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for Listwhere
N: ExternalCstNode,
fn matches(node: &N) -> bool
fn reconstruct(node: N) -> Result<Self, ReconstructError>
Auto Trait Implementations§
impl Freeze for List
impl RefUnwindSafe for List
impl Send for List
impl Sync for List
impl Unpin for List
impl UnsafeUnpin for List
impl UnwindSafe for List
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