pub struct EditorLocation {
pub uri: DocumentUri,
pub fact_source: FenceTextIndexSource,
pub range: Range,
}Fields§
§uri: DocumentUri§fact_source: FenceTextIndexSource§range: RangeTrait Implementations§
Source§impl Clone for EditorLocation
impl Clone for EditorLocation
Source§fn clone(&self) -> EditorLocation
fn clone(&self) -> EditorLocation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EditorLocation
impl Debug for EditorLocation
impl Eq for EditorLocation
Source§impl PartialEq for EditorLocation
impl PartialEq for EditorLocation
Source§fn eq(&self, other: &EditorLocation) -> bool
fn eq(&self, other: &EditorLocation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EditorLocation
Auto Trait Implementations§
impl Freeze for EditorLocation
impl RefUnwindSafe for EditorLocation
impl Send for EditorLocation
impl Sync for EditorLocation
impl Unpin for EditorLocation
impl UnsafeUnpin for EditorLocation
impl UnwindSafe for EditorLocation
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.