pub struct TextEdit {
pub start: usize,
pub end: usize,
pub replacement: String,
}Expand description
A byte-range replacement suggested by a rule.
Fields§
§start: usize§end: usize§replacement: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for TextEdit
impl<'de> Deserialize<'de> for TextEdit
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for TextEdit
impl Freeze for TextEdit
impl Move for TextEdit
impl RefUnwindSafe for TextEdit
impl Send for TextEditwhere
RawVecInner: Send,
impl Sync for TextEditwhere
RawVecInner: Sync,
impl Unpin for TextEdit
impl UnsafeUnpin for TextEdit
impl UnwindSafe for TextEditwhere
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