#[repr(C)]pub struct NodeRef {
pub id: i64,
pub location: MaybeUninit<Location>,
}
Expand description
Reference to a Node
This is basically just the node’s id so you could look it up if you had them all cached. But it also contains a second field to be able to store a location, if it so happens to be known.
Fields§
§id: i64
The Node’s id
location: MaybeUninit<Location>
The Node’s location if known