pub struct TextRange { /* private fields */ }Implementations§
Trait Implementations§
Source§impl From<&DiagnosticSpan> for TextRange
impl From<&DiagnosticSpan> for TextRange
Source§fn from(span: &DiagnosticSpan) -> Self
fn from(span: &DiagnosticSpan) -> Self
Converts to this type from the input type.
impl Copy for TextRange
Auto Trait Implementations§
impl Freeze for TextRange
impl RefUnwindSafe for TextRange
impl Send for TextRange
impl Sync for TextRange
impl Unpin for TextRange
impl UnsafeUnpin for TextRange
impl UnwindSafe for TextRange
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