#[repr(C)]pub struct PhysicalDevice16BitStorageFeatures {
pub sType: StructureType,
pub pNext: *mut c_void,
pub storageBuffer16BitAccess: Bool32,
pub uniformAndStorageBuffer16BitAccess: Bool32,
pub storagePushConstant16: Bool32,
pub storageInputOutput16: Bool32,
}Fields§
§sType: StructureType§pNext: *mut c_void§storageBuffer16BitAccess: Bool32§uniformAndStorageBuffer16BitAccess: Bool32§storagePushConstant16: Bool32§storageInputOutput16: Bool32Implementations§
Source§impl PhysicalDevice16BitStorageFeatures
impl PhysicalDevice16BitStorageFeatures
pub fn new() -> Self
pub fn sType(self, sType: StructureType) -> Self
pub fn pNext(self, pNext: *mut c_void) -> Self
pub fn storageBuffer16BitAccess(self, storageBuffer16BitAccess: Bool32) -> Self
pub fn uniformAndStorageBuffer16BitAccess( self, uniformAndStorageBuffer16BitAccess: Bool32, ) -> Self
pub fn storagePushConstant16(self, storagePushConstant16: Bool32) -> Self
pub fn storageInputOutput16(self, storageInputOutput16: Bool32) -> Self
Trait Implementations§
Source§impl Clone for PhysicalDevice16BitStorageFeatures
impl Clone for PhysicalDevice16BitStorageFeatures
Source§fn clone(&self) -> PhysicalDevice16BitStorageFeatures
fn clone(&self) -> PhysicalDevice16BitStorageFeatures
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 Default for PhysicalDevice16BitStorageFeatures
impl Default for PhysicalDevice16BitStorageFeatures
Source§fn default() -> PhysicalDevice16BitStorageFeatures
fn default() -> PhysicalDevice16BitStorageFeatures
Returns the “default value” for a type. Read more
impl Copy for PhysicalDevice16BitStorageFeatures
Auto Trait Implementations§
impl Freeze for PhysicalDevice16BitStorageFeatures
impl RefUnwindSafe for PhysicalDevice16BitStorageFeatures
impl !Send for PhysicalDevice16BitStorageFeatures
impl !Sync for PhysicalDevice16BitStorageFeatures
impl Unpin for PhysicalDevice16BitStorageFeatures
impl UnwindSafe for PhysicalDevice16BitStorageFeatures
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