Struct thindx::d3d::ShaderRequires
source · [−]#[repr(transparent)]pub struct ShaderRequires(_);
Expand description
[docs.microsoft.com] UINT64 / D3D_SHADER_REQUIRES_*
See Also
Implementations
sourceimpl ShaderRequires
impl ShaderRequires
sourcepub const fn from_unchecked(d3d: UINT64) -> Self
pub const fn from_unchecked(d3d: UINT64) -> Self
Convert from an underlying [winapi] D3D...
type.
This is probably safe… probably…
sourcepub const fn into_inner(self) -> UINT64
pub const fn into_inner(self) -> UINT64
Convert back into an underlying [winapi] D3D...
type.
sourceimpl ShaderRequires
impl ShaderRequires
sourcepub const None: ShaderRequires = ShaderRequires(0)
pub const None: ShaderRequires = ShaderRequires(0)
pub const Doubles: ShaderRequires = ShaderRequires(D3D_SHADER_REQUIRES_DOUBLES)
pub const EarlyDepthStencil: ShaderRequires = ShaderRequires(D3D_SHADER_REQUIRES_EARLY_DEPTH_STENCIL)
pub const UavsAtEveryStage: ShaderRequires = ShaderRequires(D3D_SHADER_REQUIRES_UAVS_AT_EVERY_STAGE)
pub const _64_Uavs: ShaderRequires = ShaderRequires(D3D_SHADER_REQUIRES_64_UAVS)
pub const MinimumPrecision: ShaderRequires = ShaderRequires(D3D_SHADER_REQUIRES_MINIMUM_PRECISION)
pub const _11_1_DoubleExtensions: ShaderRequires = ShaderRequires(D3D_SHADER_REQUIRES_11_1_DOUBLE_EXTENSIONS)
pub const _11_1_ShaderExtensions: ShaderRequires = ShaderRequires(D3D_SHADER_REQUIRES_11_1_SHADER_EXTENSIONS)
pub const Level9ComparisonFiltering: ShaderRequires = ShaderRequires(D3D_SHADER_REQUIRES_LEVEL_9_COMPARISON_FILTERING)
pub const TiledResources: ShaderRequires = ShaderRequires(D3D_SHADER_REQUIRES_TILED_RESOURCES)
Trait Implementations
sourceimpl BitOr<ShaderRequires> for ShaderRequires
impl BitOr<ShaderRequires> for ShaderRequires
type Output = ShaderRequires
type Output = ShaderRequires
The resulting type after applying the |
operator.
sourceimpl BitOrAssign<ShaderRequires> for ShaderRequires
impl BitOrAssign<ShaderRequires> for ShaderRequires
sourcefn bitor_assign(&mut self, other: Self)
fn bitor_assign(&mut self, other: Self)
Performs the |=
operation. Read more
sourceimpl Clone for ShaderRequires
impl Clone for ShaderRequires
sourcefn clone(&self) -> ShaderRequires
fn clone(&self) -> ShaderRequires
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ShaderRequires
impl Debug for ShaderRequires
sourceimpl Default for ShaderRequires
impl Default for ShaderRequires
sourceimpl From<ShaderRequires> for UINT64
impl From<ShaderRequires> for UINT64
sourcefn from(value: ShaderRequires) -> Self
fn from(value: ShaderRequires) -> Self
Converts to this type from the input type.
sourceimpl Hash for ShaderRequires
impl Hash for ShaderRequires
sourceimpl Ord for ShaderRequires
impl Ord for ShaderRequires
sourceimpl PartialEq<ShaderRequires> for ShaderRequires
impl PartialEq<ShaderRequires> for ShaderRequires
sourcefn eq(&self, other: &ShaderRequires) -> bool
fn eq(&self, other: &ShaderRequires) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ShaderRequires) -> bool
fn ne(&self, other: &ShaderRequires) -> bool
This method tests for !=
.
sourceimpl PartialOrd<ShaderRequires> for ShaderRequires
impl PartialOrd<ShaderRequires> for ShaderRequires
sourcefn partial_cmp(&self, other: &ShaderRequires) -> Option<Ordering>
fn partial_cmp(&self, other: &ShaderRequires) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl Zeroable for ShaderRequires
impl Zeroable for ShaderRequires
impl Copy for ShaderRequires
impl Eq for ShaderRequires
impl Pod for ShaderRequires
impl StructuralEq for ShaderRequires
impl StructuralPartialEq for ShaderRequires
Auto Trait Implementations
impl RefUnwindSafe for ShaderRequires
impl Send for ShaderRequires
impl Sync for ShaderRequires
impl Unpin for ShaderRequires
impl UnwindSafe for ShaderRequires
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more