pub enum IntegerLiteral {
BinNumber(String),
OctNumber(String),
DecNumber(String),
HexNumber(String),
}Variants§
Trait Implementations§
Source§impl Clone for IntegerLiteral
impl Clone for IntegerLiteral
Source§fn clone(&self) -> IntegerLiteral
fn clone(&self) -> IntegerLiteral
Returns a duplicate 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 moreSource§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
Source§impl From<IntegerLiteral> for IntegerLiteral
impl From<IntegerLiteral> for IntegerLiteral
Source§fn from(value: IntegerLiteral) -> Self
fn from(value: IntegerLiteral) -> Self
Converts to this type from the input type.
Source§impl<'a> FromTreeSitter<'a> for IntegerLiteral
impl<'a> FromTreeSitter<'a> for IntegerLiteral
fn from_node(node: Node<'a>, ctx: &mut ParseContext<'a>) -> ParserResult<Self>
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