pub struct Applied {
pub content: String,
pub fixed: Vec<usize>,
}Expand description
A text with the fixes that fitted into it applied.
Fields§
§content: StringThe text every applied edit has been written into.
fixed: Vec<usize>Where in the diagnostics the applied fixes came from, in the order the diagnostics were given. A fix left out of this pass is not in it.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Applied
impl RefUnwindSafe for Applied
impl Send for Applied
impl Sync for Applied
impl Unpin for Applied
impl UnsafeUnpin for Applied
impl UnwindSafe for Applied
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