pub trait InstanceChild {
type ConcreteInstance: Instance;
// Required method
fn instance(&self) -> &Self::ConcreteInstance;
}
Required Associated Types§
Required Methods§
fn instance(&self) -> &Self::ConcreteInstance
Implementations on Foreign Types§
Source§impl<'s, T> InstanceChild for &'s Twhere
T: InstanceChild + ?Sized,
impl<'s, T> InstanceChild for &'s Twhere
T: InstanceChild + ?Sized,
type ConcreteInstance = <T as InstanceChild>::ConcreteInstance
fn instance(&self) -> &Self::ConcreteInstance
Source§impl<'s, T> InstanceChild for &'s mut Twhere
T: InstanceChild + ?Sized,
impl<'s, T> InstanceChild for &'s mut Twhere
T: InstanceChild + ?Sized,
type ConcreteInstance = <T as InstanceChild>::ConcreteInstance
fn instance(&self) -> &Self::ConcreteInstance
Source§impl<T> InstanceChild for Box<T>where
T: InstanceChild + ?Sized,
impl<T> InstanceChild for Box<T>where
T: InstanceChild + ?Sized,
type ConcreteInstance = <T as InstanceChild>::ConcreteInstance
fn instance(&self) -> &Self::ConcreteInstance
Source§impl<T> InstanceChild for Rc<T>where
T: InstanceChild + ?Sized,
impl<T> InstanceChild for Rc<T>where
T: InstanceChild + ?Sized,
type ConcreteInstance = <T as InstanceChild>::ConcreteInstance
fn instance(&self) -> &Self::ConcreteInstance
Source§impl<T> InstanceChild for Arc<T>where
T: InstanceChild + ?Sized,
impl<T> InstanceChild for Arc<T>where
T: InstanceChild + ?Sized,
type ConcreteInstance = <T as InstanceChild>::ConcreteInstance
fn instance(&self) -> &Self::ConcreteInstance
Source§impl<T> InstanceChild for Ref<'_, T>where
T: InstanceChild + ?Sized,
impl<T> InstanceChild for Ref<'_, T>where
T: InstanceChild + ?Sized,
type ConcreteInstance = <T as InstanceChild>::ConcreteInstance
fn instance(&self) -> &Self::ConcreteInstance
Source§impl<T> InstanceChild for RefMut<'_, T>where
T: InstanceChild + ?Sized,
impl<T> InstanceChild for RefMut<'_, T>where
T: InstanceChild + ?Sized,
type ConcreteInstance = <T as InstanceChild>::ConcreteInstance
fn instance(&self) -> &Self::ConcreteInstance
Source§impl<T> InstanceChild for ManuallyDrop<T>where
T: InstanceChild,
impl<T> InstanceChild for ManuallyDrop<T>where
T: InstanceChild,
type ConcreteInstance = <T as InstanceChild>::ConcreteInstance
fn instance(&self) -> &Self::ConcreteInstance
Source§impl<T> InstanceChild for MutexGuard<'_, T>where
T: InstanceChild + ?Sized,
impl<T> InstanceChild for MutexGuard<'_, T>where
T: InstanceChild + ?Sized,
type ConcreteInstance = <T as InstanceChild>::ConcreteInstance
fn instance(&self) -> &Self::ConcreteInstance
Source§impl<T> InstanceChild for RwLockReadGuard<'_, T>where
T: InstanceChild + ?Sized,
impl<T> InstanceChild for RwLockReadGuard<'_, T>where
T: InstanceChild + ?Sized,
type ConcreteInstance = <T as InstanceChild>::ConcreteInstance
fn instance(&self) -> &Self::ConcreteInstance
Source§impl<T> InstanceChild for RwLockWriteGuard<'_, T>where
T: InstanceChild + ?Sized,
impl<T> InstanceChild for RwLockWriteGuard<'_, T>where
T: InstanceChild + ?Sized,
type ConcreteInstance = <T as InstanceChild>::ConcreteInstance
fn instance(&self) -> &Self::ConcreteInstance
Source§impl<T> InstanceChild for MutexGuard<'_, T>where
T: InstanceChild + ?Sized,
impl<T> InstanceChild for MutexGuard<'_, T>where
T: InstanceChild + ?Sized,
type ConcreteInstance = <T as InstanceChild>::ConcreteInstance
fn instance(&self) -> &Self::ConcreteInstance
Source§impl<T> InstanceChild for RwLockReadGuard<'_, T>where
T: InstanceChild + ?Sized,
impl<T> InstanceChild for RwLockReadGuard<'_, T>where
T: InstanceChild + ?Sized,
type ConcreteInstance = <T as InstanceChild>::ConcreteInstance
fn instance(&self) -> &Self::ConcreteInstance
Source§impl<T> InstanceChild for RwLockWriteGuard<'_, T>where
T: InstanceChild + ?Sized,
impl<T> InstanceChild for RwLockWriteGuard<'_, T>where
T: InstanceChild + ?Sized,
type ConcreteInstance = <T as InstanceChild>::ConcreteInstance
fn instance(&self) -> &Self::ConcreteInstance
Implementors§
Source§impl<Instance: Instance + InstanceExtensions> InstanceChild for DebugReportCallbackObject<Instance>
Available on crate feature VK_EXT_debug_report
only.
impl<Instance: Instance + InstanceExtensions> InstanceChild for DebugReportCallbackObject<Instance>
Available on crate feature
VK_EXT_debug_report
only.type ConcreteInstance = Instance
Source§impl<Instance: Instance + InstanceExtensions> InstanceChild for DebugUtilsMessengerObject<Instance>
Available on crate feature VK_EXT_debug_utils
only.
impl<Instance: Instance + InstanceExtensions> InstanceChild for DebugUtilsMessengerObject<Instance>
Available on crate feature
VK_EXT_debug_utils
only.