pub enum RenderOutcome {
Rendered {
grids_drawn: usize,
},
Empty,
}Expand description
Outcome of a render_scene / render_scene_composed call.
Variants§
Rendered
At least one grid produced a render.
Fields
§
grids_drawn: usizeNumber of grids whose opticast pass returned
OpticastOutcome::Rendered.
Empty
No grid rendered. Either the scene was empty or every
per-grid opticast call returned
OpticastOutcome::SkippedCameraInSolid.
Trait Implementations§
Source§impl Clone for RenderOutcome
impl Clone for RenderOutcome
Source§fn clone(&self) -> RenderOutcome
fn clone(&self) -> RenderOutcome
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 RenderOutcome
impl Debug for RenderOutcome
Source§impl PartialEq for RenderOutcome
impl PartialEq for RenderOutcome
Source§fn eq(&self, other: &RenderOutcome) -> bool
fn eq(&self, other: &RenderOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RenderOutcome
impl Eq for RenderOutcome
impl StructuralPartialEq for RenderOutcome
Auto Trait Implementations§
impl Freeze for RenderOutcome
impl RefUnwindSafe for RenderOutcome
impl Send for RenderOutcome
impl Sync for RenderOutcome
impl Unpin for RenderOutcome
impl UnsafeUnpin for RenderOutcome
impl UnwindSafe for RenderOutcome
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more