pub struct SharedFreshNameGenerator(/* private fields */);Implementations§
pub fn new(prefix: &'static str) -> Self
pub fn fresh_varname(&self) -> Str
pub fn fresh_param_name(&self) -> Str
Trait Implementations§
Source§fn clone(&self) -> SharedFreshNameGenerator
fn clone(&self) -> SharedFreshNameGenerator
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§fn default() -> SharedFreshNameGenerator
fn default() -> SharedFreshNameGenerator
Returns the “default value” for a type. Read more
Auto Trait Implementations§
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