pub enum LiveErrorSpan {
Text(TextSpan),
Token(TokenSpan),
}
Variants§
Trait Implementations§
Source§impl Clone for LiveErrorSpan
impl Clone for LiveErrorSpan
Source§fn clone(&self) -> LiveErrorSpan
fn clone(&self) -> LiveErrorSpan
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl From<LiveTokenId> for LiveErrorSpan
impl From<LiveTokenId> for LiveErrorSpan
Source§fn from(val: LiveTokenId) -> Self
fn from(val: LiveTokenId) -> Self
Converts to this type from the input type.
Source§impl From<TextSpan> for LiveErrorSpan
impl From<TextSpan> for LiveErrorSpan
Auto Trait Implementations§
impl Freeze for LiveErrorSpan
impl RefUnwindSafe for LiveErrorSpan
impl Send for LiveErrorSpan
impl Sync for LiveErrorSpan
impl Unpin for LiveErrorSpan
impl UnwindSafe for LiveErrorSpan
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