pub struct QuickFix {
pub title: String,
pub edit: TextEdit,
}Expand description
A quick fix for a violation
Fields§
§title: StringHuman-readable title describing the fix action
edit: TextEditThe text edit to apply as a fix
Trait Implementations§
Auto Trait Implementations§
impl Freeze for QuickFix
impl RefUnwindSafe for QuickFix
impl Send for QuickFix
impl Sync for QuickFix
impl Unpin for QuickFix
impl UnsafeUnpin for QuickFix
impl UnwindSafe for QuickFix
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