pub struct LineSpan { /* private fields */ }Available on crate feature
vcs-git only.Expand description
A function’s 1-based, inclusive line span at the target ref, as taken
from the AST FuncSpace. A newtype rather than a bare (u32, u32)
so the inclusive-range contract is explicit at every call site.
Implementations§
Trait Implementations§
impl Copy for LineSpan
impl Eq for LineSpan
impl StructuralPartialEq for LineSpan
Auto Trait Implementations§
impl Freeze for LineSpan
impl RefUnwindSafe for LineSpan
impl Send for LineSpan
impl Sync for LineSpan
impl Unpin for LineSpan
impl UnsafeUnpin for LineSpan
impl UnwindSafe for LineSpan
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.