pub struct Instance {
pub name: String,
pub vulkan: Option<<Vulkan as Api>::Instance>,
pub gl: Option<<Gles as Api>::Instance>,
pub flags: InstanceFlags,
}
Fields§
§name: String
§vulkan: Option<<Vulkan as Api>::Instance>
Available on
§vulkan
only.gl: Option<<Gles as Api>::Instance>
Available on
§gles
only.flags: InstanceFlags
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Instance
impl !RefUnwindSafe for Instance
impl Send for Instance
impl Sync for Instance
impl Unpin for Instance
impl !UnwindSafe for Instance
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