pub struct TextSpan {
pub file_id: LiveFileId,
pub start: TextPos,
pub end: TextPos,
}
Fields§
§file_id: LiveFileId
§start: TextPos
§end: TextPos
Trait Implementations§
Source§impl From<TextSpan> for LiveErrorSpan
impl From<TextSpan> for LiveErrorSpan
Source§impl Ord for TextSpan
impl Ord for TextSpan
Source§impl PartialOrd for TextSpan
impl PartialOrd for TextSpan
impl Copy for TextSpan
impl Eq for TextSpan
impl StructuralPartialEq for TextSpan
Auto Trait Implementations§
impl Freeze for TextSpan
impl RefUnwindSafe for TextSpan
impl Send for TextSpan
impl Sync for TextSpan
impl Unpin for TextSpan
impl UnwindSafe for TextSpan
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