pub struct IntegerNode<'pr> { /* private fields */ }
Expand description
Represents an integer number literal.
1
^
Implementations§
Source§impl<'pr> IntegerNode<'pr>
impl<'pr> IntegerNode<'pr>
Sourcepub fn flags(&self) -> pm_node_flags_t
pub fn flags(&self) -> pm_node_flags_t
Returns the flags of this node.
Sourcepub fn is_decimal(&self) -> bool
pub fn is_decimal(&self) -> bool
0d or no prefix
Sourcepub fn is_hexadecimal(&self) -> bool
pub fn is_hexadecimal(&self) -> bool
0x prefix
Trait Implementations§
Auto Trait Implementations§
impl<'pr> Freeze for IntegerNode<'pr>
impl<'pr> RefUnwindSafe for IntegerNode<'pr>
impl<'pr> !Send for IntegerNode<'pr>
impl<'pr> !Sync for IntegerNode<'pr>
impl<'pr> Unpin for IntegerNode<'pr>
impl<'pr> !UnwindSafe for IntegerNode<'pr>
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