pub struct BindingRename {
pub original: String,
pub renamed: String,
pub declaration_start: u32,
}Expand description
A variable rename from lowering: the binding at declaration_start position
was renamed from original to renamed.
Fields§
§original: String§renamed: String§declaration_start: u32Trait Implementations§
Source§impl Clone for BindingRename
impl Clone for BindingRename
Source§fn clone(&self) -> BindingRename
fn clone(&self) -> BindingRename
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BindingRename
impl RefUnwindSafe for BindingRename
impl Send for BindingRename
impl Sync for BindingRename
impl Unpin for BindingRename
impl UnsafeUnpin for BindingRename
impl UnwindSafe for BindingRename
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