pub struct WordLocation {
pub word: String,
pub locations: Vec<TextRange>,
}Fields§
§word: String§locations: Vec<TextRange>Implementations§
Trait Implementations§
Source§impl Clone for WordLocation
impl Clone for WordLocation
Source§fn clone(&self) -> WordLocation
fn clone(&self) -> WordLocation
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 WordLocation
impl Debug for WordLocation
Source§impl PartialEq for WordLocation
impl PartialEq for WordLocation
impl StructuralPartialEq for WordLocation
Auto Trait Implementations§
impl Freeze for WordLocation
impl RefUnwindSafe for WordLocation
impl Send for WordLocation
impl Sync for WordLocation
impl Unpin for WordLocation
impl UnsafeUnpin for WordLocation
impl UnwindSafe for WordLocation
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