pub struct FixIt {
pub span: Span,
pub replacement: String,
}Expand description
A suggested edit attached to a SyntaxError: replace the text at
span with replacement.
Fields§
§span: Span§replacement: StringTrait Implementations§
impl Eq for FixIt
impl StructuralPartialEq for FixIt
Auto Trait Implementations§
impl Freeze for FixIt
impl RefUnwindSafe for FixIt
impl Send for FixIt
impl Sync for FixIt
impl Unpin for FixIt
impl UnsafeUnpin for FixIt
impl UnwindSafe for FixIt
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