pub struct SequenceCell {
pub value: Box<NakedSequence>,
}Fields§
§value: Box<NakedSequence>Implementations§
Source§impl SequenceCell
impl SequenceCell
pub fn new(value: NakedSequence) -> Self
Trait Implementations§
Source§impl CellNode for SequenceCell
impl CellNode for SequenceCell
Source§fn cell_delimiter(&self) -> DelimiterKind
fn cell_delimiter(&self) -> DelimiterKind
Returns the global cell delimiter represented by this typed node.
Source§impl Debug for SequenceCell
impl Debug for SequenceCell
Source§impl From<SequenceCell> for AnyCell
impl From<SequenceCell> for AnyCell
Source§fn from(value: SequenceCell) -> Self
fn from(value: SequenceCell) -> Self
Converts to this type from the input type.
Source§impl From<SequenceCell> for SyntaxNode
impl From<SequenceCell> for SyntaxNode
Source§fn from(value: SequenceCell) -> Self
fn from(value: SequenceCell) -> Self
Converts to this type from the input type.
Source§impl PrettyTree for SequenceCell
impl PrettyTree for SequenceCell
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 SequenceCellwhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for SequenceCellwhere
N: ExternalCstNode,
fn matches(node: &N) -> bool
fn reconstruct(node: N) -> Result<Self, ReconstructError>
Source§impl ToCells for SequenceCell
impl ToCells for SequenceCell
Source§fn to_cells(&self, output: &mut CellStream)
fn to_cells(&self, output: &mut CellStream)
Appends this value’s global cells to
output.Source§fn to_cell_stream(&self, source_id: SourceId) -> CellStream
fn to_cell_stream(&self, source_id: SourceId) -> CellStream
Emits this value into a fresh cell stream with the requested identity.
Source§impl ToTokens for SequenceCell
impl ToTokens for SequenceCell
Auto Trait Implementations§
impl Freeze for SequenceCell
impl RefUnwindSafe for SequenceCell
impl Send for SequenceCell
impl Sync for SequenceCell
impl Unpin for SequenceCell
impl UnsafeUnpin for SequenceCell
impl UnwindSafe for SequenceCell
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