pub struct RenameMapping {
pub old: String,
pub new: String,
}Expand description
A rename mapping: old name -> new name. Used for prop renames, component renames, import renames, etc.
Fields§
§old: String§new: StringTrait Implementations§
Source§impl Clone for RenameMapping
impl Clone for RenameMapping
Auto Trait Implementations§
impl Freeze for RenameMapping
impl RefUnwindSafe for RenameMapping
impl Send for RenameMapping
impl Sync for RenameMapping
impl Unpin for RenameMapping
impl UnsafeUnpin for RenameMapping
impl UnwindSafe for RenameMapping
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