pub struct Fix {
pub span: Span,
pub replacement: String,
}Expand description
An expression replacement suggested by the checker.
Fields§
§span: SpanBytes to replace.
replacement: StringReplacement template source.
Trait Implementations§
impl Eq for Fix
impl StructuralPartialEq for Fix
Auto Trait Implementations§
impl Forget for Fix
impl Freeze for Fix
impl Move for Fix
impl RefUnwindSafe for Fix
impl Send for Fixwhere
RawVecInner: Send,
impl Sync for Fixwhere
RawVecInner: Sync,
impl Unpin for Fix
impl UnsafeUnpin for Fix
impl UnwindSafe for Fixwhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.