pub enum BackendFeature {
IncrementalRendering,
HardwareAcceleration,
ComputeShaders,
AsyncRendering,
}Expand description
Backend feature capabilities
Variants§
IncrementalRendering
Supports incremental rendering of dirty regions
HardwareAcceleration
Hardware accelerated rendering
ComputeShaders
Compute shader support
AsyncRendering
Async rendering operations
Trait Implementations§
Source§impl Clone for BackendFeature
impl Clone for BackendFeature
Source§fn clone(&self) -> BackendFeature
fn clone(&self) -> BackendFeature
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 moreimpl Copy for BackendFeature
Source§impl Debug for BackendFeature
impl Debug for BackendFeature
impl Eq for BackendFeature
Source§impl PartialEq for BackendFeature
impl PartialEq for BackendFeature
Source§fn eq(&self, other: &BackendFeature) -> bool
fn eq(&self, other: &BackendFeature) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BackendFeature
Auto Trait Implementations§
impl Freeze for BackendFeature
impl RefUnwindSafe for BackendFeature
impl Send for BackendFeature
impl Sync for BackendFeature
impl Unpin for BackendFeature
impl UnsafeUnpin for BackendFeature
impl UnwindSafe for BackendFeature
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more