pub unsafe trait InstanceOwned {
    // Required method
    fn instance(&self) -> &Arc<Instance>;
}
Expand description

Implemented on objects that belong to a Vulkan instance.

Safety

  • instance() must return the correct instance.

Required Methods§

source

fn instance(&self) -> &Arc<Instance>

Returns the instance that owns self.

Implementors§