pub struct TranslationOutput {
pub body: Value,
pub diagnostics: Vec<TranslationDiagnostic>,
}Expand description
Encoded translation result with any diagnostics emitted along the way.
Fields§
§body: Value§diagnostics: Vec<TranslationDiagnostic>Trait Implementations§
Auto Trait Implementations§
impl Freeze for TranslationOutput
impl RefUnwindSafe for TranslationOutput
impl Send for TranslationOutput
impl Sync for TranslationOutput
impl Unpin for TranslationOutput
impl UnsafeUnpin for TranslationOutput
impl UnwindSafe for TranslationOutput
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