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