pub struct SyntaxError {
pub tok: TokenTree,
pub msg: String,
}Fields§
§tok: TokenTree§msg: StringTrait Implementations§
Auto Trait Implementations§
impl !Send for SyntaxError
impl !Sync for SyntaxError
impl Freeze for SyntaxError
impl RefUnwindSafe for SyntaxError
impl Unpin for SyntaxError
impl UnsafeUnpin for SyntaxError
impl UnwindSafe for SyntaxError
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