pub struct Instance {
pub name: String,
pub vulkan: Option<<Api as Api>::Instance>,
pub gl: Option<<Api as Api>::Instance>,
pub flags: InstanceFlags,
}
Fields§
§name: String
§vulkan: Option<<Api as Api>::Instance>
§gl: Option<<Api as Api>::Instance>
§flags: InstanceFlags
Implementations§
Trait Implementations§
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§
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