pub struct TargetCompilationResult {
pub diagnostics: Vec<Diagnostic>,
pub files: Option<Vec<GeneratedFile>>,
pub build_manifest: Option<Value>,
pub resolved_libraries: Vec<LibraryProvenance>,
}Expand description
Result of compiling for one arbitrary target generator
(Compiler::compile_target/Compiler::compile_target_with_base) —
the target-neutral counterpart to CompilationResult, which stays
Rust-specific (rust_output: Option<String>) for backward compatibility.
Fields§
§diagnostics: Vec<Diagnostic>§files: Option<Vec<GeneratedFile>>The generated files, present iff generation succeeded with no
upstream errors. Empty output (a generator returning zero files) is
treated the same as None, matching CompilationResult::rust_output.
build_manifest: Option<Value>§resolved_libraries: Vec<LibraryProvenance>Trait Implementations§
Source§impl Clone for TargetCompilationResult
impl Clone for TargetCompilationResult
Source§fn clone(&self) -> TargetCompilationResult
fn clone(&self) -> TargetCompilationResult
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 moreAuto Trait Implementations§
impl Freeze for TargetCompilationResult
impl RefUnwindSafe for TargetCompilationResult
impl Send for TargetCompilationResult
impl Sync for TargetCompilationResult
impl Unpin for TargetCompilationResult
impl UnsafeUnpin for TargetCompilationResult
impl UnwindSafe for TargetCompilationResult
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