pub struct Instance {
pub name: String,
pub vulkan: Option<<Vulkan as Api>::Instance>,
pub dx12: Option<<Dx12 as Api>::Instance>,
pub dx11: Option<<Dx11 as Api>::Instance>,
}
Fields
name: String
vulkan: Option<<Vulkan as Api>::Instance>
dx12: Option<<Dx12 as Api>::Instance>
dx11: Option<<Dx11 as Api>::Instance>
Implementations
Trait Implementations
impl Access<Instance> for Root
impl Access<Surface> for Instance
Auto Trait Implementations
impl !RefUnwindSafe for Instance
impl Send for Instance
impl Sync for Instance
impl Unpin for Instance
impl !UnwindSafe for Instance
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more