#[repr(C)]pub struct SelectAllResult {
pub full_text: AzString,
pub selection_range: SelectionRange,
}Expand description
FFI-safe wrapper for select-all result (full_text, selected_range)
Fields§
§full_text: AzStringThe full text content of the node
selection_range: SelectionRangeThe range that would be selected
Trait Implementations§
Source§impl Clone for SelectAllResult
impl Clone for SelectAllResult
Source§fn clone(&self) -> SelectAllResult
fn clone(&self) -> SelectAllResult
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 SelectAllResult
impl Debug for SelectAllResult
Source§impl From<(String, SelectionRange)> for SelectAllResult
impl From<(String, SelectionRange)> for SelectAllResult
Source§fn from((text, range): (String, SelectionRange)) -> Self
fn from((text, range): (String, SelectionRange)) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SelectAllResult
impl PartialEq for SelectAllResult
impl StructuralPartialEq for SelectAllResult
Auto Trait Implementations§
impl Freeze for SelectAllResult
impl RefUnwindSafe for SelectAllResult
impl Send for SelectAllResult
impl Sync for SelectAllResult
impl Unpin for SelectAllResult
impl UnwindSafe for SelectAllResult
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