#[repr(C)]pub struct DeleteResult {
pub range_to_delete: SelectionRange,
pub deleted_text: AzString,
}Expand description
FFI-safe wrapper for delete inspection result (range_to_delete, deleted_text)
Fields§
§range_to_delete: SelectionRangeThe range that would be deleted
deleted_text: AzStringThe text that would be deleted
Trait Implementations§
Source§impl Clone for DeleteResult
impl Clone for DeleteResult
Source§fn clone(&self) -> DeleteResult
fn clone(&self) -> DeleteResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeleteResult
impl Debug for DeleteResult
Source§impl From<(SelectionRange, String)> for DeleteResult
impl From<(SelectionRange, String)> for DeleteResult
Source§fn from((range, text): (SelectionRange, String)) -> Self
fn from((range, text): (SelectionRange, String)) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DeleteResult
impl PartialEq for DeleteResult
impl StructuralPartialEq for DeleteResult
Auto Trait Implementations§
impl Freeze for DeleteResult
impl RefUnwindSafe for DeleteResult
impl Send for DeleteResult
impl Sync for DeleteResult
impl Unpin for DeleteResult
impl UnwindSafe for DeleteResult
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more