pub struct SnippetResolution {
pub start: usize,
pub end: usize,
}Expand description
The concrete start and end indices of a resolved snippet within a Rope.
Fields§
§start: usizeThe starting character index of the resolved snippet.
end: usizeThe ending character index of the resolved snippet (exclusive).
Trait Implementations§
Source§impl Clone for SnippetResolution
impl Clone for SnippetResolution
Source§fn clone(&self) -> SnippetResolution
fn clone(&self) -> SnippetResolution
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 SnippetResolution
impl Debug for SnippetResolution
Source§impl PartialEq for SnippetResolution
impl PartialEq for SnippetResolution
impl Eq for SnippetResolution
impl StructuralPartialEq for SnippetResolution
Auto Trait Implementations§
impl Freeze for SnippetResolution
impl RefUnwindSafe for SnippetResolution
impl Send for SnippetResolution
impl Sync for SnippetResolution
impl Unpin for SnippetResolution
impl UnwindSafe for SnippetResolution
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