pub enum BackendPreference {
Auto,
Vulkan,
Gles,
}Expand description
Which backend to use.
Variants§
Auto
Try each compiled-in backend in order of preference.
Vulkan first: it is the reference implementation, the backend features land on first, and the one every other is diffed against.
Vulkan
Vulkan, or fail.
Gles
GLES, or fail.
Trait Implementations§
Source§impl Clone for BackendPreference
impl Clone for BackendPreference
impl Copy for BackendPreference
Source§impl Debug for BackendPreference
impl Debug for BackendPreference
Source§impl Default for BackendPreference
impl Default for BackendPreference
impl Eq for BackendPreference
Source§impl PartialEq for BackendPreference
impl PartialEq for BackendPreference
impl StructuralPartialEq for BackendPreference
Auto Trait Implementations§
impl Freeze for BackendPreference
impl RefUnwindSafe for BackendPreference
impl Send for BackendPreference
impl Sync for BackendPreference
impl Unpin for BackendPreference
impl UnsafeUnpin for BackendPreference
impl UnwindSafe for BackendPreference
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