pub struct Node { /* private fields */ }Expand description
A node in one particular network.
Carries the network’s identity as well as the index, so a handle from one network used on
another is refused rather than silently addressing whatever sits at that index. The identity
is a hash of the network’s name, which is deterministic: no counter, no clock, no global
state, and Simulation already refuses two domains with one name.
Trait Implementations§
impl Copy for Node
impl Eq for Node
impl StructuralPartialEq for Node
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnsafeUnpin for Node
impl UnwindSafe for 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