pub struct IntegerLiteral {
pub text: String,
pub radix: IntegerRadix,
}Expand description
An integer spelling and its radix.
Fields§
§text: StringDigits exactly as written, including any radix prefix.
radix: IntegerRadixTrait Implementations§
Source§impl Clone for IntegerLiteral
impl Clone for IntegerLiteral
Source§impl Debug for IntegerLiteral
impl Debug for IntegerLiteral
Source§impl<'de> Deserialize<'de> for IntegerLiteral
impl<'de> Deserialize<'de> for IntegerLiteral
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for IntegerLiteral
Source§impl Hash for IntegerLiteral
impl Hash for IntegerLiteral
Source§impl PartialEq for IntegerLiteral
impl PartialEq for IntegerLiteral
Source§impl Serialize for IntegerLiteral
impl Serialize for IntegerLiteral
impl StructuralPartialEq 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