pub struct BoundedRange(/* private fields */);Expand description
A PositionRange spanning at most MAX_RANGE_LINES lines, taken by
the tools whose server-side cost grows with the range.
Implementations§
Source§impl BoundedRange
impl BoundedRange
Sourcepub const fn range(self) -> PositionRange
pub const fn range(self) -> PositionRange
The underlying ordered range.
Trait Implementations§
Source§impl Clone for BoundedRange
impl Clone for BoundedRange
impl Copy for BoundedRange
Source§impl Debug for BoundedRange
impl Debug for BoundedRange
impl Eq for BoundedRange
Source§impl PartialEq for BoundedRange
impl PartialEq for BoundedRange
impl StructuralPartialEq for BoundedRange
Source§impl TryFrom<PositionRange> for BoundedRange
impl TryFrom<PositionRange> for BoundedRange
Source§type Error = InvalidRange
type Error = InvalidRange
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for BoundedRange
impl RefUnwindSafe for BoundedRange
impl Send for BoundedRange
impl Sync for BoundedRange
impl Unpin for BoundedRange
impl UnsafeUnpin for BoundedRange
impl UnwindSafe for BoundedRange
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§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.