Struct mun_syntax::ast::FloatNumber
source · pub struct FloatNumber { /* private fields */ }
Implementations§
source§impl FloatNumber
impl FloatNumber
sourcepub fn split_into_parts(&self) -> (&str, Option<&str>)
pub fn split_into_parts(&self) -> (&str, Option<&str>)
Returns a tuple containing the text part of the literal and an optional suffix. For example
1e5f32
will result in ("1e5", Some("f32"))
Trait Implementations§
source§impl AstToken for FloatNumber
impl AstToken for FloatNumber
source§impl Clone for FloatNumber
impl Clone for FloatNumber
source§fn clone(&self) -> FloatNumber
fn clone(&self) -> FloatNumber
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more