pub struct NameGenerator { /* private fields */ }Expand description
A fresh-name generator.
Generates unique names by appending an incrementing counter suffix.
Implementations§
Source§impl NameGenerator
impl NameGenerator
Trait Implementations§
Source§impl Clone for NameGenerator
impl Clone for NameGenerator
Auto Trait Implementations§
impl !Send for NameGenerator
impl !Sync for NameGenerator
impl Forget for NameGenerator
impl Freeze for NameGenerator
impl Move for NameGenerator
impl RefUnwindSafe for NameGenerator
impl Unpin for NameGenerator
impl UnsafeUnpin for NameGenerator
impl UnwindSafe for NameGenerator
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