Struct rnode::NodeIdGenerator
source · [−]pub struct NodeIdGenerator {
pub(crate) inner: u32,
}
Fields
inner: u32
If the stored value is zero, it’s an invalid id generator.
Implementations
Trait Implementations
sourceimpl Debug for NodeIdGenerator
impl Debug for NodeIdGenerator
Auto Trait Implementations
impl RefUnwindSafe for NodeIdGenerator
impl Send for NodeIdGenerator
impl Sync for NodeIdGenerator
impl Unpin for NodeIdGenerator
impl UnwindSafe for NodeIdGenerator
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more