pub struct Span<X> {
pub value: X,
pub range: Range<usize>,
}
Expand description
Annoted value
Fields§
§value: X
§range: Range<usize>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<X> Freeze for Span<X>where
X: Freeze,
impl<X> RefUnwindSafe for Span<X>where
X: RefUnwindSafe,
impl<X> Send for Span<X>where
X: Send,
impl<X> Sync for Span<X>where
X: Sync,
impl<X> Unpin for Span<X>where
X: Unpin,
impl<X> UnwindSafe for Span<X>where
X: UnwindSafe,
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