#[repr(transparent)]pub struct WGPUSType(pub c_int);Tuple Fields§
§0: c_intImplementations§
§impl WGPUSType
impl WGPUSType
pub const ShaderSourceSPIRV: Self = raw::WGPUSType_WGPUSType_ShaderSourceSPIRV
pub const ShaderSourceWGSL: Self = raw::WGPUSType_WGPUSType_ShaderSourceWGSL
pub const RenderPassMaxDrawCount: Self = raw::WGPUSType_WGPUSType_RenderPassMaxDrawCount
pub const SurfaceSourceMetalLayer: Self = raw::WGPUSType_WGPUSType_SurfaceSourceMetalLayer
pub const SurfaceSourceWindowsHWND: Self = raw::WGPUSType_WGPUSType_SurfaceSourceWindowsHWND
pub const SurfaceSourceXlibWindow: Self = raw::WGPUSType_WGPUSType_SurfaceSourceXlibWindow
pub const SurfaceSourceWaylandSurface: Self = raw::WGPUSType_WGPUSType_SurfaceSourceWaylandSurface
pub const SurfaceSourceAndroidNativeWindow: Self = raw::WGPUSType_WGPUSType_SurfaceSourceAndroidNativeWindow
pub const SurfaceSourceXCBWindow: Self = raw::WGPUSType_WGPUSType_SurfaceSourceXCBWindow
pub const SurfaceColorManagement: Self = raw::WGPUSType_WGPUSType_SurfaceColorManagement
pub const RequestAdapterWebXROptions: Self = raw::WGPUSType_WGPUSType_RequestAdapterWebXROptions
pub const AdapterPropertiesSubgroups: Self = raw::WGPUSType_WGPUSType_AdapterPropertiesSubgroups
pub const BindGroupLayoutEntryArraySize: Self = raw::WGPUSType_WGPUSType_BindGroupLayoutEntryArraySize
pub const TextureBindingViewDimensionDescriptor: Self = raw::WGPUSType_WGPUSType_TextureBindingViewDimensionDescriptor
pub const EmscriptenSurfaceSourceCanvasHTMLSelector: Self = raw::WGPUSType_WGPUSType_EmscriptenSurfaceSourceCanvasHTMLSelector
pub const SurfaceDescriptorFromWindowsCoreWindow: Self = raw::WGPUSType_WGPUSType_SurfaceDescriptorFromWindowsCoreWindow
pub const ExternalTextureBindingEntry: Self = raw::WGPUSType_WGPUSType_ExternalTextureBindingEntry
pub const ExternalTextureBindingLayout: Self = raw::WGPUSType_WGPUSType_ExternalTextureBindingLayout
pub const SurfaceDescriptorFromWindowsUWPSwapChainPanel: Self = raw::WGPUSType_WGPUSType_SurfaceDescriptorFromWindowsUWPSwapChainPanel
pub const DawnTextureInternalUsageDescriptor: Self = raw::WGPUSType_WGPUSType_DawnTextureInternalUsageDescriptor
pub const DawnEncoderInternalUsageDescriptor: Self = raw::WGPUSType_WGPUSType_DawnEncoderInternalUsageDescriptor
pub const DawnInstanceDescriptor: Self = raw::WGPUSType_WGPUSType_DawnInstanceDescriptor
pub const DawnCacheDeviceDescriptor: Self = raw::WGPUSType_WGPUSType_DawnCacheDeviceDescriptor
pub const DawnAdapterPropertiesPowerPreference: Self = raw::WGPUSType_WGPUSType_DawnAdapterPropertiesPowerPreference
pub const DawnBufferDescriptorErrorInfoFromWireClient: Self = raw::WGPUSType_WGPUSType_DawnBufferDescriptorErrorInfoFromWireClient
pub const DawnTogglesDescriptor: Self = raw::WGPUSType_WGPUSType_DawnTogglesDescriptor
pub const DawnShaderModuleSPIRVOptionsDescriptor: Self = raw::WGPUSType_WGPUSType_DawnShaderModuleSPIRVOptionsDescriptor
pub const RequestAdapterOptionsLUID: Self = raw::WGPUSType_WGPUSType_RequestAdapterOptionsLUID
pub const RequestAdapterOptionsGetGLProc: Self = raw::WGPUSType_WGPUSType_RequestAdapterOptionsGetGLProc
pub const RequestAdapterOptionsD3D11Device: Self = raw::WGPUSType_WGPUSType_RequestAdapterOptionsD3D11Device
pub const DawnRenderPassColorAttachmentRenderToSingleSampled: Self = raw::WGPUSType_WGPUSType_DawnRenderPassColorAttachmentRenderToSingleSampled
pub const RenderPassPixelLocalStorage: Self = raw::WGPUSType_WGPUSType_RenderPassPixelLocalStorage
pub const PipelineLayoutPixelLocalStorage: Self = raw::WGPUSType_WGPUSType_PipelineLayoutPixelLocalStorage
pub const BufferHostMappedPointer: Self = raw::WGPUSType_WGPUSType_BufferHostMappedPointer
pub const AdapterPropertiesMemoryHeaps: Self = raw::WGPUSType_WGPUSType_AdapterPropertiesMemoryHeaps
pub const AdapterPropertiesD3D: Self = raw::WGPUSType_WGPUSType_AdapterPropertiesD3D
pub const AdapterPropertiesVk: Self = raw::WGPUSType_WGPUSType_AdapterPropertiesVk
pub const DawnWireWGSLControl: Self = raw::WGPUSType_WGPUSType_DawnWireWGSLControl
pub const DawnWGSLBlocklist: Self = raw::WGPUSType_WGPUSType_DawnWGSLBlocklist
pub const DawnDrmFormatCapabilities: Self = raw::WGPUSType_WGPUSType_DawnDrmFormatCapabilities
pub const ShaderModuleCompilationOptions: Self = raw::WGPUSType_WGPUSType_ShaderModuleCompilationOptions
pub const ColorTargetStateExpandResolveTextureDawn: Self = raw::WGPUSType_WGPUSType_ColorTargetStateExpandResolveTextureDawn
pub const RenderPassDescriptorExpandResolveRect: Self = raw::WGPUSType_WGPUSType_RenderPassDescriptorExpandResolveRect
pub const StaticSamplerBindingLayout: Self = raw::WGPUSType_WGPUSType_StaticSamplerBindingLayout
pub const YCbCrVkDescriptor: Self = raw::WGPUSType_WGPUSType_YCbCrVkDescriptor
pub const AHardwareBufferProperties: Self = raw::WGPUSType_WGPUSType_AHardwareBufferProperties
pub const DawnTexelCopyBufferRowAlignmentLimits: Self = raw::WGPUSType_WGPUSType_DawnTexelCopyBufferRowAlignmentLimits
pub const AdapterPropertiesSubgroupMatrixConfigs: Self = raw::WGPUSType_WGPUSType_AdapterPropertiesSubgroupMatrixConfigs
pub const DawnInjectedInvalidSType: Self = raw::WGPUSType_WGPUSType_DawnInjectedInvalidSType
pub const DawnCompilationMessageUtf16: Self = raw::WGPUSType_WGPUSType_DawnCompilationMessageUtf16
pub const DawnFakeBufferOOMForTesting: Self = raw::WGPUSType_WGPUSType_DawnFakeBufferOOMForTesting
pub const SurfaceDescriptorFromWindowsWinUISwapChainPanel: Self = raw::WGPUSType_WGPUSType_SurfaceDescriptorFromWindowsWinUISwapChainPanel
pub const DawnDeviceAllocatorControl: Self = raw::WGPUSType_WGPUSType_DawnDeviceAllocatorControl
pub const DawnHostMappedPointerLimits: Self = raw::WGPUSType_WGPUSType_DawnHostMappedPointerLimits
pub const RenderPassDescriptorResolveRect: Self = raw::WGPUSType_WGPUSType_RenderPassDescriptorResolveRect
Trait Implementations§
Source§impl Ord for WGPUSType
impl Ord for WGPUSType
Source§impl PartialOrd for WGPUSType
impl PartialOrd for WGPUSType
impl Copy for WGPUSType
impl Eq for WGPUSType
impl StructuralPartialEq for WGPUSType
Auto Trait Implementations§
impl Freeze for WGPUSType
impl RefUnwindSafe for WGPUSType
impl Send for WGPUSType
impl Sync for WGPUSType
impl Unpin for WGPUSType
impl UnwindSafe for WGPUSType
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