#[repr(transparent)]pub struct PhysicalDeviceShaderFloat16Int8FeaturesBuilder<'a>(_, _);
Expand description
Implementations
sourceimpl<'a> PhysicalDeviceShaderFloat16Int8FeaturesBuilder<'a>
impl<'a> PhysicalDeviceShaderFloat16Int8FeaturesBuilder<'a>
pub fn new() -> PhysicalDeviceShaderFloat16Int8FeaturesBuilder<'a>
pub fn shader_float16(self, shader_float16: bool) -> Self
pub fn shader_int8(self, shader_int8: bool) -> Self
sourcepub fn build_dangling(self) -> PhysicalDeviceShaderFloat16Int8Features
pub fn build_dangling(self) -> PhysicalDeviceShaderFloat16Int8Features
Discards all lifetime information.
Use the Deref
and DerefMut
implementations if possible.
Methods from Deref<Target = PhysicalDeviceShaderFloat16Int8Features>
pub const STRUCTURE_TYPE: StructureType = crate::vk1_0::StructureType::PHYSICAL_DEVICE_SHADER_FLOAT16_INT8_FEATURES
Trait Implementations
sourceimpl<'a> Clone for PhysicalDeviceShaderFloat16Int8FeaturesBuilder<'a>
impl<'a> Clone for PhysicalDeviceShaderFloat16Int8FeaturesBuilder<'a>
sourcefn clone(&self) -> PhysicalDeviceShaderFloat16Int8FeaturesBuilder<'a>
fn clone(&self) -> PhysicalDeviceShaderFloat16Int8FeaturesBuilder<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'a> Debug for PhysicalDeviceShaderFloat16Int8FeaturesBuilder<'a>
impl<'a> Debug for PhysicalDeviceShaderFloat16Int8FeaturesBuilder<'a>
sourceimpl<'a> Default for PhysicalDeviceShaderFloat16Int8FeaturesBuilder<'a>
impl<'a> Default for PhysicalDeviceShaderFloat16Int8FeaturesBuilder<'a>
sourcefn default() -> PhysicalDeviceShaderFloat16Int8FeaturesBuilder<'a>
fn default() -> PhysicalDeviceShaderFloat16Int8FeaturesBuilder<'a>
Returns the “default value” for a type. Read more
sourceimpl<'a> Deref for PhysicalDeviceShaderFloat16Int8FeaturesBuilder<'a>
impl<'a> Deref for PhysicalDeviceShaderFloat16Int8FeaturesBuilder<'a>
type Target = PhysicalDeviceShaderFloat16Int8Features
type Target = PhysicalDeviceShaderFloat16Int8Features
The resulting type after dereferencing.
sourceimpl<'a> DerefMut for PhysicalDeviceShaderFloat16Int8FeaturesBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceShaderFloat16Int8FeaturesBuilder<'a>
sourceimpl<'a> ExtendableFrom<'a, PhysicalDeviceShaderFloat16Int8FeaturesBuilder<'_>> for DeviceCreateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, PhysicalDeviceShaderFloat16Int8FeaturesBuilder<'_>> for DeviceCreateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, PhysicalDeviceShaderFloat16Int8FeaturesBuilder<'_>> for PhysicalDeviceFeatures2Builder<'a>
impl<'a> ExtendableFrom<'a, PhysicalDeviceShaderFloat16Int8FeaturesBuilder<'_>> for PhysicalDeviceFeatures2Builder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moreimpl<'a> Copy for PhysicalDeviceShaderFloat16Int8FeaturesBuilder<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for PhysicalDeviceShaderFloat16Int8FeaturesBuilder<'a>
impl<'a> !Send for PhysicalDeviceShaderFloat16Int8FeaturesBuilder<'a>
impl<'a> !Sync for PhysicalDeviceShaderFloat16Int8FeaturesBuilder<'a>
impl<'a> Unpin for PhysicalDeviceShaderFloat16Int8FeaturesBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceShaderFloat16Int8FeaturesBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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