pub struct NakedSequence {
pub elements: Punctuated<Component>,
}Fields§
§elements: Punctuated<Component>Implementations§
Source§impl NakedSequence
impl NakedSequence
pub fn new(elements: Punctuated<Component>) -> Self
Trait Implementations§
Source§impl Debug for NakedSequence
impl Debug for NakedSequence
Source§impl PrettyTree for NakedSequence
impl PrettyTree for NakedSequence
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 NakedSequencewhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for NakedSequencewhere
N: ExternalCstNode,
fn matches(node: &N) -> bool
fn reconstruct(node: N) -> Result<Self, ReconstructError>
Source§impl ToTokens for NakedSequence
impl ToTokens for NakedSequence
Auto Trait Implementations§
impl Freeze for NakedSequence
impl RefUnwindSafe for NakedSequence
impl Send for NakedSequence
impl Sync for NakedSequence
impl Unpin for NakedSequence
impl UnsafeUnpin for NakedSequence
impl UnwindSafe for NakedSequence
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