#[non_exhaustive]#[repr(i32)]pub enum retro_hw_render_interface_type {
RETRO_HW_RENDER_INTERFACE_VULKAN = 0,
RETRO_HW_RENDER_INTERFACE_D3D9 = 1,
RETRO_HW_RENDER_INTERFACE_D3D10 = 2,
RETRO_HW_RENDER_INTERFACE_D3D11 = 3,
RETRO_HW_RENDER_INTERFACE_D3D12 = 4,
RETRO_HW_RENDER_INTERFACE_GSKIT_PS2 = 5,
RETRO_HW_RENDER_INTERFACE_DUMMY = 2_147_483_647,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
RETRO_HW_RENDER_INTERFACE_VULKAN = 0
RETRO_HW_RENDER_INTERFACE_D3D9 = 1
RETRO_HW_RENDER_INTERFACE_D3D10 = 2
RETRO_HW_RENDER_INTERFACE_D3D11 = 3
RETRO_HW_RENDER_INTERFACE_D3D12 = 4
RETRO_HW_RENDER_INTERFACE_GSKIT_PS2 = 5
RETRO_HW_RENDER_INTERFACE_DUMMY = 2_147_483_647
Trait Implementations§
Source§impl Clone for retro_hw_render_interface_type
impl Clone for retro_hw_render_interface_type
Source§fn clone(&self) -> retro_hw_render_interface_type
fn clone(&self) -> retro_hw_render_interface_type
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 PartialEq for retro_hw_render_interface_type
impl PartialEq for retro_hw_render_interface_type
Source§fn eq(&self, other: &retro_hw_render_interface_type) -> bool
fn eq(&self, other: &retro_hw_render_interface_type) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for retro_hw_render_interface_type
impl Eq for retro_hw_render_interface_type
impl StructuralPartialEq for retro_hw_render_interface_type
Auto Trait Implementations§
impl Freeze for retro_hw_render_interface_type
impl RefUnwindSafe for retro_hw_render_interface_type
impl Send for retro_hw_render_interface_type
impl Sync for retro_hw_render_interface_type
impl Unpin for retro_hw_render_interface_type
impl UnwindSafe for retro_hw_render_interface_type
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