pub struct PreviewOutput {
pub png_data: Vec<u8>,
pub timings: PreviewRenderTimings,
}Expand description
Successful render output.
Fields§
§png_data: Vec<u8>PNG image bytes.
timings: PreviewRenderTimingsSupport-app timing breakdown for this render request.
Trait Implementations§
Source§impl Clone for PreviewOutput
impl Clone for PreviewOutput
Source§fn clone(&self) -> PreviewOutput
fn clone(&self) -> PreviewOutput
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 moreSource§impl Debug for PreviewOutput
impl Debug for PreviewOutput
Source§impl<'de> Deserialize<'de> for PreviewOutput
impl<'de> Deserialize<'de> for PreviewOutput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PreviewOutput
impl RefUnwindSafe for PreviewOutput
impl Send for PreviewOutput
impl Sync for PreviewOutput
impl Unpin for PreviewOutput
impl UnsafeUnpin for PreviewOutput
impl UnwindSafe for PreviewOutput
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