[−][src]Struct rls_vfs::SpanData
Span of the text to be replaced defined in col/row terms.
Fields
span: Span<ZeroIndexed>
Span of the text defined in col/row terms.
len: Option<u64>
Length in chars of the text. If present, used to calculate replacement range instead of span's row_end/col_end fields. Needed for editors that can't properly calculate the latter fields. Span's row_start/col_start are still assumed valid.
Trait Implementations
impl Eq for SpanData
[src]
impl PartialOrd<SpanData> for SpanData
[src]
fn partial_cmp(&self, other: &SpanData) -> Option<Ordering>
[src]
fn lt(&self, other: &SpanData) -> bool
[src]
fn le(&self, other: &SpanData) -> bool
[src]
fn gt(&self, other: &SpanData) -> bool
[src]
fn ge(&self, other: &SpanData) -> bool
[src]
impl PartialEq<SpanData> for SpanData
[src]
impl Ord for SpanData
[src]
fn cmp(&self, other: &SpanData) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
Compares and returns the minimum of two values. Read more
impl Debug for SpanData
[src]
impl Hash for SpanData
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,