pub struct Edit {
pub span: Span,
pub text: String,
}Fields§
§span: SpanThe text to replace; empty to insert at span.start.
text: StringTrait Implementations§
impl Eq for Edit
impl StructuralPartialEq for Edit
Auto Trait Implementations§
impl Forget for Edit
impl Freeze for Edit
impl Move for Edit
impl RefUnwindSafe for Edit
impl Send for Editwhere
RawVecInner: Send,
impl Sync for Editwhere
RawVecInner: Sync,
impl Unpin for Edit
impl UnsafeUnpin for Edit
impl UnwindSafe for Editwhere
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