Struct WGPUFeatureName

Source
#[repr(transparent)]
pub struct WGPUFeatureName(pub c_int);

Tuple Fields§

§0: c_int

Implementations§

§

impl WGPUFeatureName

pub const DepthClipControl: Self = raw::WGPUFeatureName_WGPUFeatureName_DepthClipControl

pub const Depth32FloatStencil8: Self = raw::WGPUFeatureName_WGPUFeatureName_Depth32FloatStencil8

pub const TimestampQuery: Self = raw::WGPUFeatureName_WGPUFeatureName_TimestampQuery

pub const TextureCompressionBC: Self = raw::WGPUFeatureName_WGPUFeatureName_TextureCompressionBC

pub const TextureCompressionBCSliced3D: Self = raw::WGPUFeatureName_WGPUFeatureName_TextureCompressionBCSliced3D

pub const TextureCompressionETC2: Self = raw::WGPUFeatureName_WGPUFeatureName_TextureCompressionETC2

pub const TextureCompressionASTC: Self = raw::WGPUFeatureName_WGPUFeatureName_TextureCompressionASTC

pub const TextureCompressionASTCSliced3D: Self = raw::WGPUFeatureName_WGPUFeatureName_TextureCompressionASTCSliced3D

pub const IndirectFirstInstance: Self = raw::WGPUFeatureName_WGPUFeatureName_IndirectFirstInstance

pub const ShaderF16: Self = raw::WGPUFeatureName_WGPUFeatureName_ShaderF16

pub const RG11B10UfloatRenderable: Self = raw::WGPUFeatureName_WGPUFeatureName_RG11B10UfloatRenderable

pub const BGRA8UnormStorage: Self = raw::WGPUFeatureName_WGPUFeatureName_BGRA8UnormStorage

pub const Float32Filterable: Self = raw::WGPUFeatureName_WGPUFeatureName_Float32Filterable

pub const Float32Blendable: Self = raw::WGPUFeatureName_WGPUFeatureName_Float32Blendable

pub const ClipDistances: Self = raw::WGPUFeatureName_WGPUFeatureName_ClipDistances

pub const DualSourceBlending: Self = raw::WGPUFeatureName_WGPUFeatureName_DualSourceBlending

pub const Subgroups: Self = raw::WGPUFeatureName_WGPUFeatureName_Subgroups

pub const CoreFeaturesAndLimits: Self = raw::WGPUFeatureName_WGPUFeatureName_CoreFeaturesAndLimits

pub const DawnInternalUsages: Self = raw::WGPUFeatureName_WGPUFeatureName_DawnInternalUsages

pub const DawnMultiPlanarFormats: Self = raw::WGPUFeatureName_WGPUFeatureName_DawnMultiPlanarFormats

pub const DawnNative: Self = raw::WGPUFeatureName_WGPUFeatureName_DawnNative

pub const ChromiumExperimentalTimestampQueryInsidePasses: Self = raw::WGPUFeatureName_WGPUFeatureName_ChromiumExperimentalTimestampQueryInsidePasses

pub const ImplicitDeviceSynchronization: Self = raw::WGPUFeatureName_WGPUFeatureName_ImplicitDeviceSynchronization

pub const TransientAttachments: Self = raw::WGPUFeatureName_WGPUFeatureName_TransientAttachments

pub const MSAARenderToSingleSampled: Self = raw::WGPUFeatureName_WGPUFeatureName_MSAARenderToSingleSampled

pub const D3D11MultithreadProtected: Self = raw::WGPUFeatureName_WGPUFeatureName_D3D11MultithreadProtected

pub const ANGLETextureSharing: Self = raw::WGPUFeatureName_WGPUFeatureName_ANGLETextureSharing

pub const PixelLocalStorageCoherent: Self = raw::WGPUFeatureName_WGPUFeatureName_PixelLocalStorageCoherent

pub const PixelLocalStorageNonCoherent: Self = raw::WGPUFeatureName_WGPUFeatureName_PixelLocalStorageNonCoherent

pub const Unorm16TextureFormats: Self = raw::WGPUFeatureName_WGPUFeatureName_Unorm16TextureFormats

pub const Snorm16TextureFormats: Self = raw::WGPUFeatureName_WGPUFeatureName_Snorm16TextureFormats

pub const MultiPlanarFormatExtendedUsages: Self = raw::WGPUFeatureName_WGPUFeatureName_MultiPlanarFormatExtendedUsages

pub const MultiPlanarFormatP010: Self = raw::WGPUFeatureName_WGPUFeatureName_MultiPlanarFormatP010

pub const HostMappedPointer: Self = raw::WGPUFeatureName_WGPUFeatureName_HostMappedPointer

pub const MultiPlanarRenderTargets: Self = raw::WGPUFeatureName_WGPUFeatureName_MultiPlanarRenderTargets

pub const MultiPlanarFormatNv12a: Self = raw::WGPUFeatureName_WGPUFeatureName_MultiPlanarFormatNv12a

pub const FramebufferFetch: Self = raw::WGPUFeatureName_WGPUFeatureName_FramebufferFetch

pub const BufferMapExtendedUsages: Self = raw::WGPUFeatureName_WGPUFeatureName_BufferMapExtendedUsages

pub const AdapterPropertiesMemoryHeaps: Self = raw::WGPUFeatureName_WGPUFeatureName_AdapterPropertiesMemoryHeaps

pub const AdapterPropertiesD3D: Self = raw::WGPUFeatureName_WGPUFeatureName_AdapterPropertiesD3D

pub const AdapterPropertiesVk: Self = raw::WGPUFeatureName_WGPUFeatureName_AdapterPropertiesVk

pub const R8UnormStorage: Self = raw::WGPUFeatureName_WGPUFeatureName_R8UnormStorage

