Trait InstanceChild

Source
pub trait InstanceChild {
    type ConcreteInstance: Instance;

    // Required method
    fn instance(&self) -> &Self::ConcreteInstance;
}

Required Associated Types§

Required Methods§

Source

fn instance(&self) -> &Self::ConcreteInstance

Implementations on Foreign Types§

Source§

impl<'s, T> InstanceChild for &'s T
where T: InstanceChild + ?Sized,

Source§

impl<'s, T> InstanceChild for &'s mut T
where T: InstanceChild + ?Sized,

Source§

impl<T> InstanceChild for Box<T>
where T: InstanceChild + ?Sized,

Source§

impl<T> InstanceChild for Rc<T>
where T: InstanceChild + ?Sized,

Source§

impl<T> InstanceChild for Arc<T>
where T: InstanceChild + ?Sized,

Source§

impl<T> InstanceChild for Ref<'_, T>
where T: InstanceChild + ?Sized,

Source§

impl<T> InstanceChild for RefMut<'_, T>
where T: InstanceChild + ?Sized,

Source§

impl<T> InstanceChild for ManuallyDrop<T>
where T: InstanceChild,

Source§

impl<T> InstanceChild for MutexGuard<'_, T>
where T: InstanceChild + ?Sized,

Source§

impl<T> InstanceChild for RwLockReadGuard<'_, T>
where T: InstanceChild + ?Sized,

Source§

impl<T> InstanceChild for RwLockWriteGuard<'_, T>
where T: InstanceChild + ?Sized,

Source§

impl<T> InstanceChild for MutexGuard<'_, T>
where T: InstanceChild + ?Sized,

Source§

impl<T> InstanceChild for RwLockReadGuard<'_, T>
where T: InstanceChild + ?Sized,

Source§

impl<T> InstanceChild for RwLockWriteGuard<'_, T>
where T: InstanceChild + ?Sized,

Implementors§

Source§

impl<Instance: Instance + InstanceExtensions> InstanceChild for DebugReportCallbackObject<Instance>

Available on crate feature VK_EXT_debug_report only.
Source§

type ConcreteInstance = Instance

Source§

impl<Instance: Instance + InstanceExtensions> InstanceChild for DebugUtilsMessengerObject<Instance>

Available on crate feature VK_EXT_debug_utils only.
Source§

type ConcreteInstance = Instance

Source§

impl<Instance: Instance> InstanceChild for DeviceObject<Instance>

Source§

type ConcreteInstance = Instance

Source§

impl<Instance: Instance> InstanceChild for SurfaceObject<Instance>

Source§

type ConcreteInstance = Instance

Source§

impl<Owner: Instance> InstanceChild for PhysicalDeviceObject<Owner>