pub struct Artifact {
pub bytes: Vec<u8>,
pub output_format: OutputFormat,
}Expand description
An artifact produced by rendering. See module docs for examples.
Fields§
§bytes: Vec<u8>The binary content of the artifact
output_format: OutputFormatThe format of the output
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Artifact
impl RefUnwindSafe for Artifact
impl Send for Artifact
impl Sync for Artifact
impl Unpin for Artifact
impl UnwindSafe for Artifact
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