pub struct Copy {
pub from: String,
pub to: String,
}Expand description
Copy value from one field to another (keeps original).
Fields§
§from: String§to: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for Copy
impl RefUnwindSafe for Copy
impl Send for Copy
impl Sync for Copy
impl Unpin for Copy
impl UnsafeUnpin for Copy
impl UnwindSafe for Copy
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