pub const DawnFormatCapabilities: Self = raw::WGPUFeatureName_WGPUFeatureName_DawnFormatCapabilities

pub const DawnDrmFormatCapabilities: Self = raw::WGPUFeatureName_WGPUFeatureName_DawnDrmFormatCapabilities

pub const Norm16TextureFormats: Self = raw::WGPUFeatureName_WGPUFeatureName_Norm16TextureFormats

pub const MultiPlanarFormatNv16: Self = raw::WGPUFeatureName_WGPUFeatureName_MultiPlanarFormatNv16

pub const MultiPlanarFormatNv24: Self = raw::WGPUFeatureName_WGPUFeatureName_MultiPlanarFormatNv24

pub const MultiPlanarFormatP210: Self = raw::WGPUFeatureName_WGPUFeatureName_MultiPlanarFormatP210

pub const MultiPlanarFormatP410: Self = raw::WGPUFeatureName_WGPUFeatureName_MultiPlanarFormatP410

pub const SharedTextureMemoryVkDedicatedAllocation: Self = raw::WGPUFeatureName_WGPUFeatureName_SharedTextureMemoryVkDedicatedAllocation

pub const SharedTextureMemoryAHardwareBuffer: Self = raw::WGPUFeatureName_WGPUFeatureName_SharedTextureMemoryAHardwareBuffer

pub const SharedTextureMemoryDmaBuf: Self = raw::WGPUFeatureName_WGPUFeatureName_SharedTextureMemoryDmaBuf

pub const SharedTextureMemoryOpaqueFD: Self = raw::WGPUFeatureName_WGPUFeatureName_SharedTextureMemoryOpaqueFD

pub const SharedTextureMemoryZirconHandle: Self = raw::WGPUFeatureName_WGPUFeatureName_SharedTextureMemoryZirconHandle

pub const SharedTextureMemoryDXGISharedHandle: Self = raw::WGPUFeatureName_WGPUFeatureName_SharedTextureMemoryDXGISharedHandle

pub const SharedTextureMemoryD3D11Texture2D: Self = raw::WGPUFeatureName_WGPUFeatureName_SharedTextureMemoryD3D11Texture2D

pub const SharedTextureMemoryIOSurface: Self = raw::WGPUFeatureName_WGPUFeatureName_SharedTextureMemoryIOSurface

pub const SharedTextureMemoryEGLImage: Self = raw::WGPUFeatureName_WGPUFeatureName_SharedTextureMemoryEGLImage

pub const SharedFenceVkSemaphoreOpaqueFD: Self = raw::WGPUFeatureName_WGPUFeatureName_SharedFenceVkSemaphoreOpaqueFD

pub const SharedFenceSyncFD: Self = raw::WGPUFeatureName_WGPUFeatureName_SharedFenceSyncFD

pub const SharedFenceVkSemaphoreZirconHandle: Self = raw::WGPUFeatureName_WGPUFeatureName_SharedFenceVkSemaphoreZirconHandle

pub const SharedFenceDXGISharedHandle: Self = raw::WGPUFeatureName_WGPUFeatureName_SharedFenceDXGISharedHandle

pub const SharedFenceMTLSharedEvent: Self = raw::WGPUFeatureName_WGPUFeatureName_SharedFenceMTLSharedEvent

pub const SharedBufferMemoryD3D12Resource: Self = raw::WGPUFeatureName_WGPUFeatureName_SharedBufferMemoryD3D12Resource

pub const StaticSamplers: Self = raw::WGPUFeatureName_WGPUFeatureName_StaticSamplers

pub const YCbCrVulkanSamplers: Self = raw::WGPUFeatureName_WGPUFeatureName_YCbCrVulkanSamplers

pub const ShaderModuleCompilationOptions: Self = raw::WGPUFeatureName_WGPUFeatureName_ShaderModuleCompilationOptions

pub const DawnLoadResolveTexture: Self = raw::WGPUFeatureName_WGPUFeatureName_DawnLoadResolveTexture

pub const DawnPartialLoadResolveTexture: Self = raw::WGPUFeatureName_WGPUFeatureName_DawnPartialLoadResolveTexture

pub const MultiDrawIndirect: Self = raw::WGPUFeatureName_WGPUFeatureName_MultiDrawIndirect

pub const DawnTexelCopyBufferRowAlignment: Self = raw::WGPUFeatureName_WGPUFeatureName_DawnTexelCopyBufferRowAlignment

pub const FlexibleTextureViews: Self = raw::WGPUFeatureName_WGPUFeatureName_FlexibleTextureViews

pub const ChromiumExperimentalSubgroupMatrix: Self = raw::WGPUFeatureName_WGPUFeatureName_ChromiumExperimentalSubgroupMatrix

pub const SharedFenceEGLSync: Self = raw::WGPUFeatureName_WGPUFeatureName_SharedFenceEGLSync

pub const DawnDeviceAllocatorControl: Self = raw::WGPUFeatureName_WGPUFeatureName_DawnDeviceAllocatorControl

Trait Implementations§

Source§

impl Clone for WGPUFeatureName

Source§

fn clone(&self) -> WGPUFeatureName

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for WGPUFeatureName

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Hash for WGPUFeatureName

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Ord for WGPUFeatureName

Source§

fn cmp(&self, other: &WGPUFeatureName) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl PartialEq for WGPUFeatureName

Source§

fn eq(&self, other: &WGPUFeatureName) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialOrd for WGPUFeatureName

Source§

fn partial_cmp(&self, other: &WGPUFeatureName) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl Copy for WGPUFeatureName

Source§

impl Eq for WGPUFeatureName

Source§

impl StructuralPartialEq for WGPUFeatureName

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.