Struct rustracer::render::OnOffRenderer
source · pub struct OnOffRenderer<'a> {
world: &'a World,
bg_color: Color,
fg_color: Color,
}
Expand description
A on/off renderer.
This renderer is mostly useful for debugging purposes, as it is really fast, but it produces boring images.
Fields§
§world: &'a World
A world instance.
bg_color: Color
Background color (usually BLACK
).
fg_color: Color
Foreground color (usually WHITE
).
Implementations§
source§impl<'a> OnOffRenderer<'a>
impl<'a> OnOffRenderer<'a>
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for OnOffRenderer<'a>
impl<'a> Send for OnOffRenderer<'a>
impl<'a> Sync for OnOffRenderer<'a>
impl<'a> Unpin for OnOffRenderer<'a>
impl<'a> !UnwindSafe for OnOffRenderer<'a>
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