pub struct CompilationResult {
pub pel: Option<String>,
pub messages: Vec<Message>,
}Expand description
Contains the actual compilation result:
- pel: expression as a String
- messages: vector of [Message] containing any potential error messages.
Fields§
§pel: Option<String>§messages: Vec<Message>Trait Implementations§
Source§impl Clone for CompilationResult
impl Clone for CompilationResult
Source§fn clone(&self) -> CompilationResult
fn clone(&self) -> CompilationResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CompilationResult
impl Debug for CompilationResult
Source§impl PartialEq for CompilationResult
impl PartialEq for CompilationResult
Source§fn eq(&self, other: &CompilationResult) -> bool
fn eq(&self, other: &CompilationResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CompilationResult
Auto Trait Implementations§
impl Freeze for CompilationResult
impl RefUnwindSafe for CompilationResult
impl Send for CompilationResult
impl Sync for CompilationResult
impl Unpin for CompilationResult
impl UnsafeUnpin for CompilationResult
impl UnwindSafe for CompilationResult
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