pub struct MacroError {
pub msg: String,
}
Fields§
§msg: String
Trait Implementations§
Source§impl<'a> From<&'a str> for MacroError
impl<'a> From<&'a str> for MacroError
Source§fn from(m: &'a str) -> MacroError
fn from(m: &'a str) -> MacroError
Converts to this type from the input type.
Source§impl From<String> for MacroError
impl From<String> for MacroError
Source§fn from(m: String) -> MacroError
fn from(m: String) -> MacroError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MacroError
impl RefUnwindSafe for MacroError
impl Send for MacroError
impl Sync for MacroError
impl Unpin for MacroError
impl UnwindSafe for MacroError
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