pub struct Error<'a> {
pub type_: ErrorType,
pub text: &'a str,
}Fields§
§type_: ErrorType§text: &'a strTrait Implementations§
Source§impl From<Clay_ErrorData> for Error<'_>
impl From<Clay_ErrorData> for Error<'_>
Source§fn from(value: Clay_ErrorData) -> Self
fn from(value: Clay_ErrorData) -> Self
Converts to this type from the input type.
impl<'a> Copy for Error<'a>
Auto Trait Implementations§
impl<'a> Freeze for Error<'a>
impl<'a> RefUnwindSafe for Error<'a>
impl<'a> Send for Error<'a>
impl<'a> Sync for Error<'a>
impl<'a> Unpin for Error<'a>
impl<'a> UnwindSafe for Error<'a>
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