pub struct RenderResult {
pub artifacts: Vec<Artifact>,
pub warnings: Vec<Diagnostic>,
pub output_format: OutputFormat,
}Fields§
§artifacts: Vec<Artifact>§warnings: Vec<Diagnostic>§output_format: OutputFormatImplementations§
Source§impl RenderResult
impl RenderResult
pub fn new(artifacts: Vec<Artifact>, output_format: OutputFormat) -> Self
pub fn with_warning(self, warning: Diagnostic) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RenderResult
impl RefUnwindSafe for RenderResult
impl Send for RenderResult
impl Sync for RenderResult
impl Unpin for RenderResult
impl UnsafeUnpin for RenderResult
impl UnwindSafe for RenderResult
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