pub struct NodeIdGenerator { /* private fields */ }Expand description
Generator for producing unique NodeId values used across the AST.
This utility ensures each constructed Node receives a distinct identifier
which is useful for incremental parsing, diffing and node references.
Implementations§
Trait Implementations§
Source§impl Default for NodeIdGenerator
impl Default for NodeIdGenerator
Source§fn default() -> NodeIdGenerator
fn default() -> NodeIdGenerator
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NodeIdGenerator
impl RefUnwindSafe for NodeIdGenerator
impl Send for NodeIdGenerator
impl Sync for NodeIdGenerator
impl Unpin for NodeIdGenerator
impl UnsafeUnpin for NodeIdGenerator
impl UnwindSafe for NodeIdGenerator
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