pub enum RendererType {
Canvas2D,
WebGL2,
WebGPU,
}Expand description
Supported rendering backends
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for RendererType
impl Clone for RendererType
Source§fn clone(&self) -> RendererType
fn clone(&self) -> RendererType
Returns a duplicate of the value. Read more
1.0.0 · 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 RendererType
impl Debug for RendererType
Source§impl Hash for RendererType
impl Hash for RendererType
Source§impl PartialEq for RendererType
impl PartialEq for RendererType
impl Copy for RendererType
impl Eq for RendererType
impl StructuralPartialEq for RendererType
Auto Trait Implementations§
impl Freeze for RendererType
impl RefUnwindSafe for RendererType
impl Send for RendererType
impl Sync for RendererType
impl Unpin for RendererType
impl UnwindSafe for RendererType
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