pub struct FixHint {
pub title: String,
pub explanation: String,
pub before: String,
pub after: String,
pub start: u32,
pub end: u32,
}Expand description
A concrete rewrite the UI can preview and apply.
Fields§
§title: String§explanation: StringHuman explanation in plain “dev-speak”.
before: StringCurrent source slice that will be replaced.
after: StringSuggested replacement source.
start: u32Inclusive-exclusive UTF-8 byte range into the grammar source.
end: u32Implementations§
Trait Implementations§
impl Eq for FixHint
impl StructuralPartialEq for FixHint
Auto Trait Implementations§
impl Freeze for FixHint
impl RefUnwindSafe for FixHint
impl Send for FixHint
impl Sync for FixHint
impl Unpin for FixHint
impl UnsafeUnpin for FixHint
impl UnwindSafe for FixHint
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