Struct moore_svlog_hir::NodeId
[−]
[src]
pub struct NodeId(_);
A positive, small ID assigned to each node in the AST. Used as a lightweight way to refer to individual nodes, e.g. during symbol table construction and name resolution.
Methods
impl NodeId
[src]
fn new(x: usize) -> NodeId
[src]
fn from_u32(x: u32) -> NodeId
[src]
fn as_usize(&self) -> usize
[src]
fn as_u32(&self) -> u32
[src]
Trait Implementations
impl Decodable for NodeId
[src]
fn decode<__D>(__arg_0: &mut __D) -> Result<NodeId, <__D as Decoder>::Error> where
__D: Decoder,
[src]
__D: Decoder,
impl Ord for NodeId
[src]
impl Hash for NodeId
[src]
impl Copy for NodeId
[src]
impl Clone for NodeId
[src]
fn clone(&self) -> NodeId
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for NodeId
[src]
impl PartialEq<NodeId> for NodeId
[src]
impl Debug for NodeId
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter.