pub enum AnyRendy {
Dx12(<Self as BackendSwitch>::Dx12),
Empty(<Self as BackendSwitch>::Empty),
Gl(<Self as BackendSwitch>::Gl),
Metal(<Self as BackendSwitch>::Metal),
Vulkan(<Self as BackendSwitch>::Vulkan),
}
Variants§
Dx12(<Self as BackendSwitch>::Dx12)
Empty(<Self as BackendSwitch>::Empty)
Gl(<Self as BackendSwitch>::Gl)
Metal(<Self as BackendSwitch>::Metal)
Vulkan(<Self as BackendSwitch>::Vulkan)
Implementations§
Source§impl AnyRendy
impl AnyRendy
pub fn init_auto( config: &Config<impl DevicesConfigure, impl HeapsConfigure, impl QueuesConfigure>, ) -> Result<Self, RendyAutoInitError>
pub fn init( back: EnabledBackend, config: &Config<impl DevicesConfigure, impl HeapsConfigure, impl QueuesConfigure>, ) -> Result<Self, RendyInitError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AnyRendy
impl RefUnwindSafe for AnyRendy
impl Send for AnyRendy
impl Sync for AnyRendy
impl Unpin for AnyRendy
impl UnwindSafe for AnyRendy
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