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