pub enum RenderBackendCandidate {
GpuDirect,
GpuUpload,
Hybrid,
Software,
Terminal,
}Expand description
Unified cross-platform rendering path candidate evaluated by AdaptiveRenderRouter.
Variants§
GpuDirect
Direct GPU primitive rendering with zero steady-state CPU RGBA framebuffer mirroring.
GpuUpload
GPU texture upload path presenting CPU-rasterized dirty rectangles or framebuffers.
Hybrid
Sparse CPU-local effect tiles composited alongside GPU-native primitives.
Software
Pure CPU analytical-SDF software rasterizer and surface blit.
Terminal
Terminal character-cell incremental diff / CLI batched pipe output (never GPU-routed).
Implementations§
Source§impl RenderBackendCandidate
Wire-label and mode conversion helpers for RenderBackendCandidate.
impl RenderBackendCandidate
Wire-label and mode conversion helpers for RenderBackendCandidate.
Sourcepub const fn to_render_mode(&self) -> RenderMode
pub const fn to_render_mode(&self) -> RenderMode
Sourcepub const fn is_direct_gpu(&self) -> bool
pub const fn is_direct_gpu(&self) -> bool
Trait Implementations§
Source§impl Clone for RenderBackendCandidate
impl Clone for RenderBackendCandidate
impl Copy for RenderBackendCandidate
Source§impl Debug for RenderBackendCandidate
impl Debug for RenderBackendCandidate
Source§impl Default for RenderBackendCandidate
impl Default for RenderBackendCandidate
Source§impl<'de> Deserialize<'de> for RenderBackendCandidate
impl<'de> Deserialize<'de> for RenderBackendCandidate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RenderBackendCandidate
Source§impl Hash for RenderBackendCandidate
impl Hash for RenderBackendCandidate
Source§impl Ord for RenderBackendCandidate
impl Ord for RenderBackendCandidate
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for RenderBackendCandidate
impl PartialEq for RenderBackendCandidate
Source§impl PartialOrd for RenderBackendCandidate
impl PartialOrd for RenderBackendCandidate
Source§impl Serialize for RenderBackendCandidate
impl Serialize for RenderBackendCandidate
impl StructuralPartialEq for RenderBackendCandidate
Auto Trait Implementations§
impl Forget for RenderBackendCandidate
impl Freeze for RenderBackendCandidate
impl Move for RenderBackendCandidate
impl RefUnwindSafe for RenderBackendCandidate
impl Send for RenderBackendCandidate
impl Sync for RenderBackendCandidate
impl Unpin for RenderBackendCandidate
impl UnsafeUnpin for RenderBackendCandidate
impl UnwindSafe for RenderBackendCandidate
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