pub struct RenderResult {
pub artifacts: Vec<Artifact>,
pub warnings: Vec<Diagnostic>,
}Expand description
Result type containing artifacts and warnings
Fields§
§artifacts: Vec<Artifact>§warnings: Vec<Diagnostic>Implementations§
Source§impl RenderResult
impl RenderResult
Sourcepub fn with_warning(self, warning: Diagnostic) -> Self
pub fn with_warning(self, warning: Diagnostic) -> Self
Add a warning to the result
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 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