#[repr(C)]pub struct PhysicalDeviceTensorFeaturesARM<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub tensor_non_packed: Bool32,
pub shader_tensor_access: Bool32,
pub shader_storage_tensor_array_dynamic_indexing: Bool32,
pub shader_storage_tensor_array_non_uniform_indexing: Bool32,
pub descriptor_binding_storage_tensor_update_after_bind: Bool32,
pub tensors: Bool32,
pub _marker: PhantomData<&'a ()>,
}Expand description
Fields§
§s_type: StructureType§p_next: *mut c_void§tensor_non_packed: Bool32§shader_tensor_access: Bool32§shader_storage_tensor_array_dynamic_indexing: Bool32§shader_storage_tensor_array_non_uniform_indexing: Bool32§descriptor_binding_storage_tensor_update_after_bind: Bool32§tensors: Bool32§_marker: PhantomData<&'a ()>Implementations§
Source§impl<'a> PhysicalDeviceTensorFeaturesARM<'a>
impl<'a> PhysicalDeviceTensorFeaturesARM<'a>
pub fn tensor_non_packed(self, tensor_non_packed: bool) -> Self
pub fn shader_tensor_access(self, shader_tensor_access: bool) -> Self
pub fn shader_storage_tensor_array_dynamic_indexing( self, shader_storage_tensor_array_dynamic_indexing: bool, ) -> Self
pub fn shader_storage_tensor_array_non_uniform_indexing( self, shader_storage_tensor_array_non_uniform_indexing: bool, ) -> Self
pub fn descriptor_binding_storage_tensor_update_after_bind( self, descriptor_binding_storage_tensor_update_after_bind: bool, ) -> Self
pub fn tensors(self, tensors: bool) -> Self
Trait Implementations§
Source§impl<'a> Clone for PhysicalDeviceTensorFeaturesARM<'a>
impl<'a> Clone for PhysicalDeviceTensorFeaturesARM<'a>
Source§fn clone(&self) -> PhysicalDeviceTensorFeaturesARM<'a>
fn clone(&self) -> PhysicalDeviceTensorFeaturesARM<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for PhysicalDeviceTensorFeaturesARM<'a>
impl<'a> Debug for PhysicalDeviceTensorFeaturesARM<'a>
Source§impl Default for PhysicalDeviceTensorFeaturesARM<'_>
impl Default for PhysicalDeviceTensorFeaturesARM<'_>
Source§impl<'a> TaggedStructure for PhysicalDeviceTensorFeaturesARM<'a>
impl<'a> TaggedStructure for PhysicalDeviceTensorFeaturesARM<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_TENSOR_FEATURES_ARM
impl<'a> Copy for PhysicalDeviceTensorFeaturesARM<'a>
impl ExtendsDeviceCreateInfo for PhysicalDeviceTensorFeaturesARM<'_>
impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceTensorFeaturesARM<'_>
impl Send for PhysicalDeviceTensorFeaturesARM<'_>
impl Sync for PhysicalDeviceTensorFeaturesARM<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceTensorFeaturesARM<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceTensorFeaturesARM<'a>
impl<'a> Unpin for PhysicalDeviceTensorFeaturesARM<'a>
impl<'a> UnwindSafe for PhysicalDeviceTensorFeaturesARM<'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