pub struct FrameRenderRequest { /* private fields */ }Expand description
A validated one-format frame render request.
Implementations§
Source§impl FrameRenderRequest
impl FrameRenderRequest
Sourcepub fn builder(format: OutputFormat) -> FrameRenderRequestBuilder
pub fn builder(format: OutputFormat) -> FrameRenderRequestBuilder
Starts a validated frame request builder for exactly one output format.
Sourcepub const fn format(&self) -> OutputFormat
pub const fn format(&self) -> OutputFormat
Returns the single selected output format.
Sourcepub const fn include_background(&self) -> bool
pub const fn include_background(&self) -> bool
Returns whether the scene background is included.
Sourcepub const fn color_mode(&self) -> ColorMode
pub const fn color_mode(&self) -> ColorMode
Returns the selected color mode.
Sourcepub const fn metadata_options(&self) -> &MetadataOptions
pub const fn metadata_options(&self) -> &MetadataOptions
Returns the optional metadata controls.
Sourcepub const fn supplemental_assets(&self) -> &SupplementalAssets
pub const fn supplemental_assets(&self) -> &SupplementalAssets
Returns the owned supplemental assets.
Sourcepub const fn resource_limits(&self) -> &ResourceLimits
pub const fn resource_limits(&self) -> &ResourceLimits
Returns the semantic resource ceilings applied to this frame.
Sourcepub const fn pdf_options(&self) -> Option<&PdfOptions>
pub const fn pdf_options(&self) -> Option<&PdfOptions>
Returns PDF-specific options for a PDF request.
Trait Implementations§
Source§impl Clone for FrameRenderRequest
impl Clone for FrameRenderRequest
Source§impl Debug for FrameRenderRequest
impl Debug for FrameRenderRequest
Source§impl PartialEq for FrameRenderRequest
impl PartialEq for FrameRenderRequest
impl StructuralPartialEq for FrameRenderRequest
Auto Trait Implementations§
impl Freeze for FrameRenderRequest
impl RefUnwindSafe for FrameRenderRequest
impl Send for FrameRenderRequest
impl Sync for FrameRenderRequest
impl Unpin for FrameRenderRequest
impl UnsafeUnpin for FrameRenderRequest
impl UnwindSafe for FrameRenderRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.