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 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