pub struct EditEvent {
pub start: usize,
pub old_end: usize,
pub new_end: usize,
pub start_byte: usize,
pub old_end_byte: usize,
pub new_end_byte: usize,
pub start_point: Point,
pub old_end_point: Point,
pub new_end_point: Point,
pub start_utf16: Utf16Position,
pub old_end_utf16: Utf16Position,
pub text: String,
}Expand description
One applied edit, in every unit a consumer might need.
Fields§
§start: usize§old_end: usize§new_end: usize§start_byte: usize§old_end_byte: usize§new_end_byte: usize§start_point: Point§old_end_point: Point§new_end_point: Point§start_utf16: Utf16Position§old_end_utf16: Utf16Position§text: StringTrait Implementations§
impl Eq for EditEvent
impl StructuralPartialEq for EditEvent
Auto Trait Implementations§
impl Forget for EditEvent
impl Freeze for EditEvent
impl Move for EditEvent
impl RefUnwindSafe for EditEvent
impl Send for EditEvent
impl Sync for EditEvent
impl Unpin for EditEvent
impl UnsafeUnpin for EditEvent
impl UnwindSafe for EditEvent
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