pub enum RendererType {
Skia,
Wgpu,
WebGL,
Auto,
}
Expand description
Types of renderers available
Variants§
Skia
Skia-based renderer
Wgpu
WGPU-based renderer
WebGL
WebGL-based renderer (for web)
Auto
Automatic selection based on platform
Trait Implementations§
Source§impl Clone for RendererType
impl Clone for RendererType
Source§fn clone(&self) -> RendererType
fn clone(&self) -> RendererType
Returns a copy 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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Event for T
impl<T> Event for T
Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert to Any for downcasting (mutable)
Source§fn event_type(&self) -> &'static str
fn event_type(&self) -> &'static str
Get the event type name
Source§impl<T> Props for T
impl<T> Props for T
Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert to mutable Any for downcasting