pub struct FrameRenderEntry<'scene> { /* private fields */ }Expand description
One target result yielded by a lazy multi-frame render operation.
Implementations§
Source§impl<'scene> FrameRenderEntry<'scene>
impl<'scene> FrameRenderEntry<'scene>
Sourcepub const fn result(&self) -> &Result<RenderOutcome, RenderError>
pub const fn result(&self) -> &Result<RenderOutcome, RenderError>
Returns the complete target render result.
Sourcepub fn target_diagnostics(&self) -> &[CompatibilityDiagnostic]
pub fn target_diagnostics(&self) -> &[CompatibilityDiagnostic]
Returns diagnostics attributed specifically to this target.
Sourcepub fn into_result(self) -> Result<RenderOutcome, RenderError>
pub fn into_result(self) -> Result<RenderOutcome, RenderError>
Consumes the entry and returns its complete target result.
§Errors
Returns this frame’s RenderError when it could not be rendered,
as Renderer::render_frame would.
Trait Implementations§
Auto Trait Implementations§
impl<'scene> Freeze for FrameRenderEntry<'scene>
impl<'scene> RefUnwindSafe for FrameRenderEntry<'scene>
impl<'scene> Send for FrameRenderEntry<'scene>
impl<'scene> Sync for FrameRenderEntry<'scene>
impl<'scene> Unpin for FrameRenderEntry<'scene>
impl<'scene> UnsafeUnpin for FrameRenderEntry<'scene>
impl<'scene> UnwindSafe for FrameRenderEntry<'scene>
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
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.