#[repr(transparent)]pub struct PhysicalDeviceBorderColorSwizzleFeaturesEXTBuilder<'a> { /* private fields */ }Implementations
sourceimpl<'a> PhysicalDeviceBorderColorSwizzleFeaturesEXTBuilder<'a>
impl<'a> PhysicalDeviceBorderColorSwizzleFeaturesEXTBuilder<'a>
pub fn border_color_swizzle(
self,
border_color_swizzle: bool
) -> PhysicalDeviceBorderColorSwizzleFeaturesEXTBuilder<'a>
pub fn border_color_swizzle_from_image(
self,
border_color_swizzle_from_image: bool
) -> PhysicalDeviceBorderColorSwizzleFeaturesEXTBuilder<'a>
sourcepub fn build(self) -> PhysicalDeviceBorderColorSwizzleFeaturesEXT
pub fn build(self) -> PhysicalDeviceBorderColorSwizzleFeaturesEXT
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations
sourceimpl<'a> Deref for PhysicalDeviceBorderColorSwizzleFeaturesEXTBuilder<'a>
impl<'a> Deref for PhysicalDeviceBorderColorSwizzleFeaturesEXTBuilder<'a>
type Target = PhysicalDeviceBorderColorSwizzleFeaturesEXT
type Target = PhysicalDeviceBorderColorSwizzleFeaturesEXT
The resulting type after dereferencing.
sourcefn deref(
&self
) -> &<PhysicalDeviceBorderColorSwizzleFeaturesEXTBuilder<'a> as Deref>::Target
fn deref(
&self
) -> &<PhysicalDeviceBorderColorSwizzleFeaturesEXTBuilder<'a> as Deref>::Target
Dereferences the value.
sourceimpl<'a> DerefMut for PhysicalDeviceBorderColorSwizzleFeaturesEXTBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceBorderColorSwizzleFeaturesEXTBuilder<'a>
sourcefn deref_mut(
&mut self
) -> &mut <PhysicalDeviceBorderColorSwizzleFeaturesEXTBuilder<'a> as Deref>::Target
fn deref_mut(
&mut self
) -> &mut <PhysicalDeviceBorderColorSwizzleFeaturesEXTBuilder<'a> as Deref>::Target
Mutably dereferences the value.
impl<'_> ExtendsDeviceCreateInfo for PhysicalDeviceBorderColorSwizzleFeaturesEXTBuilder<'_>
impl<'_> ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceBorderColorSwizzleFeaturesEXTBuilder<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for PhysicalDeviceBorderColorSwizzleFeaturesEXTBuilder<'a>
impl<'a> !Send for PhysicalDeviceBorderColorSwizzleFeaturesEXTBuilder<'a>
impl<'a> !Sync for PhysicalDeviceBorderColorSwizzleFeaturesEXTBuilder<'a>
impl<'a> Unpin for PhysicalDeviceBorderColorSwizzleFeaturesEXTBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceBorderColorSwizzleFeaturesEXTBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more