pub type PhysicalDeviceToolPropertiesEXT<'a> = PhysicalDeviceToolProperties<'a>;
Aliased Type§
struct PhysicalDeviceToolPropertiesEXT<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub name: [i8; 256],
pub version: [i8; 256],
pub purposes: ToolPurposeFlags,
pub description: [i8; 256],
pub layer: [i8; 256],
pub _marker: PhantomData<&'a ()>,
}
Fields§
§s_type: StructureType
§p_next: *mut c_void
§name: [i8; 256]
§version: [i8; 256]
§purposes: ToolPurposeFlags
§description: [i8; 256]
§layer: [i8; 256]
§_marker: PhantomData<&'a ()>
Implementations
Source§impl<'a> PhysicalDeviceToolProperties<'a>
impl<'a> PhysicalDeviceToolProperties<'a>
pub fn name(self, name: &CStr) -> Result<Self, CStrTooLargeForStaticArray>
pub fn name_as_c_str(&self) -> Result<&CStr, FromBytesUntilNulError>
pub fn version(self, version: &CStr) -> Result<Self, CStrTooLargeForStaticArray>
pub fn version_as_c_str(&self) -> Result<&CStr, FromBytesUntilNulError>
pub fn purposes(self, purposes: ToolPurposeFlags) -> Self
pub fn description( self, description: &CStr, ) -> Result<Self, CStrTooLargeForStaticArray>
pub fn description_as_c_str(&self) -> Result<&CStr, FromBytesUntilNulError>
pub fn layer(self, layer: &CStr) -> Result<Self, CStrTooLargeForStaticArray>
pub fn layer_as_c_str(&self) -> Result<&CStr, FromBytesUntilNulError>
Trait Implementations
Source§impl<'a> Clone for PhysicalDeviceToolProperties<'a>
impl<'a> Clone for PhysicalDeviceToolProperties<'a>
Source§fn clone(&self) -> PhysicalDeviceToolProperties<'a>
fn clone(&self) -> PhysicalDeviceToolProperties<'a>
Returns a copy 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 more