#[non_exhaustive]pub struct RenderResult {
pub artifacts: Vec<Artifact>,
pub warnings: Vec<Diagnostic>,
pub output_format: OutputFormat,
pub regions: Vec<RenderedRegion>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.artifacts: Vec<Artifact>§warnings: Vec<Diagnostic>§output_format: OutputFormat§regions: Vec<RenderedRegion>Schema-field geometry sidecar, populated only when
RenderOptions::regions is set (empty
otherwise). The same entries LiveSession::regions
serves, for consumers without a live session. Whole-document geometry:
page indices are document-space even under a pages subset render.
Implementations§
Source§impl RenderResult
impl RenderResult
pub fn new(artifacts: Vec<Artifact>, output_format: OutputFormat) -> 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