pub enum RenderTargetMode {
Surface,
Headless,
}Expand description
Render target backing used by a renderer instance.
Variants§
Surface
Frames are presented to a platform surface.
Headless
Frames are rendered to an offscreen texture for tests, tools, or captures.
Trait Implementations§
Source§impl Clone for RenderTargetMode
impl Clone for RenderTargetMode
Source§fn clone(&self) -> RenderTargetMode
fn clone(&self) -> RenderTargetMode
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 RenderTargetMode
impl Debug for RenderTargetMode
Source§impl PartialEq for RenderTargetMode
impl PartialEq for RenderTargetMode
Source§fn eq(&self, other: &RenderTargetMode) -> bool
fn eq(&self, other: &RenderTargetMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RenderTargetMode
impl Eq for RenderTargetMode
impl StructuralPartialEq for RenderTargetMode
Auto Trait Implementations§
impl Freeze for RenderTargetMode
impl RefUnwindSafe for RenderTargetMode
impl Send for RenderTargetMode
impl Sync for RenderTargetMode
impl Unpin for RenderTargetMode
impl UnsafeUnpin for RenderTargetMode
impl UnwindSafe for RenderTargetMode
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.