#[repr(C)]pub struct pm_integer_node {
pub base: pm_node_t,
pub value: pm_integer_t,
}
Expand description
IntegerNode
Represents an integer number literal.
1
^
Type: ::PM_INTEGER_NODE
Flags (#pm_integer_base_flags):
- ::PM_INTEGER_BASE_FLAGS_BINARY
- ::PM_INTEGER_BASE_FLAGS_DECIMAL
- ::PM_INTEGER_BASE_FLAGS_OCTAL
- ::PM_INTEGER_BASE_FLAGS_HEXADECIMAL
@extends pm_node_t
Fields§
§base: pm_node_t
The embedded base node.
value: pm_integer_t
IntegerNode#value
The value of the integer literal as a number.
Trait Implementations§
Source§impl Clone for pm_integer_node
impl Clone for pm_integer_node
Source§fn clone(&self) -> pm_integer_node
fn clone(&self) -> pm_integer_node
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 moreSource§impl Debug for pm_integer_node
impl Debug for pm_integer_node
Source§impl Default for pm_integer_node
impl Default for pm_integer_node
impl Copy for pm_integer_node
Auto Trait Implementations§
impl Freeze for pm_integer_node
impl RefUnwindSafe for pm_integer_node
impl !Send for pm_integer_node
impl !Sync for pm_integer_node
impl Unpin for pm_integer_node
impl UnwindSafe for pm_integer_node
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