pub struct CompilationError {
pub file: Option<PathBuf>,
pub description: String,
}
Fields§
§file: Option<PathBuf>
§description: String
Trait Implementations§
Source§impl Clone for CompilationError
impl Clone for CompilationError
Source§fn clone(&self) -> CompilationError
fn clone(&self) -> CompilationError
Returns a duplicate 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 CompilationError
impl Debug for CompilationError
Source§impl Display for CompilationError
impl Display for CompilationError
Source§impl From<CompilationError> for CompilerError
impl From<CompilationError> for CompilerError
Source§fn from(val: CompilationError) -> Self
fn from(val: CompilationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CompilationError
impl RefUnwindSafe for CompilationError
impl Send for CompilationError
impl Sync for CompilationError
impl Unpin for CompilationError
impl UnwindSafe for CompilationError
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