pub struct IntegerLiteral {
pub text: String,
/* private fields */
}Fields§
§text: StringImplementations§
Trait Implementations§
Source§impl Debug for IntegerLiteral
impl Debug for IntegerLiteral
Source§impl From<IntegerLiteral> for Component
impl From<IntegerLiteral> for Component
Source§fn from(value: IntegerLiteral) -> Self
fn from(value: IntegerLiteral) -> Self
Converts to this type from the input type.
Source§impl From<IntegerLiteral> for Expr
impl From<IntegerLiteral> for Expr
Source§fn from(value: IntegerLiteral) -> Self
fn from(value: IntegerLiteral) -> Self
Converts to this type from the input type.
Source§impl From<IntegerLiteral> for SequenceElement
impl From<IntegerLiteral> for SequenceElement
Source§fn from(value: IntegerLiteral) -> Self
fn from(value: IntegerLiteral) -> Self
Converts to this type from the input type.
Source§impl From<IntegerLiteral> for SyntaxNode
impl From<IntegerLiteral> for SyntaxNode
Source§fn from(value: IntegerLiteral) -> Self
fn from(value: IntegerLiteral) -> Self
Converts to this type from the input type.
Source§impl PrettyTree for IntegerLiteral
impl PrettyTree for IntegerLiteral
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 IntegerLiteralwhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for IntegerLiteralwhere
N: ExternalCstNode,
fn matches(node: &N) -> bool
fn reconstruct(node: N) -> Result<Self, ReconstructError>
Source§impl ToCells for IntegerLiteral
impl ToCells for IntegerLiteral
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 IntegerLiteral
impl ToTokens for IntegerLiteral
Auto Trait Implementations§
impl Freeze for IntegerLiteral
impl RefUnwindSafe for IntegerLiteral
impl Send for IntegerLiteral
impl Sync for IntegerLiteral
impl Unpin for IntegerLiteral
impl UnsafeUnpin for IntegerLiteral
impl UnwindSafe for IntegerLiteral
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