pub struct ErrorElement<'i> {
pub span: Span,
pub value: &'i str,
}Fields§
§span: Span§value: &'i strTrait Implementations§
Source§impl<'i> Clone for ErrorElement<'i>
impl<'i> Clone for ErrorElement<'i>
Source§fn clone(&self) -> ErrorElement<'i>
fn clone(&self) -> ErrorElement<'i>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'i> Debug for ErrorElement<'i>
impl<'i> Debug for ErrorElement<'i>
Auto Trait Implementations§
impl<'i> Freeze for ErrorElement<'i>
impl<'i> RefUnwindSafe for ErrorElement<'i>
impl<'i> Send for ErrorElement<'i>
impl<'i> Sync for ErrorElement<'i>
impl<'i> Unpin for ErrorElement<'i>
impl<'i> UnsafeUnpin for ErrorElement<'i>
impl<'i> UnwindSafe for ErrorElement<'i>
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