pub struct ErrorToken(pub &'static str);
Expand description
A token used to represent an error in the textified output.
Tuple Fields§
§0: &'static str
The kind of item this is in place of.
Trait Implementations§
Source§impl Clone for ErrorToken
impl Clone for ErrorToken
Source§fn clone(&self) -> ErrorToken
fn clone(&self) -> ErrorToken
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 Debug for ErrorToken
impl Debug for ErrorToken
Source§impl Display for ErrorToken
impl Display for ErrorToken
impl Copy for ErrorToken
Auto Trait Implementations§
impl Freeze for ErrorToken
impl RefUnwindSafe for ErrorToken
impl Send for ErrorToken
impl Sync for ErrorToken
impl Unpin for ErrorToken
impl UnwindSafe for ErrorToken
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