pub struct Symbol {
pub text: String,
/* private fields */
}Fields§
§text: StringImplementations§
Trait Implementations§
Source§impl From<Symbol> for LambdaParameters
impl From<Symbol> for LambdaParameters
Source§impl From<Symbol> for SequenceElement
impl From<Symbol> for SequenceElement
Source§impl From<Symbol> for SyntaxNode
impl From<Symbol> for SyntaxNode
Source§impl PrettyTree for Symbol
impl PrettyTree for Symbol
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 Symbolwhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for Symbolwhere
N: ExternalCstNode,
fn matches(node: &N) -> bool
fn reconstruct(node: N) -> Result<Self, ReconstructError>
Source§impl ToCells for Symbol
impl ToCells for Symbol
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.
Auto Trait Implementations§
impl Freeze for Symbol
impl RefUnwindSafe for Symbol
impl Send for Symbol
impl Sync for Symbol
impl Unpin for Symbol
impl UnsafeUnpin for Symbol
impl UnwindSafe for Symbol
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