pub struct InstanceShared {
    raw: Instance,
    extensions: Vec<&'static CStr>,
    drop_guard: Option<DropGuard>,
    flags: InstanceFlags,
    memory_budget_thresholds: MemoryBudgetThresholds,
    debug_utils: Option<DebugUtils>,
    get_physical_device_properties: Option<Instance>,
    entry: Entry,
    has_nv_optimus: bool,
    android_sdk_version: u32,
    instance_api_version: u32,
}Fields§
§raw: Instance§extensions: Vec<&'static CStr>§drop_guard: Option<DropGuard>§flags: InstanceFlags§memory_budget_thresholds: MemoryBudgetThresholds§debug_utils: Option<DebugUtils>§get_physical_device_properties: Option<Instance>§entry: Entry§has_nv_optimus: bool§android_sdk_version: u32§instance_api_version: u32The instance API version.
Which is the version of Vulkan supported for instance-level functionality.
It is associated with a VkInstance and its children,
except for a VkPhysicalDevice and its children.
Implementations§
fn inspect( &self, phd: PhysicalDevice, ) -> (PhysicalDeviceProperties, PhysicalDeviceFeatures)
pub fn entry(&self) -> &Entry
pub fn raw_instance(&self) -> &Instance
pub fn instance_api_version(&self) -> u32
pub fn extensions(&self) -> &[&'static CStr]
Trait Implementations§
Auto Trait Implementations§
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