pub struct PhysicalDeviceFeatures2Builder<'a> { /* private fields */ }Expand description
Builder for PhysicalDeviceFeatures2 with lifetime-tied pNext safety.
Implementations§
Source§impl<'a> PhysicalDeviceFeatures2Builder<'a>
impl<'a> PhysicalDeviceFeatures2Builder<'a>
pub fn features( self, value: PhysicalDeviceFeatures, ) -> PhysicalDeviceFeatures2Builder<'a>
Sourcepub fn push_next<T>(self, next: &'a mut T) -> PhysicalDeviceFeatures2Builder<'a>where
T: ExtendsPhysicalDeviceFeatures2,
pub fn push_next<T>(self, next: &'a mut T) -> PhysicalDeviceFeatures2Builder<'a>where
T: ExtendsPhysicalDeviceFeatures2,
Prepend a struct to the pNext chain. See PhysicalDeviceFeatures2’s Extended By section for valid types.
Trait Implementations§
Source§impl<'a> Deref for PhysicalDeviceFeatures2Builder<'a>
impl<'a> Deref for PhysicalDeviceFeatures2Builder<'a>
Source§type Target = PhysicalDeviceFeatures2
type Target = PhysicalDeviceFeatures2
The resulting type after dereferencing.
Source§impl<'a> DerefMut for PhysicalDeviceFeatures2Builder<'a>
impl<'a> DerefMut for PhysicalDeviceFeatures2Builder<'a>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceFeatures2Builder<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceFeatures2Builder<'a>
impl<'a> !Send for PhysicalDeviceFeatures2Builder<'a>
impl<'a> !Sync for PhysicalDeviceFeatures2Builder<'a>
impl<'a> Unpin for PhysicalDeviceFeatures2Builder<'a>
impl<'a> UnsafeUnpin for PhysicalDeviceFeatures2Builder<'a>
impl<'a> UnwindSafe for PhysicalDeviceFeatures2Builder<'a>
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