enum Spelling {
Fixed(&'static str),
Varies(&'static str),
}Expand description
A token’s text, or for tokens whose text varies, how an error message names them.
Variants§
Auto Trait Implementations§
impl Freeze for Spelling
impl RefUnwindSafe for Spelling
impl Send for Spelling
impl Sync for Spelling
impl Unpin for Spelling
impl UnsafeUnpin for Spelling
impl UnwindSafe for Spelling
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