pub struct CtxSpan(pub Loc, pub Len);Expand description
len bytes from a Loc.
Tuple Fields§
§0: Loc§1: LenTrait Implementations§
impl Copy for CtxSpan
impl Eq for CtxSpan
impl StructuralPartialEq for CtxSpan
Auto Trait Implementations§
impl Freeze for CtxSpan
impl RefUnwindSafe for CtxSpan
impl Send for CtxSpan
impl Sync for CtxSpan
impl Unpin for CtxSpan
impl UnsafeUnpin for CtxSpan
impl UnwindSafe for CtxSpan
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more