Expand description
Backend for GLSL (OpenGL Shading Language).
+Expand description
Backend for GLSL (OpenGL Shading Language).
The main structure is Writer
, it maintains internal state that is used
to output a Module
into glsl
Supported versions
Core
diff --git a/doc/naga/back/glsl/struct.WriterFlags.html b/doc/naga/back/glsl/struct.WriterFlags.html index ccebf73b9732..4eea3950a2f9 100644 --- a/doc/naga/back/glsl/struct.WriterFlags.html +++ b/doc/naga/back/glsl/struct.WriterFlags.html @@ -4,7 +4,7 @@sourcepub const TEXTURE_SHADOW_LOD: Self = _
pub const TEXTURE_SHADOW_LOD: Self = _
Supports GL_EXT_texture_shadow_lod on the host, which provides additional functions on shadows and arrays of shadows.
sourcepub const DRAW_PARAMETERS: Self = _
pub const DRAW_PARAMETERS: Self = _
Supports ARB_shader_draw_parameters on the host, which provides
-support for gl_BaseInstanceARB
, gl_BaseVertexARB
, and gl_DrawIDARB
.
gl_BaseInstanceARB
, gl_BaseVertexARB
, gl_DrawIDARB
, and gl_DrawID
.
sourcepub const INCLUDE_UNUSED_ITEMS: Self = _
pub const INCLUDE_UNUSED_ITEMS: Self = _
Include unused global variables, constants and functions. By default the output will exclude global variables that are not used in the specified entrypoint (including indirect use), all constant declarations, and functions that use excluded global variables.
diff --git a/doc/naga/back/spv/struct.Writer.html b/doc/naga/back/spv/struct.Writer.html index 48cd6888febb..50f8c495deb2 100644 --- a/doc/naga/back/spv/struct.Writer.html +++ b/doc/naga/back/spv/struct.Writer.html @@ -1,13 +1,13 @@pub struct Writer { /* private fields */ }
Implementations§
source§impl Writer
impl Writer
pub fn new(options: &Options<'_>) -> Result<Self, Error>
pub fn write(
+ pub struct Writer { /* private fields */ }
Implementations§
source§impl Writer
sourcepub fn new(options: &Options<'_>) -> Result<Self, Error>
sourcepub fn write(
&mut self,
ir_module: &Module,
info: &ModuleInfo,
pipeline_options: Option<&PipelineOptions>,
debug_info: &Option<DebugInfo<'_>>,
words: &mut Vec<Word>
-) -> Result<(), Error>
sourcepub const fn get_capabilities_used(&self) -> &FastIndexSet<Capability>
Return the set of capabilities the last module written used.
-sourcepub fn decorate_non_uniform_binding_array_access(
+) -> Result<(), Error>
sourcepub const fn get_capabilities_used(&self) -> &FastIndexSet<Capability>
Return the set of capabilities the last module written used.
+sourcepub fn decorate_non_uniform_binding_array_access(
&mut self,
id: Word
) -> Result<(), Error>
Auto Trait Implementations§
§impl RefUnwindSafe for Writer
§impl Send for Writer
§impl Sync for Writer
§impl Unpin for Writer
§impl UnwindSafe for Writer
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/doc/naga/enum.ArraySize.html b/doc/naga/enum.ArraySize.html
index 0b535166d661..41f4fc941dcf 100644
--- a/doc/naga/enum.ArraySize.html
+++ b/doc/naga/enum.ArraySize.html
@@ -1,5 +1,5 @@
ArraySize in naga - Rust
- #[repr(u8)]pub enum ArraySize {
+ #[repr(u8)]pub enum ArraySize {
Constant(NonZeroU32),
Dynamic,
}
Expand description
Size of an array.
@@ -8,20 +8,20 @@
Implementations§
source§impl ArraySize
sourcepub const fn to_indexable_length(
self,
_module: &Module
-) -> Result<IndexableLength, IndexableLengthError>
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ArraySize
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl<'de> Deserialize<'de> for ArraySize
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for ArraySize
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ArraySize
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl<'de> Deserialize<'de> for ArraySize
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Ord for ArraySize
source§impl PartialEq for ArraySize
source§impl PartialOrd for ArraySize
source§impl PartialOrd for ArraySize
1.0.0 · source§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 moresource§impl Copy for ArraySize
source§impl Eq for ArraySize
source§impl StructuralEq for ArraySize
source§impl StructuralPartialEq for ArraySize
Auto Trait Implementations§
§impl RefUnwindSafe for ArraySize
§impl Send for ArraySize
§impl Sync for ArraySize
§impl Unpin for ArraySize
§impl UnwindSafe for ArraySize
Blanket Implementations§
source§impl Copy for ArraySize
source§impl Eq for ArraySize
source§impl StructuralEq for ArraySize
source§impl StructuralPartialEq for ArraySize
Auto Trait Implementations§
§impl RefUnwindSafe for ArraySize
§impl Send for ArraySize
§impl Sync for ArraySize
§impl Unpin for ArraySize
§impl UnwindSafe for ArraySize
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.AtomicFunction.html b/doc/naga/enum.AtomicFunction.html
index 52cd80f50e01..b63592efe63e 100644
--- a/doc/naga/enum.AtomicFunction.html
+++ b/doc/naga/enum.AtomicFunction.html
@@ -1,5 +1,5 @@
AtomicFunction in naga - Rust
- Enum naga::AtomicFunction
source · pub enum AtomicFunction {
+ Enum naga::AtomicFunction
source · pub enum AtomicFunction {
Add,
Subtract,
And,
@@ -15,20 +15,20 @@
Expression::Load
and Statement::Store
.
All Handle<Expression>
values here refer to an expression in
Function::expressions
.
-
Variants§
§Add
§Subtract
§And
§ExclusiveOr
§InclusiveOr
§Min
§Max
§Exchange
Fields
§compare: Option<Handle<Expression>>
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for AtomicFunction
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for AtomicFunction
source§fn clone(&self) -> AtomicFunction
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for AtomicFunction
source§impl<'de> Deserialize<'de> for AtomicFunction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for AtomicFunction
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Variants§
§Add
§Subtract
§And
§ExclusiveOr
§InclusiveOr
§Min
§Max
§Exchange
Fields
§compare: Option<Handle<Expression>>
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for AtomicFunction
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for AtomicFunction
source§fn clone(&self) -> AtomicFunction
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for AtomicFunction
source§impl<'de> Deserialize<'de> for AtomicFunction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for AtomicFunction
source§impl Ord for AtomicFunction
source§impl Ord for AtomicFunction
source§fn cmp(&self, other: &AtomicFunction) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for AtomicFunction
source§impl PartialEq for AtomicFunction
source§fn eq(&self, other: &AtomicFunction) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for AtomicFunction
source§impl PartialOrd for AtomicFunction
source§fn partial_cmp(&self, other: &AtomicFunction) -> Option<Ordering>
1.0.0 · source§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 moresource§impl Serialize for AtomicFunction
source§impl Copy for AtomicFunction
source§impl Eq for AtomicFunction
source§impl StructuralEq for AtomicFunction
source§impl StructuralPartialEq for AtomicFunction
Auto Trait Implementations§
§impl RefUnwindSafe for AtomicFunction
§impl Send for AtomicFunction
§impl Sync for AtomicFunction
§impl Unpin for AtomicFunction
§impl UnwindSafe for AtomicFunction
Blanket Implementations§
source§impl Serialize for AtomicFunction
source§impl Copy for AtomicFunction
source§impl Eq for AtomicFunction
source§impl StructuralEq for AtomicFunction
source§impl StructuralPartialEq for AtomicFunction
Auto Trait Implementations§
§impl RefUnwindSafe for AtomicFunction
§impl Send for AtomicFunction
§impl Sync for AtomicFunction
§impl Unpin for AtomicFunction
§impl UnwindSafe for AtomicFunction
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.BinaryOperator.html b/doc/naga/enum.BinaryOperator.html
index 095f13e9c918..dd38771dc6c1 100644
--- a/doc/naga/enum.BinaryOperator.html
+++ b/doc/naga/enum.BinaryOperator.html
@@ -1,5 +1,5 @@
BinaryOperator in naga - Rust
- Enum naga::BinaryOperator
source · pub enum BinaryOperator {
+ Enum naga::BinaryOperator
source · pub enum BinaryOperator {
Show 18 variants
Add,
Subtract,
Multiply,
@@ -54,20 +54,20 @@ Arithmetic type
mixed-type use.
Variants§
§Add
§Subtract
§Multiply
§Divide
§Modulo
Equivalent of the WGSL’s %
operator or SPIR-V’s OpFRem
§Equal
§NotEqual
§Less
§LessEqual
§Greater
§GreaterEqual
§And
§ExclusiveOr
§InclusiveOr
§LogicalAnd
§LogicalOr
§ShiftLeft
§ShiftRight
Right shift carries the sign of signed integers only.
-Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for BinaryOperator
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for BinaryOperator
source§fn clone(&self) -> BinaryOperator
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for BinaryOperator
source§impl<'de> Deserialize<'de> for BinaryOperator
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for BinaryOperator
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for BinaryOperator
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for BinaryOperator
source§fn clone(&self) -> BinaryOperator
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for BinaryOperator
source§impl<'de> Deserialize<'de> for BinaryOperator
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for BinaryOperator
source§impl Ord for BinaryOperator
source§impl Ord for BinaryOperator
source§fn cmp(&self, other: &BinaryOperator) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for BinaryOperator
source§impl PartialEq for BinaryOperator
source§fn eq(&self, other: &BinaryOperator) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for BinaryOperator
source§impl PartialOrd for BinaryOperator
source§fn partial_cmp(&self, other: &BinaryOperator) -> Option<Ordering>
1.0.0 · source§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 moresource§impl Serialize for BinaryOperator
source§impl Copy for BinaryOperator
source§impl Eq for BinaryOperator
source§impl StructuralEq for BinaryOperator
source§impl StructuralPartialEq for BinaryOperator
Auto Trait Implementations§
§impl RefUnwindSafe for BinaryOperator
§impl Send for BinaryOperator
§impl Sync for BinaryOperator
§impl Unpin for BinaryOperator
§impl UnwindSafe for BinaryOperator
Blanket Implementations§
source§impl Serialize for BinaryOperator
source§impl Copy for BinaryOperator
source§impl Eq for BinaryOperator
source§impl StructuralEq for BinaryOperator
source§impl StructuralPartialEq for BinaryOperator
Auto Trait Implementations§
§impl RefUnwindSafe for BinaryOperator
§impl Send for BinaryOperator
§impl Sync for BinaryOperator
§impl Unpin for BinaryOperator
§impl UnwindSafe for BinaryOperator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.Binding.html b/doc/naga/enum.Binding.html
index 78fc2e9e83c7..bf6659bc3662 100644
--- a/doc/naga/enum.Binding.html
+++ b/doc/naga/enum.Binding.html
@@ -1,5 +1,5 @@
Binding in naga - Rust
- pub enum Binding {
+
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Binding
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl<'de> Deserialize<'de> for Binding
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Binding
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl<'de> Deserialize<'de> for Binding
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for Binding
source§impl Eq for Binding
source§impl StructuralEq for Binding
source§impl StructuralPartialEq for Binding
Auto Trait Implementations§
§impl RefUnwindSafe for Binding
§impl Send for Binding
§impl Sync for Binding
§impl Unpin for Binding
§impl UnwindSafe for Binding
Blanket Implementations§
source§impl Eq for Binding
source§impl StructuralEq for Binding
source§impl StructuralPartialEq for Binding
Auto Trait Implementations§
§impl RefUnwindSafe for Binding
§impl Send for Binding
§impl Sync for Binding
§impl Unpin for Binding
§impl UnwindSafe for Binding
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Equivalent<K> for Qwhere
diff --git a/doc/naga/enum.BuiltIn.html b/doc/naga/enum.BuiltIn.html
index d745dac1c9f2..3f822568a841 100644
--- a/doc/naga/enum.BuiltIn.html
+++ b/doc/naga/enum.BuiltIn.html
@@ -1,6 +1,6 @@
-BuiltIn in naga - Rust
- pub enum BuiltIn {
-Show 25 variants
Position {
+BuiltIn in naga - Rust
+ pub enum BuiltIn {
+Show 26 variants
Position {
invariant: bool,
},
ViewIndex,
@@ -11,6 +11,7 @@
InstanceIndex,
PointSize,
VertexIndex,
+ DrawID,
FragDepth,
PointCoord,
FrontFacing,
@@ -28,7 +29,7 @@
SubgroupSize,
SubgroupInvocationId,
}
Expand description
Built-in inputs and outputs.
-Variants§
§Position
§ViewIndex
§BaseInstance
§BaseVertex
§ClipDistance
§CullDistance
§InstanceIndex
§PointSize
§VertexIndex
§FragDepth
§PointCoord
§FrontFacing
§PrimitiveIndex
§SampleIndex
§SampleMask
§GlobalInvocationId
§LocalInvocationId
§LocalInvocationIndex
§WorkGroupId
§WorkGroupSize
§NumWorkGroups
§NumSubgroups
§SubgroupId
§SubgroupSize
§SubgroupInvocationId
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for BuiltIn
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+Variants§
§Position
§ViewIndex
§BaseInstance
§BaseVertex
§ClipDistance
§CullDistance
§InstanceIndex
§PointSize
§VertexIndex
§DrawID
§FragDepth
§PointCoord
§FrontFacing
§PrimitiveIndex
§SampleIndex
§SampleMask
§GlobalInvocationId
§LocalInvocationId
§LocalInvocationIndex
§WorkGroupId
§WorkGroupSize
§NumWorkGroups
§NumSubgroups
§SubgroupId
§SubgroupSize
§SubgroupInvocationId
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for BuiltIn
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl<'de> Deserialize<'de> for BuiltIn
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for BuiltIn
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
diff --git a/doc/naga/enum.CollectiveOperation.html b/doc/naga/enum.CollectiveOperation.html
index b097e84ecbbf..e5695e0e719a 100644
--- a/doc/naga/enum.CollectiveOperation.html
+++ b/doc/naga/enum.CollectiveOperation.html
@@ -1,22 +1,22 @@
CollectiveOperation in naga - Rust
- Enum naga::CollectiveOperation
source · pub enum CollectiveOperation {
+ Enum naga::CollectiveOperation
source · pub enum CollectiveOperation {
Reduce = 0,
InclusiveScan = 1,
ExclusiveScan = 2,
-}
Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for CollectiveOperation
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for CollectiveOperation
source§fn clone(&self) -> CollectiveOperation
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for CollectiveOperation
source§impl<'de> Deserialize<'de> for CollectiveOperation
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for CollectiveOperation
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+}Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for CollectiveOperation
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for CollectiveOperation
source§fn clone(&self) -> CollectiveOperation
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for CollectiveOperation
source§impl<'de> Deserialize<'de> for CollectiveOperation
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for CollectiveOperation
source§impl Ord for CollectiveOperation
source§impl Ord for CollectiveOperation
source§fn cmp(&self, other: &CollectiveOperation) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for CollectiveOperation
source§impl PartialEq for CollectiveOperation
source§fn eq(&self, other: &CollectiveOperation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CollectiveOperation
source§impl PartialOrd for CollectiveOperation
source§fn partial_cmp(&self, other: &CollectiveOperation) -> Option<Ordering>
1.0.0 · source§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 moresource§impl Serialize for CollectiveOperation
source§impl Copy for CollectiveOperation
source§impl Eq for CollectiveOperation
source§impl StructuralEq for CollectiveOperation
source§impl StructuralPartialEq for CollectiveOperation
Auto Trait Implementations§
§impl RefUnwindSafe for CollectiveOperation
§impl Send for CollectiveOperation
§impl Sync for CollectiveOperation
§impl Unpin for CollectiveOperation
§impl UnwindSafe for CollectiveOperation
Blanket Implementations§
source§impl Serialize for CollectiveOperation
source§impl Copy for CollectiveOperation
source§impl Eq for CollectiveOperation
source§impl StructuralEq for CollectiveOperation
source§impl StructuralPartialEq for CollectiveOperation
Auto Trait Implementations§
§impl RefUnwindSafe for CollectiveOperation
§impl Send for CollectiveOperation
§impl Sync for CollectiveOperation
§impl Unpin for CollectiveOperation
§impl UnwindSafe for CollectiveOperation
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.DerivativeAxis.html b/doc/naga/enum.DerivativeAxis.html
index 77ed38f80601..3d92a7b3fb1f 100644
--- a/doc/naga/enum.DerivativeAxis.html
+++ b/doc/naga/enum.DerivativeAxis.html
@@ -1,23 +1,23 @@
DerivativeAxis in naga - Rust
- Enum naga::DerivativeAxis
source · pub enum DerivativeAxis {
+ Enum naga::DerivativeAxis
source · pub enum DerivativeAxis {
X,
Y,
Width,
}
Expand description
Axis on which to compute a derivative.
-Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for DerivativeAxis
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for DerivativeAxis
source§fn clone(&self) -> DerivativeAxis
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for DerivativeAxis
source§impl<'de> Deserialize<'de> for DerivativeAxis
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for DerivativeAxis
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for DerivativeAxis
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for DerivativeAxis
source§fn clone(&self) -> DerivativeAxis
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for DerivativeAxis
source§impl<'de> Deserialize<'de> for DerivativeAxis
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for DerivativeAxis
source§impl Ord for DerivativeAxis
source§impl Ord for DerivativeAxis
source§fn cmp(&self, other: &DerivativeAxis) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for DerivativeAxis
source§impl PartialEq for DerivativeAxis
source§fn eq(&self, other: &DerivativeAxis) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DerivativeAxis
source§impl PartialOrd for DerivativeAxis
source§fn partial_cmp(&self, other: &DerivativeAxis) -> Option<Ordering>
1.0.0 · source§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 moresource§impl Serialize for DerivativeAxis
source§impl Copy for DerivativeAxis
source§impl Eq for DerivativeAxis
source§impl StructuralEq for DerivativeAxis
source§impl StructuralPartialEq for DerivativeAxis
Auto Trait Implementations§
§impl RefUnwindSafe for DerivativeAxis
§impl Send for DerivativeAxis
§impl Sync for DerivativeAxis
§impl Unpin for DerivativeAxis
§impl UnwindSafe for DerivativeAxis
Blanket Implementations§
source§impl Serialize for DerivativeAxis
source§impl Copy for DerivativeAxis
source§impl Eq for DerivativeAxis
source§impl StructuralEq for DerivativeAxis
source§impl StructuralPartialEq for DerivativeAxis
Auto Trait Implementations§
§impl RefUnwindSafe for DerivativeAxis
§impl Send for DerivativeAxis
§impl Sync for DerivativeAxis
§impl Unpin for DerivativeAxis
§impl UnwindSafe for DerivativeAxis
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.DerivativeControl.html b/doc/naga/enum.DerivativeControl.html
index bec9e7ca5f89..a085d395d170 100644
--- a/doc/naga/enum.DerivativeControl.html
+++ b/doc/naga/enum.DerivativeControl.html
@@ -1,23 +1,23 @@
DerivativeControl in naga - Rust
- Enum naga::DerivativeControl
source · pub enum DerivativeControl {
+ Enum naga::DerivativeControl
source · pub enum DerivativeControl {
Coarse,
Fine,
None,
}
Expand description
Hint at which precision to compute a derivative.
-Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for DerivativeControl
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for DerivativeControl
source§fn clone(&self) -> DerivativeControl
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for DerivativeControl
source§impl<'de> Deserialize<'de> for DerivativeControl
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for DerivativeControl
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for DerivativeControl
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for DerivativeControl
source§fn clone(&self) -> DerivativeControl
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for DerivativeControl
source§impl<'de> Deserialize<'de> for DerivativeControl
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for DerivativeControl
source§impl Ord for DerivativeControl
source§impl Ord for DerivativeControl
source§fn cmp(&self, other: &DerivativeControl) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for DerivativeControl
source§impl PartialEq for DerivativeControl
source§fn eq(&self, other: &DerivativeControl) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DerivativeControl
source§impl PartialOrd for DerivativeControl
source§fn partial_cmp(&self, other: &DerivativeControl) -> Option<Ordering>
1.0.0 · source§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 moresource§impl Serialize for DerivativeControl
source§impl Copy for DerivativeControl
source§impl Eq for DerivativeControl
source§impl StructuralEq for DerivativeControl
source§impl StructuralPartialEq for DerivativeControl
Auto Trait Implementations§
§impl RefUnwindSafe for DerivativeControl
§impl Send for DerivativeControl
§impl Sync for DerivativeControl
§impl Unpin for DerivativeControl
§impl UnwindSafe for DerivativeControl
Blanket Implementations§
source§impl Serialize for DerivativeControl
source§impl Copy for DerivativeControl
source§impl Eq for DerivativeControl
source§impl StructuralEq for DerivativeControl
source§impl StructuralPartialEq for DerivativeControl
Auto Trait Implementations§
§impl RefUnwindSafe for DerivativeControl
§impl Send for DerivativeControl
§impl Sync for DerivativeControl
§impl Unpin for DerivativeControl
§impl UnwindSafe for DerivativeControl
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.Expression.html b/doc/naga/enum.Expression.html
index f898a9288dfb..40ddfd304fda 100644
--- a/doc/naga/enum.Expression.html
+++ b/doc/naga/enum.Expression.html
@@ -1,5 +1,5 @@
Expression in naga - Rust
- Enum naga::Expression
source · pub enum Expression {
+ Enum naga::Expression
source · pub enum Expression {
Show 31 variants
Literal(Literal),
Constant(Handle<Constant>),
Override(Handle<Override>),
@@ -253,13 +253,13 @@
Note, this does not check the type of the given expression. It’s up to
the caller to establish that the Access
expression is well-typed
through other means, like ResolveContext
.
-
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Expression
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for Expression
source§fn clone(&self) -> Expression
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Expression
source§impl<'de> Deserialize<'de> for Expression
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for Expression
source§fn eq(&self, other: &Expression) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Expression
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for Expression
source§fn clone(&self) -> Expression
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Expression
source§impl<'de> Deserialize<'de> for Expression
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for Expression
source§fn eq(&self, other: &Expression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Expression
source§impl StructuralPartialEq for Expression
Auto Trait Implementations§
§impl RefUnwindSafe for Expression
§impl Send for Expression
§impl Sync for Expression
§impl Unpin for Expression
§impl UnwindSafe for Expression
Blanket Implementations§
source§impl Serialize for Expression
source§impl StructuralPartialEq for Expression
Auto Trait Implementations§
§impl RefUnwindSafe for Expression
§impl Send for Expression
§impl Sync for Expression
§impl Unpin for Expression
§impl UnwindSafe for Expression
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/doc/naga/enum.GatherMode.html b/doc/naga/enum.GatherMode.html
index 67f9247ebf98..0e4df661012b 100644
--- a/doc/naga/enum.GatherMode.html
+++ b/doc/naga/enum.GatherMode.html
@@ -1,5 +1,5 @@
GatherMode in naga - Rust
- Enum naga::GatherMode
source · pub enum GatherMode {
+ Enum naga::GatherMode
source · pub enum GatherMode {
BroadcastFirst,
Broadcast(Handle<Expression>),
Shuffle(Handle<Expression>),
@@ -15,20 +15,20 @@
§ShuffleDown(Handle<Expression>)
Each gathers from their lane plus the shift given by the expression
§ShuffleUp(Handle<Expression>)
Each gathers from their lane minus the shift given by the expression
§ShuffleXor(Handle<Expression>)
Each gathers from their lane xored with the given by the expression
-
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for GatherMode
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for GatherMode
source§fn clone(&self) -> GatherMode
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for GatherMode
source§impl<'de> Deserialize<'de> for GatherMode
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for GatherMode
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for GatherMode
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for GatherMode
source§fn clone(&self) -> GatherMode
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for GatherMode
source§impl<'de> Deserialize<'de> for GatherMode
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for GatherMode
source§impl Ord for GatherMode
source§impl Ord for GatherMode
source§fn cmp(&self, other: &GatherMode) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for GatherMode
source§impl PartialEq for GatherMode
source§fn eq(&self, other: &GatherMode) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for GatherMode
source§impl PartialOrd for GatherMode
source§fn partial_cmp(&self, other: &GatherMode) -> Option<Ordering>
1.0.0 · source§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 moresource§impl Serialize for GatherMode
source§impl Copy for GatherMode
source§impl Eq for GatherMode
source§impl StructuralEq for GatherMode
source§impl StructuralPartialEq for GatherMode
Auto Trait Implementations§
§impl RefUnwindSafe for GatherMode
§impl Send for GatherMode
§impl Sync for GatherMode
§impl Unpin for GatherMode
§impl UnwindSafe for GatherMode
Blanket Implementations§
source§impl Serialize for GatherMode
source§impl Copy for GatherMode
source§impl Eq for GatherMode
source§impl StructuralEq for GatherMode
source§impl StructuralPartialEq for GatherMode
Auto Trait Implementations§
§impl RefUnwindSafe for GatherMode
§impl Send for GatherMode
§impl Sync for GatherMode
§impl Unpin for GatherMode
§impl UnwindSafe for GatherMode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.ImageClass.html b/doc/naga/enum.ImageClass.html
index 44c5bf6fa07e..d4f3adab5f09 100644
--- a/doc/naga/enum.ImageClass.html
+++ b/doc/naga/enum.ImageClass.html
@@ -1,5 +1,5 @@
ImageClass in naga - Rust
- Enum naga::ImageClass
source · pub enum ImageClass {
+ Enum naga::ImageClass
source · pub enum ImageClass {
Sampled {
kind: ScalarKind,
multi: bool,
@@ -20,20 +20,20 @@
§Depth
Depth comparison image.
§Storage
Storage image.
-
Implementations§
source§impl ImageClass
sourcepub const fn is_multisampled(self) -> bool
sourcepub const fn is_mipmapped(self) -> bool
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImageClass
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for ImageClass
source§fn clone(&self) -> ImageClass
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImageClass
source§impl<'de> Deserialize<'de> for ImageClass
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for ImageClass
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Implementations§
source§impl ImageClass
sourcepub const fn is_multisampled(self) -> bool
sourcepub const fn is_mipmapped(self) -> bool
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImageClass
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for ImageClass
source§fn clone(&self) -> ImageClass
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImageClass
source§impl<'de> Deserialize<'de> for ImageClass
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for ImageClass
source§impl Ord for ImageClass
source§impl Ord for ImageClass
source§fn cmp(&self, other: &ImageClass) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for ImageClass
source§impl PartialEq for ImageClass
source§fn eq(&self, other: &ImageClass) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ImageClass
source§impl PartialOrd for ImageClass
source§fn partial_cmp(&self, other: &ImageClass) -> Option<Ordering>
1.0.0 · source§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 moresource§impl Serialize for ImageClass
source§impl Copy for ImageClass
source§impl Eq for ImageClass
source§impl StructuralEq for ImageClass
source§impl StructuralPartialEq for ImageClass
Auto Trait Implementations§
§impl RefUnwindSafe for ImageClass
§impl Send for ImageClass
§impl Sync for ImageClass
§impl Unpin for ImageClass
§impl UnwindSafe for ImageClass
Blanket Implementations§
source§impl Serialize for ImageClass
source§impl Copy for ImageClass
source§impl Eq for ImageClass
source§impl StructuralEq for ImageClass
source§impl StructuralPartialEq for ImageClass
Auto Trait Implementations§
§impl RefUnwindSafe for ImageClass
§impl Send for ImageClass
§impl Sync for ImageClass
§impl Unpin for ImageClass
§impl UnwindSafe for ImageClass
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.ImageDimension.html b/doc/naga/enum.ImageDimension.html
index f3d1f2532469..ef187f462c11 100644
--- a/doc/naga/enum.ImageDimension.html
+++ b/doc/naga/enum.ImageDimension.html
@@ -1,5 +1,5 @@
ImageDimension in naga - Rust
- Enum naga::ImageDimension
source · pub enum ImageDimension {
+ Enum naga::ImageDimension
source · pub enum ImageDimension {
D1,
D2,
D3,
@@ -9,20 +9,20 @@
§D2
2D image
§D3
3D image
§Cube
Cube map
-
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImageDimension
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for ImageDimension
source§fn clone(&self) -> ImageDimension
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImageDimension
source§impl<'de> Deserialize<'de> for ImageDimension
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl From<ImageDimension> for Dim
source§fn from(dim: ImageDimension) -> Self
Converts to this type from the input type.source§impl Hash for ImageDimension
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImageDimension
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for ImageDimension
source§fn clone(&self) -> ImageDimension
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImageDimension
source§impl<'de> Deserialize<'de> for ImageDimension
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl From<ImageDimension> for Dim
source§fn from(dim: ImageDimension) -> Self
Converts to this type from the input type.source§impl Hash for ImageDimension
source§impl Ord for ImageDimension
source§impl Ord for ImageDimension
source§fn cmp(&self, other: &ImageDimension) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for ImageDimension
source§impl PartialEq for ImageDimension
source§fn eq(&self, other: &ImageDimension) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ImageDimension
source§impl PartialOrd for ImageDimension
source§fn partial_cmp(&self, other: &ImageDimension) -> Option<Ordering>
1.0.0 · source§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 moresource§impl Serialize for ImageDimension
source§impl Copy for ImageDimension
source§impl Eq for ImageDimension
source§impl StructuralEq for ImageDimension
source§impl StructuralPartialEq for ImageDimension
Auto Trait Implementations§
§impl RefUnwindSafe for ImageDimension
§impl Send for ImageDimension
§impl Sync for ImageDimension
§impl Unpin for ImageDimension
§impl UnwindSafe for ImageDimension
Blanket Implementations§
source§impl Serialize for ImageDimension
source§impl Copy for ImageDimension
source§impl Eq for ImageDimension
source§impl StructuralEq for ImageDimension
source§impl StructuralPartialEq for ImageDimension
Auto Trait Implementations§
§impl RefUnwindSafe for ImageDimension
§impl Send for ImageDimension
§impl Sync for ImageDimension
§impl Unpin for ImageDimension
§impl UnwindSafe for ImageDimension
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.ImageQuery.html b/doc/naga/enum.ImageQuery.html
index 5e7e403bfd8c..720275fe49d6 100644
--- a/doc/naga/enum.ImageQuery.html
+++ b/doc/naga/enum.ImageQuery.html
@@ -1,5 +1,5 @@
ImageQuery in naga - Rust
- Enum naga::ImageQuery
source · pub enum ImageQuery {
+ Enum naga::ImageQuery
source · pub enum ImageQuery {
Size {
level: Option<Handle<Expression>>,
},
@@ -16,13 +16,13 @@
§NumLevels
Get the number of mipmap levels, a u32
.
§NumLayers
Get the number of array layers, a u32
.
§NumSamples
Get the number of samples, a u32
.
-
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImageQuery
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for ImageQuery
source§fn clone(&self) -> ImageQuery
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImageQuery
source§impl<'de> Deserialize<'de> for ImageQuery
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for ImageQuery
source§fn eq(&self, other: &ImageQuery) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImageQuery
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for ImageQuery
source§fn clone(&self) -> ImageQuery
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImageQuery
source§impl<'de> Deserialize<'de> for ImageQuery
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for ImageQuery
source§fn eq(&self, other: &ImageQuery) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImageQuery
source§impl Copy for ImageQuery
source§impl StructuralPartialEq for ImageQuery
Auto Trait Implementations§
§impl RefUnwindSafe for ImageQuery
§impl Send for ImageQuery
§impl Sync for ImageQuery
§impl Unpin for ImageQuery
§impl UnwindSafe for ImageQuery
Blanket Implementations§
source§impl Serialize for ImageQuery
source§impl Copy for ImageQuery
source§impl StructuralPartialEq for ImageQuery
Auto Trait Implementations§
§impl RefUnwindSafe for ImageQuery
§impl Send for ImageQuery
§impl Sync for ImageQuery
§impl Unpin for ImageQuery
§impl UnwindSafe for ImageQuery
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/doc/naga/enum.Interpolation.html b/doc/naga/enum.Interpolation.html
index c92a223b9c83..6dfb6f56c43f 100644
--- a/doc/naga/enum.Interpolation.html
+++ b/doc/naga/enum.Interpolation.html
@@ -1,5 +1,5 @@
Interpolation in naga - Rust
- Enum naga::Interpolation
source · pub enum Interpolation {
+ Enum naga::Interpolation
source · pub enum Interpolation {
Perspective,
Linear,
Flat,
@@ -10,20 +10,20 @@
interpolation must be used.
Also known as “no_perspective” in glsl.
§Flat
Indicates that no interpolation will be performed.
-
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Interpolation
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for Interpolation
source§fn clone(&self) -> Interpolation
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Interpolation
source§impl<'de> Deserialize<'de> for Interpolation
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for Interpolation
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Interpolation
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for Interpolation
source§fn clone(&self) -> Interpolation
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Interpolation
source§impl<'de> Deserialize<'de> for Interpolation
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for Interpolation
source§impl Ord for Interpolation
source§impl Ord for Interpolation
source§fn cmp(&self, other: &Interpolation) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for Interpolation
source§impl PartialEq for Interpolation
source§fn eq(&self, other: &Interpolation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for Interpolation
source§impl PartialOrd for Interpolation
source§fn partial_cmp(&self, other: &Interpolation) -> Option<Ordering>
1.0.0 · source§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 moresource§impl Serialize for Interpolation
source§impl Copy for Interpolation
source§impl Eq for Interpolation
source§impl StructuralEq for Interpolation
source§impl StructuralPartialEq for Interpolation
Auto Trait Implementations§
§impl RefUnwindSafe for Interpolation
§impl Send for Interpolation
§impl Sync for Interpolation
§impl Unpin for Interpolation
§impl UnwindSafe for Interpolation
Blanket Implementations§
source§impl Serialize for Interpolation
source§impl Copy for Interpolation
source§impl Eq for Interpolation
source§impl StructuralEq for Interpolation
source§impl StructuralPartialEq for Interpolation
Auto Trait Implementations§
§impl RefUnwindSafe for Interpolation
§impl Send for Interpolation
§impl Sync for Interpolation
§impl Unpin for Interpolation
§impl UnwindSafe for Interpolation
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.Literal.html b/doc/naga/enum.Literal.html
index 5e4c92ca31a1..131b3acb7c21 100644
--- a/doc/naga/enum.Literal.html
+++ b/doc/naga/enum.Literal.html
@@ -1,5 +1,5 @@
Literal in naga - Rust
- pub enum Literal {
+ pub enum Literal {
F64(f64),
F32(f32),
U32(u32),
@@ -11,15 +11,15 @@
AbstractFloat(f64),
}
Variants§
§F64(f64)
May not be NaN or infinity.
§F32(f32)
May not be NaN or infinity.
-§U32(u32)
§I32(i32)
§U64(u64)
§I64(i64)
§Bool(bool)
§AbstractInt(i64)
§AbstractFloat(f64)
Implementations§
source§impl Literal
sourcepub const fn new(value: u8, scalar: Scalar) -> Option<Self>
sourcepub const fn zero(scalar: Scalar) -> Option<Self>
sourcepub const fn one(scalar: Scalar) -> Option<Self>
sourcepub const fn width(&self) -> Bytes
sourcepub const fn scalar(&self) -> Scalar
sourcepub const fn scalar_kind(&self) -> ScalarKind
sourcepub const fn ty_inner(&self) -> TypeInner
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Literal
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl<'de> Deserialize<'de> for Literal
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Literal> for HashableLiteral
source§impl PartialEq for Literal
Implementations§
source§impl Literal
sourcepub const fn new(value: u8, scalar: Scalar) -> Option<Self>
sourcepub const fn zero(scalar: Scalar) -> Option<Self>
sourcepub const fn one(scalar: Scalar) -> Option<Self>
sourcepub const fn width(&self) -> Bytes
sourcepub const fn scalar(&self) -> Scalar
sourcepub const fn scalar_kind(&self) -> ScalarKind
sourcepub const fn ty_inner(&self) -> TypeInner
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Literal
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl<'de> Deserialize<'de> for Literal
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Literal> for HashableLiteral
source§impl PartialEq for Literal
source§impl PartialOrd for Literal
source§impl PartialOrd for Literal
1.0.0 · source§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 moresource§impl Copy for Literal
source§impl StructuralPartialEq for Literal
Auto Trait Implementations§
§impl RefUnwindSafe for Literal
§impl Send for Literal
§impl Sync for Literal
§impl Unpin for Literal
§impl UnwindSafe for Literal
Blanket Implementations§
source§impl Copy for Literal
source§impl StructuralPartialEq for Literal
Auto Trait Implementations§
§impl RefUnwindSafe for Literal
§impl Send for Literal
§impl Sync for Literal
§impl Unpin for Literal
§impl UnwindSafe for Literal
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/doc/naga/enum.MathFunction.html b/doc/naga/enum.MathFunction.html
index 9a172d81e3aa..fab4dcd18140 100644
--- a/doc/naga/enum.MathFunction.html
+++ b/doc/naga/enum.MathFunction.html
@@ -1,5 +1,5 @@
MathFunction in naga - Rust
- Enum naga::MathFunction
source · pub enum MathFunction {
+ Enum naga::MathFunction
source · pub enum MathFunction {
Show 74 variants
Abs,
Min,
Max,
@@ -75,20 +75,20 @@
Unpack4xI8,
Unpack4xU8,
}
Expand description
Built-in shader function for math.
-Variants§
§Abs
§Min
§Max
§Clamp
§Saturate
§Cos
§Cosh
§Sin
§Sinh
§Tan
§Tanh
§Acos
§Asin
§Atan
§Atan2
§Asinh
§Acosh
§Atanh
§Radians
§Degrees
§Ceil
§Floor
§Round
§Fract
§Trunc
§Modf
§Frexp
§Ldexp
§Exp
§Exp2
§Log
§Log2
§Pow
§Dot
§Outer
§Cross
§Distance
§Length
§Normalize
§FaceForward
§Reflect
§Refract
§Sign
§Fma
§Mix
§Step
§SmoothStep
§Sqrt
§InverseSqrt
§Inverse
§Transpose
§Determinant
§CountTrailingZeros
§CountLeadingZeros
§CountOneBits
§ReverseBits
§ExtractBits
§InsertBits
§FirstTrailingBit
§FirstLeadingBit
§Pack4x8snorm
§Pack4x8unorm
§Pack2x16snorm
§Pack2x16unorm
§Pack2x16float
§Pack4xI8
§Pack4xU8
§Unpack4x8snorm
§Unpack4x8unorm
§Unpack2x16snorm
§Unpack2x16unorm
§Unpack2x16float
§Unpack4xI8
§Unpack4xU8
Implementations§
source§impl MathFunction
sourcepub const fn argument_count(&self) -> usize
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for MathFunction
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for MathFunction
source§fn clone(&self) -> MathFunction
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for MathFunction
source§impl<'de> Deserialize<'de> for MathFunction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for MathFunction
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Variants§
§Abs
§Min
§Max
§Clamp
§Saturate
§Cos
§Cosh
§Sin
§Sinh
§Tan
§Tanh
§Acos
§Asin
§Atan
§Atan2
§Asinh
§Acosh
§Atanh
§Radians
§Degrees
§Ceil
§Floor
§Round
§Fract
§Trunc
§Modf
§Frexp
§Ldexp
§Exp
§Exp2
§Log
§Log2
§Pow
§Dot
§Outer
§Cross
§Distance
§Length
§Normalize
§FaceForward
§Reflect
§Refract
§Sign
§Fma
§Mix
§Step
§SmoothStep
§Sqrt
§InverseSqrt
§Inverse
§Transpose
§Determinant
§CountTrailingZeros
§CountLeadingZeros
§CountOneBits
§ReverseBits
§ExtractBits
§InsertBits
§FirstTrailingBit
§FirstLeadingBit
§Pack4x8snorm
§Pack4x8unorm
§Pack2x16snorm
§Pack2x16unorm
§Pack2x16float
§Pack4xI8
§Pack4xU8
§Unpack4x8snorm
§Unpack4x8unorm
§Unpack2x16snorm
§Unpack2x16unorm
§Unpack2x16float
§Unpack4xI8
§Unpack4xU8
Implementations§
source§impl MathFunction
sourcepub const fn argument_count(&self) -> usize
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for MathFunction
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for MathFunction
source§fn clone(&self) -> MathFunction
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for MathFunction
source§impl<'de> Deserialize<'de> for MathFunction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for MathFunction
source§impl Ord for MathFunction
source§impl Ord for MathFunction
source§fn cmp(&self, other: &MathFunction) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for MathFunction
source§impl PartialEq for MathFunction
source§fn eq(&self, other: &MathFunction) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for MathFunction
source§impl PartialOrd for MathFunction
source§fn partial_cmp(&self, other: &MathFunction) -> Option<Ordering>
1.0.0 · source§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 moresource§impl Serialize for MathFunction
source§impl Copy for MathFunction
source§impl Eq for MathFunction
source§impl StructuralEq for MathFunction
source§impl StructuralPartialEq for MathFunction
Auto Trait Implementations§
§impl RefUnwindSafe for MathFunction
§impl Send for MathFunction
§impl Sync for MathFunction
§impl Unpin for MathFunction
§impl UnwindSafe for MathFunction
Blanket Implementations§
source§impl Serialize for MathFunction
source§impl Copy for MathFunction
source§impl Eq for MathFunction
source§impl StructuralEq for MathFunction
source§impl StructuralPartialEq for MathFunction
Auto Trait Implementations§
§impl RefUnwindSafe for MathFunction
§impl Send for MathFunction
§impl Sync for MathFunction
§impl Unpin for MathFunction
§impl UnwindSafe for MathFunction
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.PredeclaredType.html b/doc/naga/enum.PredeclaredType.html
index 11e83e63c597..ad0cec34901e 100644
--- a/doc/naga/enum.PredeclaredType.html
+++ b/doc/naga/enum.PredeclaredType.html
@@ -1,5 +1,5 @@
PredeclaredType in naga - Rust
- Enum naga::PredeclaredType
source · pub enum PredeclaredType {
+ Enum naga::PredeclaredType
source · pub enum PredeclaredType {
AtomicCompareExchangeWeakResult(Scalar),
ModfResult {
size: Option<VectorSize>,
@@ -12,15 +12,15 @@
}
Expand description
Return types predeclared for the frexp, modf, and atomicCompareExchangeWeak built-in functions.
These cannot be spelled in WGSL source.
Stored in SpecialTypes::predeclared_types
and created by Module::generate_predeclared_type
.
-Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for PredeclaredType
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for PredeclaredType
source§fn clone(&self) -> PredeclaredType
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for PredeclaredType
source§impl<'de> Deserialize<'de> for PredeclaredType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for PredeclaredType
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for PredeclaredType
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for PredeclaredType
source§fn clone(&self) -> PredeclaredType
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for PredeclaredType
source§impl<'de> Deserialize<'de> for PredeclaredType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for PredeclaredType
source§impl PartialEq for PredeclaredType
source§impl PartialEq for PredeclaredType
source§fn eq(&self, other: &PredeclaredType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PredeclaredType
source§impl Eq for PredeclaredType
source§impl StructuralEq for PredeclaredType
source§impl StructuralPartialEq for PredeclaredType
Auto Trait Implementations§
§impl RefUnwindSafe for PredeclaredType
§impl Send for PredeclaredType
§impl Sync for PredeclaredType
§impl Unpin for PredeclaredType
§impl UnwindSafe for PredeclaredType
Blanket Implementations§
source§impl Serialize for PredeclaredType
source§impl Eq for PredeclaredType
source§impl StructuralEq for PredeclaredType
source§impl StructuralPartialEq for PredeclaredType
Auto Trait Implementations§
§impl RefUnwindSafe for PredeclaredType
§impl Send for PredeclaredType
§impl Sync for PredeclaredType
§impl Unpin for PredeclaredType
§impl UnwindSafe for PredeclaredType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Equivalent<K> for Qwhere
diff --git a/doc/naga/enum.RayQueryFunction.html b/doc/naga/enum.RayQueryFunction.html
index b1131464e736..641d3454c0fa 100644
--- a/doc/naga/enum.RayQueryFunction.html
+++ b/doc/naga/enum.RayQueryFunction.html
@@ -1,5 +1,5 @@
RayQueryFunction in naga - Rust
- Enum naga::RayQueryFunction
source · pub enum RayQueryFunction {
+ Enum naga::RayQueryFunction
source · pub enum RayQueryFunction {
Initialize {
acceleration_structure: Handle<Expression>,
descriptor: Handle<Expression>,
@@ -20,10 +20,10 @@
After executing this statement, the result
expression is a
Bool
scalar indicating whether there are more intersection
candidates to consider.
-
§Terminate
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for RayQueryFunction
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for RayQueryFunction
source§fn clone(&self) -> RayQueryFunction
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for RayQueryFunction
source§impl<'de> Deserialize<'de> for RayQueryFunction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Serialize for RayQueryFunction
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for RayQueryFunction
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for RayQueryFunction
source§fn clone(&self) -> RayQueryFunction
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for RayQueryFunction
source§impl<'de> Deserialize<'de> for RayQueryFunction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for RayQueryFunction
§impl Send for RayQueryFunction
§impl Sync for RayQueryFunction
§impl Unpin for RayQueryFunction
§impl UnwindSafe for RayQueryFunction
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/naga/enum.RelationalFunction.html b/doc/naga/enum.RelationalFunction.html
index b865ccfea243..e387f4da3069 100644
--- a/doc/naga/enum.RelationalFunction.html
+++ b/doc/naga/enum.RelationalFunction.html
@@ -1,24 +1,24 @@
RelationalFunction in naga - Rust
- Enum naga::RelationalFunction
source · pub enum RelationalFunction {
+ Enum naga::RelationalFunction
source · pub enum RelationalFunction {
All,
Any,
IsNan,
IsInf,
}
Expand description
Built-in shader function for testing relation between values.
-Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for RelationalFunction
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for RelationalFunction
source§fn clone(&self) -> RelationalFunction
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for RelationalFunction
source§impl<'de> Deserialize<'de> for RelationalFunction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for RelationalFunction
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for RelationalFunction
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for RelationalFunction
source§fn clone(&self) -> RelationalFunction
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for RelationalFunction
source§impl<'de> Deserialize<'de> for RelationalFunction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for RelationalFunction
source§impl Ord for RelationalFunction
source§impl Ord for RelationalFunction
source§fn cmp(&self, other: &RelationalFunction) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for RelationalFunction
source§impl PartialEq for RelationalFunction
source§fn eq(&self, other: &RelationalFunction) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for RelationalFunction
source§impl PartialOrd for RelationalFunction
source§fn partial_cmp(&self, other: &RelationalFunction) -> Option<Ordering>
1.0.0 · source§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 moresource§impl Serialize for RelationalFunction
source§impl Copy for RelationalFunction
source§impl Eq for RelationalFunction
source§impl StructuralEq for RelationalFunction
source§impl StructuralPartialEq for RelationalFunction
Auto Trait Implementations§
§impl RefUnwindSafe for RelationalFunction
§impl Send for RelationalFunction
§impl Sync for RelationalFunction
§impl Unpin for RelationalFunction
§impl UnwindSafe for RelationalFunction
Blanket Implementations§
source§impl Serialize for RelationalFunction
source§impl Copy for RelationalFunction
source§impl Eq for RelationalFunction
source§impl StructuralEq for RelationalFunction
source§impl StructuralPartialEq for RelationalFunction
Auto Trait Implementations§
§impl RefUnwindSafe for RelationalFunction
§impl Send for RelationalFunction
§impl Sync for RelationalFunction
§impl Unpin for RelationalFunction
§impl UnwindSafe for RelationalFunction
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.SampleLevel.html b/doc/naga/enum.SampleLevel.html
index 025b12ec14fa..f693cc0b4dce 100644
--- a/doc/naga/enum.SampleLevel.html
+++ b/doc/naga/enum.SampleLevel.html
@@ -1,5 +1,5 @@
SampleLevel in naga - Rust
- Enum naga::SampleLevel
source · pub enum SampleLevel {
+ Enum naga::SampleLevel
source · pub enum SampleLevel {
Auto,
Zero,
Exact(Handle<Expression>),
@@ -11,13 +11,13 @@
}
Expand description
Sampling modifier to control the level of detail.
All Handle<Expression>
values here refer to an expression in
Function::expressions
.
-Variants§
Implementations§
source§impl SampleLevel
sourcepub const fn implicit_derivatives(&self) -> bool
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for SampleLevel
pub struct Writer { /* private fields */ }
Implementations§
source§impl Writer
impl Writer
pub fn new(options: &Options<'_>) -> Result<Self, Error>
pub fn write( &mut self, ir_module: &Module, info: &ModuleInfo, pipeline_options: Option<&PipelineOptions>, debug_info: &Option<DebugInfo<'_>>, words: &mut Vec<Word> -) -> Result<(), Error>
sourcepub const fn get_capabilities_used(&self) -> &FastIndexSet<Capability>
pub const fn get_capabilities_used(&self) -> &FastIndexSet<Capability>
Return the set of capabilities the last module written used.
-pub fn decorate_non_uniform_binding_array_access( +) -> Result<(), Error>
sourcepub const fn get_capabilities_used(&self) -> &FastIndexSet<Capability>
pub const fn get_capabilities_used(&self) -> &FastIndexSet<Capability>
Return the set of capabilities the last module written used.
+pub fn decorate_non_uniform_binding_array_access( &mut self, id: Word ) -> Result<(), Error>
Auto Trait Implementations§
impl RefUnwindSafe for Writer
impl Send for Writer
impl Sync for Writer
impl Unpin for Writer
impl UnwindSafe for Writer
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/doc/naga/enum.ArraySize.html b/doc/naga/enum.ArraySize.html
index 0b535166d661..41f4fc941dcf 100644
--- a/doc/naga/enum.ArraySize.html
+++ b/doc/naga/enum.ArraySize.html
@@ -1,5 +1,5 @@
ArraySize in naga - Rust
- #[repr(u8)]pub enum ArraySize {
+ #[repr(u8)]pub enum ArraySize {
Constant(NonZeroU32),
Dynamic,
}
Expand description
Size of an array.
@@ -8,20 +8,20 @@
Implementations§
source§impl ArraySize
sourcepub const fn to_indexable_length(
self,
_module: &Module
-) -> Result<IndexableLength, IndexableLengthError>
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ArraySize
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl<'de> Deserialize<'de> for ArraySize
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for ArraySize
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ArraySize
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl<'de> Deserialize<'de> for ArraySize
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Ord for ArraySize
source§impl PartialEq for ArraySize
source§impl PartialOrd for ArraySize
source§impl PartialOrd for ArraySize
1.0.0 · source§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 moresource§impl Copy for ArraySize
source§impl Eq for ArraySize
source§impl StructuralEq for ArraySize
source§impl StructuralPartialEq for ArraySize
Auto Trait Implementations§
§impl RefUnwindSafe for ArraySize
§impl Send for ArraySize
§impl Sync for ArraySize
§impl Unpin for ArraySize
§impl UnwindSafe for ArraySize
Blanket Implementations§
source§impl Copy for ArraySize
source§impl Eq for ArraySize
source§impl StructuralEq for ArraySize
source§impl StructuralPartialEq for ArraySize
Auto Trait Implementations§
§impl RefUnwindSafe for ArraySize
§impl Send for ArraySize
§impl Sync for ArraySize
§impl Unpin for ArraySize
§impl UnwindSafe for ArraySize
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.AtomicFunction.html b/doc/naga/enum.AtomicFunction.html
index 52cd80f50e01..b63592efe63e 100644
--- a/doc/naga/enum.AtomicFunction.html
+++ b/doc/naga/enum.AtomicFunction.html
@@ -1,5 +1,5 @@
AtomicFunction in naga - Rust
- Enum naga::AtomicFunction
source · pub enum AtomicFunction {
+ Enum naga::AtomicFunction
source · pub enum AtomicFunction {
Add,
Subtract,
And,
@@ -15,20 +15,20 @@
Expression::Load
and Statement::Store
.
All Handle<Expression>
values here refer to an expression in
Function::expressions
.
-
Variants§
§Add
§Subtract
§And
§ExclusiveOr
§InclusiveOr
§Min
§Max
§Exchange
Fields
§compare: Option<Handle<Expression>>
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for AtomicFunction
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for AtomicFunction
source§fn clone(&self) -> AtomicFunction
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for AtomicFunction
source§impl<'de> Deserialize<'de> for AtomicFunction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for AtomicFunction
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Variants§
§Add
§Subtract
§And
§ExclusiveOr
§InclusiveOr
§Min
§Max
§Exchange
Fields
§compare: Option<Handle<Expression>>
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for AtomicFunction
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for AtomicFunction
source§fn clone(&self) -> AtomicFunction
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for AtomicFunction
source§impl<'de> Deserialize<'de> for AtomicFunction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for AtomicFunction
source§impl Ord for AtomicFunction
source§impl Ord for AtomicFunction
source§fn cmp(&self, other: &AtomicFunction) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for AtomicFunction
source§impl PartialEq for AtomicFunction
source§fn eq(&self, other: &AtomicFunction) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for AtomicFunction
source§impl PartialOrd for AtomicFunction
source§fn partial_cmp(&self, other: &AtomicFunction) -> Option<Ordering>
1.0.0 · source§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 moresource§impl Serialize for AtomicFunction
source§impl Copy for AtomicFunction
source§impl Eq for AtomicFunction
source§impl StructuralEq for AtomicFunction
source§impl StructuralPartialEq for AtomicFunction
Auto Trait Implementations§
§impl RefUnwindSafe for AtomicFunction
§impl Send for AtomicFunction
§impl Sync for AtomicFunction
§impl Unpin for AtomicFunction
§impl UnwindSafe for AtomicFunction
Blanket Implementations§
source§impl Serialize for AtomicFunction
source§impl Copy for AtomicFunction
source§impl Eq for AtomicFunction
source§impl StructuralEq for AtomicFunction
source§impl StructuralPartialEq for AtomicFunction
Auto Trait Implementations§
§impl RefUnwindSafe for AtomicFunction
§impl Send for AtomicFunction
§impl Sync for AtomicFunction
§impl Unpin for AtomicFunction
§impl UnwindSafe for AtomicFunction
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.BinaryOperator.html b/doc/naga/enum.BinaryOperator.html
index 095f13e9c918..dd38771dc6c1 100644
--- a/doc/naga/enum.BinaryOperator.html
+++ b/doc/naga/enum.BinaryOperator.html
@@ -1,5 +1,5 @@
BinaryOperator in naga - Rust
- Enum naga::BinaryOperator
source · pub enum BinaryOperator {
+ Enum naga::BinaryOperator
source · pub enum BinaryOperator {
Show 18 variants
Add,
Subtract,
Multiply,
@@ -54,20 +54,20 @@ Arithmetic type
mixed-type use.
Variants§
§Add
§Subtract
§Multiply
§Divide
§Modulo
Equivalent of the WGSL’s %
operator or SPIR-V’s OpFRem
§Equal
§NotEqual
§Less
§LessEqual
§Greater
§GreaterEqual
§And
§ExclusiveOr
§InclusiveOr
§LogicalAnd
§LogicalOr
§ShiftLeft
§ShiftRight
Right shift carries the sign of signed integers only.
-Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for BinaryOperator
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for BinaryOperator
source§fn clone(&self) -> BinaryOperator
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for BinaryOperator
source§impl<'de> Deserialize<'de> for BinaryOperator
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for BinaryOperator
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for BinaryOperator
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for BinaryOperator
source§fn clone(&self) -> BinaryOperator
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for BinaryOperator
source§impl<'de> Deserialize<'de> for BinaryOperator
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for BinaryOperator
source§impl Ord for BinaryOperator
source§impl Ord for BinaryOperator
source§fn cmp(&self, other: &BinaryOperator) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for BinaryOperator
source§impl PartialEq for BinaryOperator
source§fn eq(&self, other: &BinaryOperator) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for BinaryOperator
source§impl PartialOrd for BinaryOperator
source§fn partial_cmp(&self, other: &BinaryOperator) -> Option<Ordering>
1.0.0 · source§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 moresource§impl Serialize for BinaryOperator
source§impl Copy for BinaryOperator
source§impl Eq for BinaryOperator
source§impl StructuralEq for BinaryOperator
source§impl StructuralPartialEq for BinaryOperator
Auto Trait Implementations§
§impl RefUnwindSafe for BinaryOperator
§impl Send for BinaryOperator
§impl Sync for BinaryOperator
§impl Unpin for BinaryOperator
§impl UnwindSafe for BinaryOperator
Blanket Implementations§
source§impl Serialize for BinaryOperator
source§impl Copy for BinaryOperator
source§impl Eq for BinaryOperator
source§impl StructuralEq for BinaryOperator
source§impl StructuralPartialEq for BinaryOperator
Auto Trait Implementations§
§impl RefUnwindSafe for BinaryOperator
§impl Send for BinaryOperator
§impl Sync for BinaryOperator
§impl Unpin for BinaryOperator
§impl UnwindSafe for BinaryOperator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.Binding.html b/doc/naga/enum.Binding.html
index 78fc2e9e83c7..bf6659bc3662 100644
--- a/doc/naga/enum.Binding.html
+++ b/doc/naga/enum.Binding.html
@@ -1,5 +1,5 @@
Binding in naga - Rust
- pub enum Binding {
+
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Binding
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl<'de> Deserialize<'de> for Binding
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Binding
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl<'de> Deserialize<'de> for Binding
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for Binding
source§impl Eq for Binding
source§impl StructuralEq for Binding
source§impl StructuralPartialEq for Binding
Auto Trait Implementations§
§impl RefUnwindSafe for Binding
§impl Send for Binding
§impl Sync for Binding
§impl Unpin for Binding
§impl UnwindSafe for Binding
Blanket Implementations§
source§impl Eq for Binding
source§impl StructuralEq for Binding
source§impl StructuralPartialEq for Binding
Auto Trait Implementations§
§impl RefUnwindSafe for Binding
§impl Send for Binding
§impl Sync for Binding
§impl Unpin for Binding
§impl UnwindSafe for Binding
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Equivalent<K> for Qwhere
diff --git a/doc/naga/enum.BuiltIn.html b/doc/naga/enum.BuiltIn.html
index d745dac1c9f2..3f822568a841 100644
--- a/doc/naga/enum.BuiltIn.html
+++ b/doc/naga/enum.BuiltIn.html
@@ -1,6 +1,6 @@
-BuiltIn in naga - Rust
- pub enum BuiltIn {
-Show 25 variants
Position {
+BuiltIn in naga - Rust
+ pub enum BuiltIn {
+Show 26 variants
Position {
invariant: bool,
},
ViewIndex,
@@ -11,6 +11,7 @@
InstanceIndex,
PointSize,
VertexIndex,
+ DrawID,
FragDepth,
PointCoord,
FrontFacing,
@@ -28,7 +29,7 @@
SubgroupSize,
SubgroupInvocationId,
}
Expand description
Built-in inputs and outputs.
-Variants§
§Position
§ViewIndex
§BaseInstance
§BaseVertex
§ClipDistance
§CullDistance
§InstanceIndex
§PointSize
§VertexIndex
§FragDepth
§PointCoord
§FrontFacing
§PrimitiveIndex
§SampleIndex
§SampleMask
§GlobalInvocationId
§LocalInvocationId
§LocalInvocationIndex
§WorkGroupId
§WorkGroupSize
§NumWorkGroups
§NumSubgroups
§SubgroupId
§SubgroupSize
§SubgroupInvocationId
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for BuiltIn
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+Variants§
§Position
§ViewIndex
§BaseInstance
§BaseVertex
§ClipDistance
§CullDistance
§InstanceIndex
§PointSize
§VertexIndex
§DrawID
§FragDepth
§PointCoord
§FrontFacing
§PrimitiveIndex
§SampleIndex
§SampleMask
§GlobalInvocationId
§LocalInvocationId
§LocalInvocationIndex
§WorkGroupId
§WorkGroupSize
§NumWorkGroups
§NumSubgroups
§SubgroupId
§SubgroupSize
§SubgroupInvocationId
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for BuiltIn
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl<'de> Deserialize<'de> for BuiltIn
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for BuiltIn
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
diff --git a/doc/naga/enum.CollectiveOperation.html b/doc/naga/enum.CollectiveOperation.html
index b097e84ecbbf..e5695e0e719a 100644
--- a/doc/naga/enum.CollectiveOperation.html
+++ b/doc/naga/enum.CollectiveOperation.html
@@ -1,22 +1,22 @@
CollectiveOperation in naga - Rust
- Enum naga::CollectiveOperation
source · pub enum CollectiveOperation {
+ Enum naga::CollectiveOperation
source · pub enum CollectiveOperation {
Reduce = 0,
InclusiveScan = 1,
ExclusiveScan = 2,
-}
Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for CollectiveOperation
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for CollectiveOperation
source§fn clone(&self) -> CollectiveOperation
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for CollectiveOperation
source§impl<'de> Deserialize<'de> for CollectiveOperation
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for CollectiveOperation
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+}Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for CollectiveOperation
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for CollectiveOperation
source§fn clone(&self) -> CollectiveOperation
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for CollectiveOperation
source§impl<'de> Deserialize<'de> for CollectiveOperation
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for CollectiveOperation
source§impl Ord for CollectiveOperation
source§impl Ord for CollectiveOperation
source§fn cmp(&self, other: &CollectiveOperation) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for CollectiveOperation
source§impl PartialEq for CollectiveOperation
source§fn eq(&self, other: &CollectiveOperation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CollectiveOperation
source§impl PartialOrd for CollectiveOperation
source§fn partial_cmp(&self, other: &CollectiveOperation) -> Option<Ordering>
1.0.0 · source§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 moresource§impl Serialize for CollectiveOperation
source§impl Copy for CollectiveOperation
source§impl Eq for CollectiveOperation
source§impl StructuralEq for CollectiveOperation
source§impl StructuralPartialEq for CollectiveOperation
Auto Trait Implementations§
§impl RefUnwindSafe for CollectiveOperation
§impl Send for CollectiveOperation
§impl Sync for CollectiveOperation
§impl Unpin for CollectiveOperation
§impl UnwindSafe for CollectiveOperation
Blanket Implementations§
source§impl Serialize for CollectiveOperation
source§impl Copy for CollectiveOperation
source§impl Eq for CollectiveOperation
source§impl StructuralEq for CollectiveOperation
source§impl StructuralPartialEq for CollectiveOperation
Auto Trait Implementations§
§impl RefUnwindSafe for CollectiveOperation
§impl Send for CollectiveOperation
§impl Sync for CollectiveOperation
§impl Unpin for CollectiveOperation
§impl UnwindSafe for CollectiveOperation
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.DerivativeAxis.html b/doc/naga/enum.DerivativeAxis.html
index 77ed38f80601..3d92a7b3fb1f 100644
--- a/doc/naga/enum.DerivativeAxis.html
+++ b/doc/naga/enum.DerivativeAxis.html
@@ -1,23 +1,23 @@
DerivativeAxis in naga - Rust
- Enum naga::DerivativeAxis
source · pub enum DerivativeAxis {
+ Enum naga::DerivativeAxis
source · pub enum DerivativeAxis {
X,
Y,
Width,
}
Expand description
Axis on which to compute a derivative.
-Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for DerivativeAxis
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for DerivativeAxis
source§fn clone(&self) -> DerivativeAxis
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for DerivativeAxis
source§impl<'de> Deserialize<'de> for DerivativeAxis
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for DerivativeAxis
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for DerivativeAxis
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for DerivativeAxis
source§fn clone(&self) -> DerivativeAxis
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for DerivativeAxis
source§impl<'de> Deserialize<'de> for DerivativeAxis
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for DerivativeAxis
source§impl Ord for DerivativeAxis
source§impl Ord for DerivativeAxis
source§fn cmp(&self, other: &DerivativeAxis) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for DerivativeAxis
source§impl PartialEq for DerivativeAxis
source§fn eq(&self, other: &DerivativeAxis) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DerivativeAxis
source§impl PartialOrd for DerivativeAxis
source§fn partial_cmp(&self, other: &DerivativeAxis) -> Option<Ordering>
1.0.0 · source§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 moresource§impl Serialize for DerivativeAxis
source§impl Copy for DerivativeAxis
source§impl Eq for DerivativeAxis
source§impl StructuralEq for DerivativeAxis
source§impl StructuralPartialEq for DerivativeAxis
Auto Trait Implementations§
§impl RefUnwindSafe for DerivativeAxis
§impl Send for DerivativeAxis
§impl Sync for DerivativeAxis
§impl Unpin for DerivativeAxis
§impl UnwindSafe for DerivativeAxis
Blanket Implementations§
source§impl Serialize for DerivativeAxis
source§impl Copy for DerivativeAxis
source§impl Eq for DerivativeAxis
source§impl StructuralEq for DerivativeAxis
source§impl StructuralPartialEq for DerivativeAxis
Auto Trait Implementations§
§impl RefUnwindSafe for DerivativeAxis
§impl Send for DerivativeAxis
§impl Sync for DerivativeAxis
§impl Unpin for DerivativeAxis
§impl UnwindSafe for DerivativeAxis
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.DerivativeControl.html b/doc/naga/enum.DerivativeControl.html
index bec9e7ca5f89..a085d395d170 100644
--- a/doc/naga/enum.DerivativeControl.html
+++ b/doc/naga/enum.DerivativeControl.html
@@ -1,23 +1,23 @@
DerivativeControl in naga - Rust
- Enum naga::DerivativeControl
source · pub enum DerivativeControl {
+ Enum naga::DerivativeControl
source · pub enum DerivativeControl {
Coarse,
Fine,
None,
}
Expand description
Hint at which precision to compute a derivative.
-Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for DerivativeControl
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for DerivativeControl
source§fn clone(&self) -> DerivativeControl
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for DerivativeControl
source§impl<'de> Deserialize<'de> for DerivativeControl
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for DerivativeControl
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for DerivativeControl
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for DerivativeControl
source§fn clone(&self) -> DerivativeControl
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for DerivativeControl
source§impl<'de> Deserialize<'de> for DerivativeControl
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for DerivativeControl
source§impl Ord for DerivativeControl
source§impl Ord for DerivativeControl
source§fn cmp(&self, other: &DerivativeControl) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for DerivativeControl
source§impl PartialEq for DerivativeControl
source§fn eq(&self, other: &DerivativeControl) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DerivativeControl
source§impl PartialOrd for DerivativeControl
source§fn partial_cmp(&self, other: &DerivativeControl) -> Option<Ordering>
1.0.0 · source§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 moresource§impl Serialize for DerivativeControl
source§impl Copy for DerivativeControl
source§impl Eq for DerivativeControl
source§impl StructuralEq for DerivativeControl
source§impl StructuralPartialEq for DerivativeControl
Auto Trait Implementations§
§impl RefUnwindSafe for DerivativeControl
§impl Send for DerivativeControl
§impl Sync for DerivativeControl
§impl Unpin for DerivativeControl
§impl UnwindSafe for DerivativeControl
Blanket Implementations§
source§impl Serialize for DerivativeControl
source§impl Copy for DerivativeControl
source§impl Eq for DerivativeControl
source§impl StructuralEq for DerivativeControl
source§impl StructuralPartialEq for DerivativeControl
Auto Trait Implementations§
§impl RefUnwindSafe for DerivativeControl
§impl Send for DerivativeControl
§impl Sync for DerivativeControl
§impl Unpin for DerivativeControl
§impl UnwindSafe for DerivativeControl
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.Expression.html b/doc/naga/enum.Expression.html
index f898a9288dfb..40ddfd304fda 100644
--- a/doc/naga/enum.Expression.html
+++ b/doc/naga/enum.Expression.html
@@ -1,5 +1,5 @@
Expression in naga - Rust
- Enum naga::Expression
source · pub enum Expression {
+ Enum naga::Expression
source · pub enum Expression {
Show 31 variants
Literal(Literal),
Constant(Handle<Constant>),
Override(Handle<Override>),
@@ -253,13 +253,13 @@
Note, this does not check the type of the given expression. It’s up to
the caller to establish that the Access
expression is well-typed
through other means, like ResolveContext
.
-
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Expression
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for Expression
source§fn clone(&self) -> Expression
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Expression
source§impl<'de> Deserialize<'de> for Expression
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for Expression
source§fn eq(&self, other: &Expression) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Expression
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for Expression
source§fn clone(&self) -> Expression
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Expression
source§impl<'de> Deserialize<'de> for Expression
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for Expression
source§fn eq(&self, other: &Expression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Expression
source§impl StructuralPartialEq for Expression
Auto Trait Implementations§
§impl RefUnwindSafe for Expression
§impl Send for Expression
§impl Sync for Expression
§impl Unpin for Expression
§impl UnwindSafe for Expression
Blanket Implementations§
source§impl Serialize for Expression
source§impl StructuralPartialEq for Expression
Auto Trait Implementations§
§impl RefUnwindSafe for Expression
§impl Send for Expression
§impl Sync for Expression
§impl Unpin for Expression
§impl UnwindSafe for Expression
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/doc/naga/enum.GatherMode.html b/doc/naga/enum.GatherMode.html
index 67f9247ebf98..0e4df661012b 100644
--- a/doc/naga/enum.GatherMode.html
+++ b/doc/naga/enum.GatherMode.html
@@ -1,5 +1,5 @@
GatherMode in naga - Rust
- Enum naga::GatherMode
source · pub enum GatherMode {
+ Enum naga::GatherMode
source · pub enum GatherMode {
BroadcastFirst,
Broadcast(Handle<Expression>),
Shuffle(Handle<Expression>),
@@ -15,20 +15,20 @@
§ShuffleDown(Handle<Expression>)
Each gathers from their lane plus the shift given by the expression
§ShuffleUp(Handle<Expression>)
Each gathers from their lane minus the shift given by the expression
§ShuffleXor(Handle<Expression>)
Each gathers from their lane xored with the given by the expression
-
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for GatherMode
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for GatherMode
source§fn clone(&self) -> GatherMode
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for GatherMode
source§impl<'de> Deserialize<'de> for GatherMode
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for GatherMode
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for GatherMode
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for GatherMode
source§fn clone(&self) -> GatherMode
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for GatherMode
source§impl<'de> Deserialize<'de> for GatherMode
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for GatherMode
source§impl Ord for GatherMode
source§impl Ord for GatherMode
source§fn cmp(&self, other: &GatherMode) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for GatherMode
source§impl PartialEq for GatherMode
source§fn eq(&self, other: &GatherMode) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for GatherMode
source§impl PartialOrd for GatherMode
source§fn partial_cmp(&self, other: &GatherMode) -> Option<Ordering>
1.0.0 · source§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 moresource§impl Serialize for GatherMode
source§impl Copy for GatherMode
source§impl Eq for GatherMode
source§impl StructuralEq for GatherMode
source§impl StructuralPartialEq for GatherMode
Auto Trait Implementations§
§impl RefUnwindSafe for GatherMode
§impl Send for GatherMode
§impl Sync for GatherMode
§impl Unpin for GatherMode
§impl UnwindSafe for GatherMode
Blanket Implementations§
source§impl Serialize for GatherMode
source§impl Copy for GatherMode
source§impl Eq for GatherMode
source§impl StructuralEq for GatherMode
source§impl StructuralPartialEq for GatherMode
Auto Trait Implementations§
§impl RefUnwindSafe for GatherMode
§impl Send for GatherMode
§impl Sync for GatherMode
§impl Unpin for GatherMode
§impl UnwindSafe for GatherMode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.ImageClass.html b/doc/naga/enum.ImageClass.html
index 44c5bf6fa07e..d4f3adab5f09 100644
--- a/doc/naga/enum.ImageClass.html
+++ b/doc/naga/enum.ImageClass.html
@@ -1,5 +1,5 @@
ImageClass in naga - Rust
- Enum naga::ImageClass
source · pub enum ImageClass {
+ Enum naga::ImageClass
source · pub enum ImageClass {
Sampled {
kind: ScalarKind,
multi: bool,
@@ -20,20 +20,20 @@
§Depth
Depth comparison image.
§Storage
Storage image.
-
Implementations§
source§impl ImageClass
sourcepub const fn is_multisampled(self) -> bool
sourcepub const fn is_mipmapped(self) -> bool
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImageClass
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for ImageClass
source§fn clone(&self) -> ImageClass
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImageClass
source§impl<'de> Deserialize<'de> for ImageClass
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for ImageClass
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Implementations§
source§impl ImageClass
sourcepub const fn is_multisampled(self) -> bool
sourcepub const fn is_mipmapped(self) -> bool
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImageClass
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for ImageClass
source§fn clone(&self) -> ImageClass
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImageClass
source§impl<'de> Deserialize<'de> for ImageClass
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for ImageClass
source§impl Ord for ImageClass
source§impl Ord for ImageClass
source§fn cmp(&self, other: &ImageClass) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for ImageClass
source§impl PartialEq for ImageClass
source§fn eq(&self, other: &ImageClass) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ImageClass
source§impl PartialOrd for ImageClass
source§fn partial_cmp(&self, other: &ImageClass) -> Option<Ordering>
1.0.0 · source§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 moresource§impl Serialize for ImageClass
source§impl Copy for ImageClass
source§impl Eq for ImageClass
source§impl StructuralEq for ImageClass
source§impl StructuralPartialEq for ImageClass
Auto Trait Implementations§
§impl RefUnwindSafe for ImageClass
§impl Send for ImageClass
§impl Sync for ImageClass
§impl Unpin for ImageClass
§impl UnwindSafe for ImageClass
Blanket Implementations§
source§impl Serialize for ImageClass
source§impl Copy for ImageClass
source§impl Eq for ImageClass
source§impl StructuralEq for ImageClass
source§impl StructuralPartialEq for ImageClass
Auto Trait Implementations§
§impl RefUnwindSafe for ImageClass
§impl Send for ImageClass
§impl Sync for ImageClass
§impl Unpin for ImageClass
§impl UnwindSafe for ImageClass
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.ImageDimension.html b/doc/naga/enum.ImageDimension.html
index f3d1f2532469..ef187f462c11 100644
--- a/doc/naga/enum.ImageDimension.html
+++ b/doc/naga/enum.ImageDimension.html
@@ -1,5 +1,5 @@
ImageDimension in naga - Rust
- Enum naga::ImageDimension
source · pub enum ImageDimension {
+ Enum naga::ImageDimension
source · pub enum ImageDimension {
D1,
D2,
D3,
@@ -9,20 +9,20 @@
§D2
2D image
§D3
3D image
§Cube
Cube map
-
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImageDimension
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for ImageDimension
source§fn clone(&self) -> ImageDimension
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImageDimension
source§impl<'de> Deserialize<'de> for ImageDimension
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl From<ImageDimension> for Dim
source§fn from(dim: ImageDimension) -> Self
Converts to this type from the input type.source§impl Hash for ImageDimension
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImageDimension
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for ImageDimension
source§fn clone(&self) -> ImageDimension
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImageDimension
source§impl<'de> Deserialize<'de> for ImageDimension
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl From<ImageDimension> for Dim
source§fn from(dim: ImageDimension) -> Self
Converts to this type from the input type.source§impl Hash for ImageDimension
source§impl Ord for ImageDimension
source§impl Ord for ImageDimension
source§fn cmp(&self, other: &ImageDimension) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for ImageDimension
source§impl PartialEq for ImageDimension
source§fn eq(&self, other: &ImageDimension) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ImageDimension
source§impl PartialOrd for ImageDimension
source§fn partial_cmp(&self, other: &ImageDimension) -> Option<Ordering>
1.0.0 · source§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 moresource§impl Serialize for ImageDimension
source§impl Copy for ImageDimension
source§impl Eq for ImageDimension
source§impl StructuralEq for ImageDimension
source§impl StructuralPartialEq for ImageDimension
Auto Trait Implementations§
§impl RefUnwindSafe for ImageDimension
§impl Send for ImageDimension
§impl Sync for ImageDimension
§impl Unpin for ImageDimension
§impl UnwindSafe for ImageDimension
Blanket Implementations§
source§impl Serialize for ImageDimension
source§impl Copy for ImageDimension
source§impl Eq for ImageDimension
source§impl StructuralEq for ImageDimension
source§impl StructuralPartialEq for ImageDimension
Auto Trait Implementations§
§impl RefUnwindSafe for ImageDimension
§impl Send for ImageDimension
§impl Sync for ImageDimension
§impl Unpin for ImageDimension
§impl UnwindSafe for ImageDimension
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.ImageQuery.html b/doc/naga/enum.ImageQuery.html
index 5e7e403bfd8c..720275fe49d6 100644
--- a/doc/naga/enum.ImageQuery.html
+++ b/doc/naga/enum.ImageQuery.html
@@ -1,5 +1,5 @@
ImageQuery in naga - Rust
- Enum naga::ImageQuery
source · pub enum ImageQuery {
+ Enum naga::ImageQuery
source · pub enum ImageQuery {
Size {
level: Option<Handle<Expression>>,
},
@@ -16,13 +16,13 @@
§NumLevels
Get the number of mipmap levels, a u32
.
§NumLayers
Get the number of array layers, a u32
.
§NumSamples
Get the number of samples, a u32
.
-
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImageQuery
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for ImageQuery
source§fn clone(&self) -> ImageQuery
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImageQuery
source§impl<'de> Deserialize<'de> for ImageQuery
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for ImageQuery
source§fn eq(&self, other: &ImageQuery) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImageQuery
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for ImageQuery
source§fn clone(&self) -> ImageQuery
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImageQuery
source§impl<'de> Deserialize<'de> for ImageQuery
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for ImageQuery
source§fn eq(&self, other: &ImageQuery) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImageQuery
source§impl Copy for ImageQuery
source§impl StructuralPartialEq for ImageQuery
Auto Trait Implementations§
§impl RefUnwindSafe for ImageQuery
§impl Send for ImageQuery
§impl Sync for ImageQuery
§impl Unpin for ImageQuery
§impl UnwindSafe for ImageQuery
Blanket Implementations§
source§impl Serialize for ImageQuery
source§impl Copy for ImageQuery
source§impl StructuralPartialEq for ImageQuery
Auto Trait Implementations§
§impl RefUnwindSafe for ImageQuery
§impl Send for ImageQuery
§impl Sync for ImageQuery
§impl Unpin for ImageQuery
§impl UnwindSafe for ImageQuery
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/doc/naga/enum.Interpolation.html b/doc/naga/enum.Interpolation.html
index c92a223b9c83..6dfb6f56c43f 100644
--- a/doc/naga/enum.Interpolation.html
+++ b/doc/naga/enum.Interpolation.html
@@ -1,5 +1,5 @@
Interpolation in naga - Rust
- Enum naga::Interpolation
source · pub enum Interpolation {
+ Enum naga::Interpolation
source · pub enum Interpolation {
Perspective,
Linear,
Flat,
@@ -10,20 +10,20 @@
interpolation must be used.
Also known as “no_perspective” in glsl.
§Flat
Indicates that no interpolation will be performed.
-
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Interpolation
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for Interpolation
source§fn clone(&self) -> Interpolation
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Interpolation
source§impl<'de> Deserialize<'de> for Interpolation
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for Interpolation
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Interpolation
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for Interpolation
source§fn clone(&self) -> Interpolation
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Interpolation
source§impl<'de> Deserialize<'de> for Interpolation
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for Interpolation
source§impl Ord for Interpolation
source§impl Ord for Interpolation
source§fn cmp(&self, other: &Interpolation) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for Interpolation
source§impl PartialEq for Interpolation
source§fn eq(&self, other: &Interpolation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for Interpolation
source§impl PartialOrd for Interpolation
source§fn partial_cmp(&self, other: &Interpolation) -> Option<Ordering>
1.0.0 · source§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 moresource§impl Serialize for Interpolation
source§impl Copy for Interpolation
source§impl Eq for Interpolation
source§impl StructuralEq for Interpolation
source§impl StructuralPartialEq for Interpolation
Auto Trait Implementations§
§impl RefUnwindSafe for Interpolation
§impl Send for Interpolation
§impl Sync for Interpolation
§impl Unpin for Interpolation
§impl UnwindSafe for Interpolation
Blanket Implementations§
source§impl Serialize for Interpolation
source§impl Copy for Interpolation
source§impl Eq for Interpolation
source§impl StructuralEq for Interpolation
source§impl StructuralPartialEq for Interpolation
Auto Trait Implementations§
§impl RefUnwindSafe for Interpolation
§impl Send for Interpolation
§impl Sync for Interpolation
§impl Unpin for Interpolation
§impl UnwindSafe for Interpolation
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.Literal.html b/doc/naga/enum.Literal.html
index 5e4c92ca31a1..131b3acb7c21 100644
--- a/doc/naga/enum.Literal.html
+++ b/doc/naga/enum.Literal.html
@@ -1,5 +1,5 @@
Literal in naga - Rust
- pub enum Literal {
+ pub enum Literal {
F64(f64),
F32(f32),
U32(u32),
@@ -11,15 +11,15 @@
AbstractFloat(f64),
}
Variants§
§F64(f64)
May not be NaN or infinity.
§F32(f32)
May not be NaN or infinity.
-§U32(u32)
§I32(i32)
§U64(u64)
§I64(i64)
§Bool(bool)
§AbstractInt(i64)
§AbstractFloat(f64)
Implementations§
source§impl Literal
sourcepub const fn new(value: u8, scalar: Scalar) -> Option<Self>
sourcepub const fn zero(scalar: Scalar) -> Option<Self>
sourcepub const fn one(scalar: Scalar) -> Option<Self>
sourcepub const fn width(&self) -> Bytes
sourcepub const fn scalar(&self) -> Scalar
sourcepub const fn scalar_kind(&self) -> ScalarKind
sourcepub const fn ty_inner(&self) -> TypeInner
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Literal
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl<'de> Deserialize<'de> for Literal
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Literal> for HashableLiteral
source§impl PartialEq for Literal
Implementations§
source§impl Literal
sourcepub const fn new(value: u8, scalar: Scalar) -> Option<Self>
sourcepub const fn zero(scalar: Scalar) -> Option<Self>
sourcepub const fn one(scalar: Scalar) -> Option<Self>
sourcepub const fn width(&self) -> Bytes
sourcepub const fn scalar(&self) -> Scalar
sourcepub const fn scalar_kind(&self) -> ScalarKind
sourcepub const fn ty_inner(&self) -> TypeInner
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Literal
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl<'de> Deserialize<'de> for Literal
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Literal> for HashableLiteral
source§impl PartialEq for Literal
source§impl PartialOrd for Literal
source§impl PartialOrd for Literal
1.0.0 · source§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 moresource§impl Copy for Literal
source§impl StructuralPartialEq for Literal
Auto Trait Implementations§
§impl RefUnwindSafe for Literal
§impl Send for Literal
§impl Sync for Literal
§impl Unpin for Literal
§impl UnwindSafe for Literal
Blanket Implementations§
source§impl Copy for Literal
source§impl StructuralPartialEq for Literal
Auto Trait Implementations§
§impl RefUnwindSafe for Literal
§impl Send for Literal
§impl Sync for Literal
§impl Unpin for Literal
§impl UnwindSafe for Literal
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/doc/naga/enum.MathFunction.html b/doc/naga/enum.MathFunction.html
index 9a172d81e3aa..fab4dcd18140 100644
--- a/doc/naga/enum.MathFunction.html
+++ b/doc/naga/enum.MathFunction.html
@@ -1,5 +1,5 @@
MathFunction in naga - Rust
- Enum naga::MathFunction
source · pub enum MathFunction {
+ Enum naga::MathFunction
source · pub enum MathFunction {
Show 74 variants
Abs,
Min,
Max,
@@ -75,20 +75,20 @@
Unpack4xI8,
Unpack4xU8,
}
Expand description
Built-in shader function for math.
-Variants§
§Abs
§Min
§Max
§Clamp
§Saturate
§Cos
§Cosh
§Sin
§Sinh
§Tan
§Tanh
§Acos
§Asin
§Atan
§Atan2
§Asinh
§Acosh
§Atanh
§Radians
§Degrees
§Ceil
§Floor
§Round
§Fract
§Trunc
§Modf
§Frexp
§Ldexp
§Exp
§Exp2
§Log
§Log2
§Pow
§Dot
§Outer
§Cross
§Distance
§Length
§Normalize
§FaceForward
§Reflect
§Refract
§Sign
§Fma
§Mix
§Step
§SmoothStep
§Sqrt
§InverseSqrt
§Inverse
§Transpose
§Determinant
§CountTrailingZeros
§CountLeadingZeros
§CountOneBits
§ReverseBits
§ExtractBits
§InsertBits
§FirstTrailingBit
§FirstLeadingBit
§Pack4x8snorm
§Pack4x8unorm
§Pack2x16snorm
§Pack2x16unorm
§Pack2x16float
§Pack4xI8
§Pack4xU8
§Unpack4x8snorm
§Unpack4x8unorm
§Unpack2x16snorm
§Unpack2x16unorm
§Unpack2x16float
§Unpack4xI8
§Unpack4xU8
Implementations§
source§impl MathFunction
sourcepub const fn argument_count(&self) -> usize
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for MathFunction
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for MathFunction
source§fn clone(&self) -> MathFunction
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for MathFunction
source§impl<'de> Deserialize<'de> for MathFunction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for MathFunction
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Variants§
§Abs
§Min
§Max
§Clamp
§Saturate
§Cos
§Cosh
§Sin
§Sinh
§Tan
§Tanh
§Acos
§Asin
§Atan
§Atan2
§Asinh
§Acosh
§Atanh
§Radians
§Degrees
§Ceil
§Floor
§Round
§Fract
§Trunc
§Modf
§Frexp
§Ldexp
§Exp
§Exp2
§Log
§Log2
§Pow
§Dot
§Outer
§Cross
§Distance
§Length
§Normalize
§FaceForward
§Reflect
§Refract
§Sign
§Fma
§Mix
§Step
§SmoothStep
§Sqrt
§InverseSqrt
§Inverse
§Transpose
§Determinant
§CountTrailingZeros
§CountLeadingZeros
§CountOneBits
§ReverseBits
§ExtractBits
§InsertBits
§FirstTrailingBit
§FirstLeadingBit
§Pack4x8snorm
§Pack4x8unorm
§Pack2x16snorm
§Pack2x16unorm
§Pack2x16float
§Pack4xI8
§Pack4xU8
§Unpack4x8snorm
§Unpack4x8unorm
§Unpack2x16snorm
§Unpack2x16unorm
§Unpack2x16float
§Unpack4xI8
§Unpack4xU8
Implementations§
source§impl MathFunction
sourcepub const fn argument_count(&self) -> usize
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for MathFunction
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for MathFunction
source§fn clone(&self) -> MathFunction
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for MathFunction
source§impl<'de> Deserialize<'de> for MathFunction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for MathFunction
source§impl Ord for MathFunction
source§impl Ord for MathFunction
source§fn cmp(&self, other: &MathFunction) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for MathFunction
source§impl PartialEq for MathFunction
source§fn eq(&self, other: &MathFunction) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for MathFunction
source§impl PartialOrd for MathFunction
source§fn partial_cmp(&self, other: &MathFunction) -> Option<Ordering>
1.0.0 · source§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 moresource§impl Serialize for MathFunction
source§impl Copy for MathFunction
source§impl Eq for MathFunction
source§impl StructuralEq for MathFunction
source§impl StructuralPartialEq for MathFunction
Auto Trait Implementations§
§impl RefUnwindSafe for MathFunction
§impl Send for MathFunction
§impl Sync for MathFunction
§impl Unpin for MathFunction
§impl UnwindSafe for MathFunction
Blanket Implementations§
source§impl Serialize for MathFunction
source§impl Copy for MathFunction
source§impl Eq for MathFunction
source§impl StructuralEq for MathFunction
source§impl StructuralPartialEq for MathFunction
Auto Trait Implementations§
§impl RefUnwindSafe for MathFunction
§impl Send for MathFunction
§impl Sync for MathFunction
§impl Unpin for MathFunction
§impl UnwindSafe for MathFunction
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.PredeclaredType.html b/doc/naga/enum.PredeclaredType.html
index 11e83e63c597..ad0cec34901e 100644
--- a/doc/naga/enum.PredeclaredType.html
+++ b/doc/naga/enum.PredeclaredType.html
@@ -1,5 +1,5 @@
PredeclaredType in naga - Rust
- Enum naga::PredeclaredType
source · pub enum PredeclaredType {
+ Enum naga::PredeclaredType
source · pub enum PredeclaredType {
AtomicCompareExchangeWeakResult(Scalar),
ModfResult {
size: Option<VectorSize>,
@@ -12,15 +12,15 @@
}
Expand description
Return types predeclared for the frexp, modf, and atomicCompareExchangeWeak built-in functions.
These cannot be spelled in WGSL source.
Stored in SpecialTypes::predeclared_types
and created by Module::generate_predeclared_type
.
-Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for PredeclaredType
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for PredeclaredType
source§fn clone(&self) -> PredeclaredType
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for PredeclaredType
source§impl<'de> Deserialize<'de> for PredeclaredType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for PredeclaredType
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for PredeclaredType
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for PredeclaredType
source§fn clone(&self) -> PredeclaredType
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for PredeclaredType
source§impl<'de> Deserialize<'de> for PredeclaredType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for PredeclaredType
source§impl PartialEq for PredeclaredType
source§impl PartialEq for PredeclaredType
source§fn eq(&self, other: &PredeclaredType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PredeclaredType
source§impl Eq for PredeclaredType
source§impl StructuralEq for PredeclaredType
source§impl StructuralPartialEq for PredeclaredType
Auto Trait Implementations§
§impl RefUnwindSafe for PredeclaredType
§impl Send for PredeclaredType
§impl Sync for PredeclaredType
§impl Unpin for PredeclaredType
§impl UnwindSafe for PredeclaredType
Blanket Implementations§
source§impl Serialize for PredeclaredType
source§impl Eq for PredeclaredType
source§impl StructuralEq for PredeclaredType
source§impl StructuralPartialEq for PredeclaredType
Auto Trait Implementations§
§impl RefUnwindSafe for PredeclaredType
§impl Send for PredeclaredType
§impl Sync for PredeclaredType
§impl Unpin for PredeclaredType
§impl UnwindSafe for PredeclaredType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Equivalent<K> for Qwhere
diff --git a/doc/naga/enum.RayQueryFunction.html b/doc/naga/enum.RayQueryFunction.html
index b1131464e736..641d3454c0fa 100644
--- a/doc/naga/enum.RayQueryFunction.html
+++ b/doc/naga/enum.RayQueryFunction.html
@@ -1,5 +1,5 @@
RayQueryFunction in naga - Rust
- Enum naga::RayQueryFunction
source · pub enum RayQueryFunction {
+ Enum naga::RayQueryFunction
source · pub enum RayQueryFunction {
Initialize {
acceleration_structure: Handle<Expression>,
descriptor: Handle<Expression>,
@@ -20,10 +20,10 @@
After executing this statement, the result
expression is a
Bool
scalar indicating whether there are more intersection
candidates to consider.
-
§Terminate
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for RayQueryFunction
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for RayQueryFunction
source§fn clone(&self) -> RayQueryFunction
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for RayQueryFunction
source§impl<'de> Deserialize<'de> for RayQueryFunction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Serialize for RayQueryFunction
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for RayQueryFunction
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for RayQueryFunction
source§fn clone(&self) -> RayQueryFunction
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for RayQueryFunction
source§impl<'de> Deserialize<'de> for RayQueryFunction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for RayQueryFunction
§impl Send for RayQueryFunction
§impl Sync for RayQueryFunction
§impl Unpin for RayQueryFunction
§impl UnwindSafe for RayQueryFunction
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/naga/enum.RelationalFunction.html b/doc/naga/enum.RelationalFunction.html
index b865ccfea243..e387f4da3069 100644
--- a/doc/naga/enum.RelationalFunction.html
+++ b/doc/naga/enum.RelationalFunction.html
@@ -1,24 +1,24 @@
RelationalFunction in naga - Rust
- Enum naga::RelationalFunction
source · pub enum RelationalFunction {
+ Enum naga::RelationalFunction
source · pub enum RelationalFunction {
All,
Any,
IsNan,
IsInf,
}
Expand description
Built-in shader function for testing relation between values.
-Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for RelationalFunction
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for RelationalFunction
source§fn clone(&self) -> RelationalFunction
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for RelationalFunction
source§impl<'de> Deserialize<'de> for RelationalFunction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for RelationalFunction
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for RelationalFunction
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for RelationalFunction
source§fn clone(&self) -> RelationalFunction
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for RelationalFunction
source§impl<'de> Deserialize<'de> for RelationalFunction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for RelationalFunction
source§impl Ord for RelationalFunction
source§impl Ord for RelationalFunction
source§fn cmp(&self, other: &RelationalFunction) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for RelationalFunction
source§impl PartialEq for RelationalFunction
source§fn eq(&self, other: &RelationalFunction) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for RelationalFunction
source§impl PartialOrd for RelationalFunction
source§fn partial_cmp(&self, other: &RelationalFunction) -> Option<Ordering>
1.0.0 · source§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 moresource§impl Serialize for RelationalFunction
source§impl Copy for RelationalFunction
source§impl Eq for RelationalFunction
source§impl StructuralEq for RelationalFunction
source§impl StructuralPartialEq for RelationalFunction
Auto Trait Implementations§
§impl RefUnwindSafe for RelationalFunction
§impl Send for RelationalFunction
§impl Sync for RelationalFunction
§impl Unpin for RelationalFunction
§impl UnwindSafe for RelationalFunction
Blanket Implementations§
source§impl Serialize for RelationalFunction
source§impl Copy for RelationalFunction
source§impl Eq for RelationalFunction
source§impl StructuralEq for RelationalFunction
source§impl StructuralPartialEq for RelationalFunction
Auto Trait Implementations§
§impl RefUnwindSafe for RelationalFunction
§impl Send for RelationalFunction
§impl Sync for RelationalFunction
§impl Unpin for RelationalFunction
§impl UnwindSafe for RelationalFunction
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.SampleLevel.html b/doc/naga/enum.SampleLevel.html
index 025b12ec14fa..f693cc0b4dce 100644
--- a/doc/naga/enum.SampleLevel.html
+++ b/doc/naga/enum.SampleLevel.html
@@ -1,5 +1,5 @@
SampleLevel in naga - Rust
- Enum naga::SampleLevel
source · pub enum SampleLevel {
+ Enum naga::SampleLevel
source · pub enum SampleLevel {
Auto,
Zero,
Exact(Handle<Expression>),
@@ -11,13 +11,13 @@
}
Expand description
Sampling modifier to control the level of detail.
All Handle<Expression>
values here refer to an expression in
Function::expressions
.
-Variants§
Implementations§
source§impl SampleLevel
sourcepub const fn implicit_derivatives(&self) -> bool
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for SampleLevel
impl<T> Any for Twhere
diff --git a/doc/naga/enum.ArraySize.html b/doc/naga/enum.ArraySize.html
index 0b535166d661..41f4fc941dcf 100644
--- a/doc/naga/enum.ArraySize.html
+++ b/doc/naga/enum.ArraySize.html
@@ -1,5 +1,5 @@
ArraySize in naga - Rust
- #[repr(u8)]pub enum ArraySize {
+ #[repr(u8)]pub enum ArraySize {
Constant(NonZeroU32),
Dynamic,
}
Expand description
Size of an array.
@@ -8,20 +8,20 @@
Implementations§
source§impl ArraySize
sourcepub const fn to_indexable_length(
self,
_module: &Module
-) -> Result<IndexableLength, IndexableLengthError>
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ArraySize
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl<'de> Deserialize<'de> for ArraySize
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for ArraySize
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ArraySize
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl<'de> Deserialize<'de> for ArraySize
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Ord for ArraySize
source§impl PartialEq for ArraySize
source§impl PartialOrd for ArraySize
source§impl PartialOrd for ArraySize
1.0.0 · source§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 moresource§impl Copy for ArraySize
source§impl Eq for ArraySize
source§impl StructuralEq for ArraySize
source§impl StructuralPartialEq for ArraySize
Auto Trait Implementations§
§impl RefUnwindSafe for ArraySize
§impl Send for ArraySize
§impl Sync for ArraySize
§impl Unpin for ArraySize
§impl UnwindSafe for ArraySize
Blanket Implementations§
source§impl Copy for ArraySize
source§impl Eq for ArraySize
source§impl StructuralEq for ArraySize
source§impl StructuralPartialEq for ArraySize
Auto Trait Implementations§
§impl RefUnwindSafe for ArraySize
§impl Send for ArraySize
§impl Sync for ArraySize
§impl Unpin for ArraySize
§impl UnwindSafe for ArraySize
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.AtomicFunction.html b/doc/naga/enum.AtomicFunction.html
index 52cd80f50e01..b63592efe63e 100644
--- a/doc/naga/enum.AtomicFunction.html
+++ b/doc/naga/enum.AtomicFunction.html
@@ -1,5 +1,5 @@
AtomicFunction in naga - Rust
- Enum naga::AtomicFunction
source · pub enum AtomicFunction {
+ Enum naga::AtomicFunction
source · pub enum AtomicFunction {
Add,
Subtract,
And,
@@ -15,20 +15,20 @@
Expression::Load
and Statement::Store
.
All Handle<Expression>
values here refer to an expression in
Function::expressions
.
-
Variants§
§Add
§Subtract
§And
§ExclusiveOr
§InclusiveOr
§Min
§Max
§Exchange
Fields
§compare: Option<Handle<Expression>>
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for AtomicFunction
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for AtomicFunction
source§fn clone(&self) -> AtomicFunction
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for AtomicFunction
source§impl<'de> Deserialize<'de> for AtomicFunction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for AtomicFunction
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Variants§
§Add
§Subtract
§And
§ExclusiveOr
§InclusiveOr
§Min
§Max
§Exchange
Fields
§compare: Option<Handle<Expression>>
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for AtomicFunction
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for AtomicFunction
source§fn clone(&self) -> AtomicFunction
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for AtomicFunction
source§impl<'de> Deserialize<'de> for AtomicFunction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for AtomicFunction
source§impl Ord for AtomicFunction
source§impl Ord for AtomicFunction
source§fn cmp(&self, other: &AtomicFunction) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for AtomicFunction
source§impl PartialEq for AtomicFunction
source§fn eq(&self, other: &AtomicFunction) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for AtomicFunction
source§impl PartialOrd for AtomicFunction
source§fn partial_cmp(&self, other: &AtomicFunction) -> Option<Ordering>
1.0.0 · source§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 moresource§impl Serialize for AtomicFunction
source§impl Copy for AtomicFunction
source§impl Eq for AtomicFunction
source§impl StructuralEq for AtomicFunction
source§impl StructuralPartialEq for AtomicFunction
Auto Trait Implementations§
§impl RefUnwindSafe for AtomicFunction
§impl Send for AtomicFunction
§impl Sync for AtomicFunction
§impl Unpin for AtomicFunction
§impl UnwindSafe for AtomicFunction
Blanket Implementations§
source§impl Serialize for AtomicFunction
source§impl Copy for AtomicFunction
source§impl Eq for AtomicFunction
source§impl StructuralEq for AtomicFunction
source§impl StructuralPartialEq for AtomicFunction
Auto Trait Implementations§
§impl RefUnwindSafe for AtomicFunction
§impl Send for AtomicFunction
§impl Sync for AtomicFunction
§impl Unpin for AtomicFunction
§impl UnwindSafe for AtomicFunction
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.BinaryOperator.html b/doc/naga/enum.BinaryOperator.html
index 095f13e9c918..dd38771dc6c1 100644
--- a/doc/naga/enum.BinaryOperator.html
+++ b/doc/naga/enum.BinaryOperator.html
@@ -1,5 +1,5 @@
BinaryOperator in naga - Rust
- Enum naga::BinaryOperator
source · pub enum BinaryOperator {
+ Enum naga::BinaryOperator
source · pub enum BinaryOperator {
Show 18 variants
Add,
Subtract,
Multiply,
@@ -54,20 +54,20 @@ Arithmetic type
mixed-type use.
Variants§
§Add
§Subtract
§Multiply
§Divide
§Modulo
Equivalent of the WGSL’s %
operator or SPIR-V’s OpFRem
§Equal
§NotEqual
§Less
§LessEqual
§Greater
§GreaterEqual
§And
§ExclusiveOr
§InclusiveOr
§LogicalAnd
§LogicalOr
§ShiftLeft
§ShiftRight
Right shift carries the sign of signed integers only.
-Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for BinaryOperator
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for BinaryOperator
source§fn clone(&self) -> BinaryOperator
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for BinaryOperator
source§impl<'de> Deserialize<'de> for BinaryOperator
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for BinaryOperator
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for BinaryOperator
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for BinaryOperator
source§fn clone(&self) -> BinaryOperator
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for BinaryOperator
source§impl<'de> Deserialize<'de> for BinaryOperator
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for BinaryOperator
source§impl Ord for BinaryOperator
source§impl Ord for BinaryOperator
source§fn cmp(&self, other: &BinaryOperator) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for BinaryOperator
source§impl PartialEq for BinaryOperator
source§fn eq(&self, other: &BinaryOperator) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for BinaryOperator
source§impl PartialOrd for BinaryOperator
source§fn partial_cmp(&self, other: &BinaryOperator) -> Option<Ordering>
1.0.0 · source§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 moresource§impl Serialize for BinaryOperator
source§impl Copy for BinaryOperator
source§impl Eq for BinaryOperator
source§impl StructuralEq for BinaryOperator
source§impl StructuralPartialEq for BinaryOperator
Auto Trait Implementations§
§impl RefUnwindSafe for BinaryOperator
§impl Send for BinaryOperator
§impl Sync for BinaryOperator
§impl Unpin for BinaryOperator
§impl UnwindSafe for BinaryOperator
Blanket Implementations§
source§impl Serialize for BinaryOperator
source§impl Copy for BinaryOperator
source§impl Eq for BinaryOperator
source§impl StructuralEq for BinaryOperator
source§impl StructuralPartialEq for BinaryOperator
Auto Trait Implementations§
§impl RefUnwindSafe for BinaryOperator
§impl Send for BinaryOperator
§impl Sync for BinaryOperator
§impl Unpin for BinaryOperator
§impl UnwindSafe for BinaryOperator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.Binding.html b/doc/naga/enum.Binding.html
index 78fc2e9e83c7..bf6659bc3662 100644
--- a/doc/naga/enum.Binding.html
+++ b/doc/naga/enum.Binding.html
@@ -1,5 +1,5 @@
Binding in naga - Rust
- pub enum Binding {
+
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Binding
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl<'de> Deserialize<'de> for Binding
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Binding
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl<'de> Deserialize<'de> for Binding
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for Binding
source§impl Eq for Binding
source§impl StructuralEq for Binding
source§impl StructuralPartialEq for Binding
Auto Trait Implementations§
§impl RefUnwindSafe for Binding
§impl Send for Binding
§impl Sync for Binding
§impl Unpin for Binding
§impl UnwindSafe for Binding
Blanket Implementations§
source§impl Eq for Binding
source§impl StructuralEq for Binding
source§impl StructuralPartialEq for Binding
Auto Trait Implementations§
§impl RefUnwindSafe for Binding
§impl Send for Binding
§impl Sync for Binding
§impl Unpin for Binding
§impl UnwindSafe for Binding
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Equivalent<K> for Qwhere
diff --git a/doc/naga/enum.BuiltIn.html b/doc/naga/enum.BuiltIn.html
index d745dac1c9f2..3f822568a841 100644
--- a/doc/naga/enum.BuiltIn.html
+++ b/doc/naga/enum.BuiltIn.html
@@ -1,6 +1,6 @@
-BuiltIn in naga - Rust
- pub enum BuiltIn {
-Show 25 variants
Position {
+BuiltIn in naga - Rust
+ pub enum BuiltIn {
+Show 26 variants
Position {
invariant: bool,
},
ViewIndex,
@@ -11,6 +11,7 @@
InstanceIndex,
PointSize,
VertexIndex,
+ DrawID,
FragDepth,
PointCoord,
FrontFacing,
@@ -28,7 +29,7 @@
SubgroupSize,
SubgroupInvocationId,
}
Expand description
Built-in inputs and outputs.
-Variants§
§Position
§ViewIndex
§BaseInstance
§BaseVertex
§ClipDistance
§CullDistance
§InstanceIndex
§PointSize
§VertexIndex
§FragDepth
§PointCoord
§FrontFacing
§PrimitiveIndex
§SampleIndex
§SampleMask
§GlobalInvocationId
§LocalInvocationId
§LocalInvocationIndex
§WorkGroupId
§WorkGroupSize
§NumWorkGroups
§NumSubgroups
§SubgroupId
§SubgroupSize
§SubgroupInvocationId
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for BuiltIn
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+Variants§
§Position
§ViewIndex
§BaseInstance
§BaseVertex
§ClipDistance
§CullDistance
§InstanceIndex
§PointSize
§VertexIndex
§DrawID
§FragDepth
§PointCoord
§FrontFacing
§PrimitiveIndex
§SampleIndex
§SampleMask
§GlobalInvocationId
§LocalInvocationId
§LocalInvocationIndex
§WorkGroupId
§WorkGroupSize
§NumWorkGroups
§NumSubgroups
§SubgroupId
§SubgroupSize
§SubgroupInvocationId
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for BuiltIn
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl<'de> Deserialize<'de> for BuiltIn
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for BuiltIn
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
diff --git a/doc/naga/enum.CollectiveOperation.html b/doc/naga/enum.CollectiveOperation.html
index b097e84ecbbf..e5695e0e719a 100644
--- a/doc/naga/enum.CollectiveOperation.html
+++ b/doc/naga/enum.CollectiveOperation.html
@@ -1,22 +1,22 @@
CollectiveOperation in naga - Rust
- Enum naga::CollectiveOperation
source · pub enum CollectiveOperation {
+ Enum naga::CollectiveOperation
source · pub enum CollectiveOperation {
Reduce = 0,
InclusiveScan = 1,
ExclusiveScan = 2,
-}
Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for CollectiveOperation
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for CollectiveOperation
source§fn clone(&self) -> CollectiveOperation
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for CollectiveOperation
source§impl<'de> Deserialize<'de> for CollectiveOperation
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for CollectiveOperation
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+}Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for CollectiveOperation
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for CollectiveOperation
source§fn clone(&self) -> CollectiveOperation
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for CollectiveOperation
source§impl<'de> Deserialize<'de> for CollectiveOperation
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for CollectiveOperation
source§impl Ord for CollectiveOperation
source§impl Ord for CollectiveOperation
source§fn cmp(&self, other: &CollectiveOperation) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for CollectiveOperation
source§impl PartialEq for CollectiveOperation
source§fn eq(&self, other: &CollectiveOperation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CollectiveOperation
source§impl PartialOrd for CollectiveOperation
source§fn partial_cmp(&self, other: &CollectiveOperation) -> Option<Ordering>
1.0.0 · source§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 moresource§impl Serialize for CollectiveOperation
source§impl Copy for CollectiveOperation
source§impl Eq for CollectiveOperation
source§impl StructuralEq for CollectiveOperation
source§impl StructuralPartialEq for CollectiveOperation
Auto Trait Implementations§
§impl RefUnwindSafe for CollectiveOperation
§impl Send for CollectiveOperation
§impl Sync for CollectiveOperation
§impl Unpin for CollectiveOperation
§impl UnwindSafe for CollectiveOperation
Blanket Implementations§
source§impl Serialize for CollectiveOperation
source§impl Copy for CollectiveOperation
source§impl Eq for CollectiveOperation
source§impl StructuralEq for CollectiveOperation
source§impl StructuralPartialEq for CollectiveOperation
Auto Trait Implementations§
§impl RefUnwindSafe for CollectiveOperation
§impl Send for CollectiveOperation
§impl Sync for CollectiveOperation
§impl Unpin for CollectiveOperation
§impl UnwindSafe for CollectiveOperation
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.DerivativeAxis.html b/doc/naga/enum.DerivativeAxis.html
index 77ed38f80601..3d92a7b3fb1f 100644
--- a/doc/naga/enum.DerivativeAxis.html
+++ b/doc/naga/enum.DerivativeAxis.html
@@ -1,23 +1,23 @@
DerivativeAxis in naga - Rust
- Enum naga::DerivativeAxis
source · pub enum DerivativeAxis {
+ Enum naga::DerivativeAxis
source · pub enum DerivativeAxis {
X,
Y,
Width,
}
Expand description
Axis on which to compute a derivative.
-Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for DerivativeAxis
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for DerivativeAxis
source§fn clone(&self) -> DerivativeAxis
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for DerivativeAxis
source§impl<'de> Deserialize<'de> for DerivativeAxis
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for DerivativeAxis
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for DerivativeAxis
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for DerivativeAxis
source§fn clone(&self) -> DerivativeAxis
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for DerivativeAxis
source§impl<'de> Deserialize<'de> for DerivativeAxis
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for DerivativeAxis
source§impl Ord for DerivativeAxis
source§impl Ord for DerivativeAxis
source§fn cmp(&self, other: &DerivativeAxis) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for DerivativeAxis
source§impl PartialEq for DerivativeAxis
source§fn eq(&self, other: &DerivativeAxis) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DerivativeAxis
source§impl PartialOrd for DerivativeAxis
source§fn partial_cmp(&self, other: &DerivativeAxis) -> Option<Ordering>
1.0.0 · source§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 moresource§impl Serialize for DerivativeAxis
source§impl Copy for DerivativeAxis
source§impl Eq for DerivativeAxis
source§impl StructuralEq for DerivativeAxis
source§impl StructuralPartialEq for DerivativeAxis
Auto Trait Implementations§
§impl RefUnwindSafe for DerivativeAxis
§impl Send for DerivativeAxis
§impl Sync for DerivativeAxis
§impl Unpin for DerivativeAxis
§impl UnwindSafe for DerivativeAxis
Blanket Implementations§
source§impl Serialize for DerivativeAxis
source§impl Copy for DerivativeAxis
source§impl Eq for DerivativeAxis
source§impl StructuralEq for DerivativeAxis
source§impl StructuralPartialEq for DerivativeAxis
Auto Trait Implementations§
§impl RefUnwindSafe for DerivativeAxis
§impl Send for DerivativeAxis
§impl Sync for DerivativeAxis
§impl Unpin for DerivativeAxis
§impl UnwindSafe for DerivativeAxis
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.DerivativeControl.html b/doc/naga/enum.DerivativeControl.html
index bec9e7ca5f89..a085d395d170 100644
--- a/doc/naga/enum.DerivativeControl.html
+++ b/doc/naga/enum.DerivativeControl.html
@@ -1,23 +1,23 @@
DerivativeControl in naga - Rust
- Enum naga::DerivativeControl
source · pub enum DerivativeControl {
+ Enum naga::DerivativeControl
source · pub enum DerivativeControl {
Coarse,
Fine,
None,
}
Expand description
Hint at which precision to compute a derivative.
-Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for DerivativeControl
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for DerivativeControl
source§fn clone(&self) -> DerivativeControl
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for DerivativeControl
source§impl<'de> Deserialize<'de> for DerivativeControl
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for DerivativeControl
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for DerivativeControl
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for DerivativeControl
source§fn clone(&self) -> DerivativeControl
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for DerivativeControl
source§impl<'de> Deserialize<'de> for DerivativeControl
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for DerivativeControl
source§impl Ord for DerivativeControl
source§impl Ord for DerivativeControl
source§fn cmp(&self, other: &DerivativeControl) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for DerivativeControl
source§impl PartialEq for DerivativeControl
source§fn eq(&self, other: &DerivativeControl) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DerivativeControl
source§impl PartialOrd for DerivativeControl
source§fn partial_cmp(&self, other: &DerivativeControl) -> Option<Ordering>
1.0.0 · source§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 moresource§impl Serialize for DerivativeControl
source§impl Copy for DerivativeControl
source§impl Eq for DerivativeControl
source§impl StructuralEq for DerivativeControl
source§impl StructuralPartialEq for DerivativeControl
Auto Trait Implementations§
§impl RefUnwindSafe for DerivativeControl
§impl Send for DerivativeControl
§impl Sync for DerivativeControl
§impl Unpin for DerivativeControl
§impl UnwindSafe for DerivativeControl
Blanket Implementations§
source§impl Serialize for DerivativeControl
source§impl Copy for DerivativeControl
source§impl Eq for DerivativeControl
source§impl StructuralEq for DerivativeControl
source§impl StructuralPartialEq for DerivativeControl
Auto Trait Implementations§
§impl RefUnwindSafe for DerivativeControl
§impl Send for DerivativeControl
§impl Sync for DerivativeControl
§impl Unpin for DerivativeControl
§impl UnwindSafe for DerivativeControl
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.Expression.html b/doc/naga/enum.Expression.html
index f898a9288dfb..40ddfd304fda 100644
--- a/doc/naga/enum.Expression.html
+++ b/doc/naga/enum.Expression.html
@@ -1,5 +1,5 @@
Expression in naga - Rust
- Enum naga::Expression
source · pub enum Expression {
+ Enum naga::Expression
source · pub enum Expression {
Show 31 variants
Literal(Literal),
Constant(Handle<Constant>),
Override(Handle<Override>),
@@ -253,13 +253,13 @@
Note, this does not check the type of the given expression. It’s up to
the caller to establish that the Access
expression is well-typed
through other means, like ResolveContext
.
-
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Expression
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for Expression
source§fn clone(&self) -> Expression
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Expression
source§impl<'de> Deserialize<'de> for Expression
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for Expression
source§fn eq(&self, other: &Expression) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Expression
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for Expression
source§fn clone(&self) -> Expression
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Expression
source§impl<'de> Deserialize<'de> for Expression
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for Expression
source§fn eq(&self, other: &Expression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Expression
source§impl StructuralPartialEq for Expression
Auto Trait Implementations§
§impl RefUnwindSafe for Expression
§impl Send for Expression
§impl Sync for Expression
§impl Unpin for Expression
§impl UnwindSafe for Expression
Blanket Implementations§
source§impl Serialize for Expression
source§impl StructuralPartialEq for Expression
Auto Trait Implementations§
§impl RefUnwindSafe for Expression
§impl Send for Expression
§impl Sync for Expression
§impl Unpin for Expression
§impl UnwindSafe for Expression
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/doc/naga/enum.GatherMode.html b/doc/naga/enum.GatherMode.html
index 67f9247ebf98..0e4df661012b 100644
--- a/doc/naga/enum.GatherMode.html
+++ b/doc/naga/enum.GatherMode.html
@@ -1,5 +1,5 @@
GatherMode in naga - Rust
- Enum naga::GatherMode
source · pub enum GatherMode {
+ Enum naga::GatherMode
source · pub enum GatherMode {
BroadcastFirst,
Broadcast(Handle<Expression>),
Shuffle(Handle<Expression>),
@@ -15,20 +15,20 @@
§ShuffleDown(Handle<Expression>)
Each gathers from their lane plus the shift given by the expression
§ShuffleUp(Handle<Expression>)
Each gathers from their lane minus the shift given by the expression
§ShuffleXor(Handle<Expression>)
Each gathers from their lane xored with the given by the expression
-
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for GatherMode
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for GatherMode
source§fn clone(&self) -> GatherMode
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for GatherMode
source§impl<'de> Deserialize<'de> for GatherMode
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for GatherMode
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for GatherMode
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for GatherMode
source§fn clone(&self) -> GatherMode
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for GatherMode
source§impl<'de> Deserialize<'de> for GatherMode
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for GatherMode
source§impl Ord for GatherMode
source§impl Ord for GatherMode
source§fn cmp(&self, other: &GatherMode) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for GatherMode
source§impl PartialEq for GatherMode
source§fn eq(&self, other: &GatherMode) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for GatherMode
source§impl PartialOrd for GatherMode
source§fn partial_cmp(&self, other: &GatherMode) -> Option<Ordering>
1.0.0 · source§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 moresource§impl Serialize for GatherMode
source§impl Copy for GatherMode
source§impl Eq for GatherMode
source§impl StructuralEq for GatherMode
source§impl StructuralPartialEq for GatherMode
Auto Trait Implementations§
§impl RefUnwindSafe for GatherMode
§impl Send for GatherMode
§impl Sync for GatherMode
§impl Unpin for GatherMode
§impl UnwindSafe for GatherMode
Blanket Implementations§
source§impl Serialize for GatherMode
source§impl Copy for GatherMode
source§impl Eq for GatherMode
source§impl StructuralEq for GatherMode
source§impl StructuralPartialEq for GatherMode
Auto Trait Implementations§
§impl RefUnwindSafe for GatherMode
§impl Send for GatherMode
§impl Sync for GatherMode
§impl Unpin for GatherMode
§impl UnwindSafe for GatherMode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.ImageClass.html b/doc/naga/enum.ImageClass.html
index 44c5bf6fa07e..d4f3adab5f09 100644
--- a/doc/naga/enum.ImageClass.html
+++ b/doc/naga/enum.ImageClass.html
@@ -1,5 +1,5 @@
ImageClass in naga - Rust
- Enum naga::ImageClass
source · pub enum ImageClass {
+ Enum naga::ImageClass
source · pub enum ImageClass {
Sampled {
kind: ScalarKind,
multi: bool,
@@ -20,20 +20,20 @@
§Depth
Depth comparison image.
§Storage
Storage image.
-
Implementations§
source§impl ImageClass
sourcepub const fn is_multisampled(self) -> bool
sourcepub const fn is_mipmapped(self) -> bool
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImageClass
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for ImageClass
source§fn clone(&self) -> ImageClass
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImageClass
source§impl<'de> Deserialize<'de> for ImageClass
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for ImageClass
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Implementations§
source§impl ImageClass
sourcepub const fn is_multisampled(self) -> bool
sourcepub const fn is_mipmapped(self) -> bool
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImageClass
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for ImageClass
source§fn clone(&self) -> ImageClass
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImageClass
source§impl<'de> Deserialize<'de> for ImageClass
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for ImageClass
source§impl Ord for ImageClass
source§impl Ord for ImageClass
source§fn cmp(&self, other: &ImageClass) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for ImageClass
source§impl PartialEq for ImageClass
source§fn eq(&self, other: &ImageClass) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ImageClass
source§impl PartialOrd for ImageClass
source§fn partial_cmp(&self, other: &ImageClass) -> Option<Ordering>
1.0.0 · source§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 moresource§impl Serialize for ImageClass
source§impl Copy for ImageClass
source§impl Eq for ImageClass
source§impl StructuralEq for ImageClass
source§impl StructuralPartialEq for ImageClass
Auto Trait Implementations§
§impl RefUnwindSafe for ImageClass
§impl Send for ImageClass
§impl Sync for ImageClass
§impl Unpin for ImageClass
§impl UnwindSafe for ImageClass
Blanket Implementations§
source§impl Serialize for ImageClass
source§impl Copy for ImageClass
source§impl Eq for ImageClass
source§impl StructuralEq for ImageClass
source§impl StructuralPartialEq for ImageClass
Auto Trait Implementations§
§impl RefUnwindSafe for ImageClass
§impl Send for ImageClass
§impl Sync for ImageClass
§impl Unpin for ImageClass
§impl UnwindSafe for ImageClass
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.ImageDimension.html b/doc/naga/enum.ImageDimension.html
index f3d1f2532469..ef187f462c11 100644
--- a/doc/naga/enum.ImageDimension.html
+++ b/doc/naga/enum.ImageDimension.html
@@ -1,5 +1,5 @@
ImageDimension in naga - Rust
- Enum naga::ImageDimension
source · pub enum ImageDimension {
+ Enum naga::ImageDimension
source · pub enum ImageDimension {
D1,
D2,
D3,
@@ -9,20 +9,20 @@
§D2
2D image
§D3
3D image
§Cube
Cube map
-
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImageDimension
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for ImageDimension
source§fn clone(&self) -> ImageDimension
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImageDimension
source§impl<'de> Deserialize<'de> for ImageDimension
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl From<ImageDimension> for Dim
source§fn from(dim: ImageDimension) -> Self
Converts to this type from the input type.source§impl Hash for ImageDimension
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImageDimension
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for ImageDimension
source§fn clone(&self) -> ImageDimension
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImageDimension
source§impl<'de> Deserialize<'de> for ImageDimension
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl From<ImageDimension> for Dim
source§fn from(dim: ImageDimension) -> Self
Converts to this type from the input type.source§impl Hash for ImageDimension
source§impl Ord for ImageDimension
source§impl Ord for ImageDimension
source§fn cmp(&self, other: &ImageDimension) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for ImageDimension
source§impl PartialEq for ImageDimension
source§fn eq(&self, other: &ImageDimension) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ImageDimension
source§impl PartialOrd for ImageDimension
source§fn partial_cmp(&self, other: &ImageDimension) -> Option<Ordering>
1.0.0 · source§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 moresource§impl Serialize for ImageDimension
source§impl Copy for ImageDimension
source§impl Eq for ImageDimension
source§impl StructuralEq for ImageDimension
source§impl StructuralPartialEq for ImageDimension
Auto Trait Implementations§
§impl RefUnwindSafe for ImageDimension
§impl Send for ImageDimension
§impl Sync for ImageDimension
§impl Unpin for ImageDimension
§impl UnwindSafe for ImageDimension
Blanket Implementations§
source§impl Serialize for ImageDimension
source§impl Copy for ImageDimension
source§impl Eq for ImageDimension
source§impl StructuralEq for ImageDimension
source§impl StructuralPartialEq for ImageDimension
Auto Trait Implementations§
§impl RefUnwindSafe for ImageDimension
§impl Send for ImageDimension
§impl Sync for ImageDimension
§impl Unpin for ImageDimension
§impl UnwindSafe for ImageDimension
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.ImageQuery.html b/doc/naga/enum.ImageQuery.html
index 5e7e403bfd8c..720275fe49d6 100644
--- a/doc/naga/enum.ImageQuery.html
+++ b/doc/naga/enum.ImageQuery.html
@@ -1,5 +1,5 @@
ImageQuery in naga - Rust
- Enum naga::ImageQuery
source · pub enum ImageQuery {
+ Enum naga::ImageQuery
source · pub enum ImageQuery {
Size {
level: Option<Handle<Expression>>,
},
@@ -16,13 +16,13 @@
§NumLevels
Get the number of mipmap levels, a u32
.
§NumLayers
Get the number of array layers, a u32
.
§NumSamples
Get the number of samples, a u32
.
-
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImageQuery
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for ImageQuery
source§fn clone(&self) -> ImageQuery
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImageQuery
source§impl<'de> Deserialize<'de> for ImageQuery
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for ImageQuery
source§fn eq(&self, other: &ImageQuery) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImageQuery
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for ImageQuery
source§fn clone(&self) -> ImageQuery
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImageQuery
source§impl<'de> Deserialize<'de> for ImageQuery
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for ImageQuery
source§fn eq(&self, other: &ImageQuery) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImageQuery
source§impl Copy for ImageQuery
source§impl StructuralPartialEq for ImageQuery
Auto Trait Implementations§
§impl RefUnwindSafe for ImageQuery
§impl Send for ImageQuery
§impl Sync for ImageQuery
§impl Unpin for ImageQuery
§impl UnwindSafe for ImageQuery
Blanket Implementations§
source§impl Serialize for ImageQuery
source§impl Copy for ImageQuery
source§impl StructuralPartialEq for ImageQuery
Auto Trait Implementations§
§impl RefUnwindSafe for ImageQuery
§impl Send for ImageQuery
§impl Sync for ImageQuery
§impl Unpin for ImageQuery
§impl UnwindSafe for ImageQuery
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/doc/naga/enum.Interpolation.html b/doc/naga/enum.Interpolation.html
index c92a223b9c83..6dfb6f56c43f 100644
--- a/doc/naga/enum.Interpolation.html
+++ b/doc/naga/enum.Interpolation.html
@@ -1,5 +1,5 @@
Interpolation in naga - Rust
- Enum naga::Interpolation
source · pub enum Interpolation {
+ Enum naga::Interpolation
source · pub enum Interpolation {
Perspective,
Linear,
Flat,
@@ -10,20 +10,20 @@
interpolation must be used.
Also known as “no_perspective” in glsl.
§Flat
Indicates that no interpolation will be performed.
-
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Interpolation
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for Interpolation
source§fn clone(&self) -> Interpolation
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Interpolation
source§impl<'de> Deserialize<'de> for Interpolation
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for Interpolation
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Interpolation
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for Interpolation
source§fn clone(&self) -> Interpolation
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Interpolation
source§impl<'de> Deserialize<'de> for Interpolation
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for Interpolation
source§impl Ord for Interpolation
source§impl Ord for Interpolation
source§fn cmp(&self, other: &Interpolation) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for Interpolation
source§impl PartialEq for Interpolation
source§fn eq(&self, other: &Interpolation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for Interpolation
source§impl PartialOrd for Interpolation
source§fn partial_cmp(&self, other: &Interpolation) -> Option<Ordering>
1.0.0 · source§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 moresource§impl Serialize for Interpolation
source§impl Copy for Interpolation
source§impl Eq for Interpolation
source§impl StructuralEq for Interpolation
source§impl StructuralPartialEq for Interpolation
Auto Trait Implementations§
§impl RefUnwindSafe for Interpolation
§impl Send for Interpolation
§impl Sync for Interpolation
§impl Unpin for Interpolation
§impl UnwindSafe for Interpolation
Blanket Implementations§
source§impl Serialize for Interpolation
source§impl Copy for Interpolation
source§impl Eq for Interpolation
source§impl StructuralEq for Interpolation
source§impl StructuralPartialEq for Interpolation
Auto Trait Implementations§
§impl RefUnwindSafe for Interpolation
§impl Send for Interpolation
§impl Sync for Interpolation
§impl Unpin for Interpolation
§impl UnwindSafe for Interpolation
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.Literal.html b/doc/naga/enum.Literal.html
index 5e4c92ca31a1..131b3acb7c21 100644
--- a/doc/naga/enum.Literal.html
+++ b/doc/naga/enum.Literal.html
@@ -1,5 +1,5 @@
Literal in naga - Rust
- pub enum Literal {
+ pub enum Literal {
F64(f64),
F32(f32),
U32(u32),
@@ -11,15 +11,15 @@
AbstractFloat(f64),
}
Variants§
§F64(f64)
May not be NaN or infinity.
§F32(f32)
May not be NaN or infinity.
-§U32(u32)
§I32(i32)
§U64(u64)
§I64(i64)
§Bool(bool)
§AbstractInt(i64)
§AbstractFloat(f64)
Implementations§
source§impl Literal
sourcepub const fn new(value: u8, scalar: Scalar) -> Option<Self>
sourcepub const fn zero(scalar: Scalar) -> Option<Self>
sourcepub const fn one(scalar: Scalar) -> Option<Self>
sourcepub const fn width(&self) -> Bytes
sourcepub const fn scalar(&self) -> Scalar
sourcepub const fn scalar_kind(&self) -> ScalarKind
sourcepub const fn ty_inner(&self) -> TypeInner
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Literal
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl<'de> Deserialize<'de> for Literal
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Literal> for HashableLiteral
source§impl PartialEq for Literal
Implementations§
source§impl Literal
sourcepub const fn new(value: u8, scalar: Scalar) -> Option<Self>
sourcepub const fn zero(scalar: Scalar) -> Option<Self>
sourcepub const fn one(scalar: Scalar) -> Option<Self>
sourcepub const fn width(&self) -> Bytes
sourcepub const fn scalar(&self) -> Scalar
sourcepub const fn scalar_kind(&self) -> ScalarKind
sourcepub const fn ty_inner(&self) -> TypeInner
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Literal
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl<'de> Deserialize<'de> for Literal
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Literal> for HashableLiteral
source§impl PartialEq for Literal
source§impl PartialOrd for Literal
source§impl PartialOrd for Literal
1.0.0 · source§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 moresource§impl Copy for Literal
source§impl StructuralPartialEq for Literal
Auto Trait Implementations§
§impl RefUnwindSafe for Literal
§impl Send for Literal
§impl Sync for Literal
§impl Unpin for Literal
§impl UnwindSafe for Literal
Blanket Implementations§
source§impl Copy for Literal
source§impl StructuralPartialEq for Literal
Auto Trait Implementations§
§impl RefUnwindSafe for Literal
§impl Send for Literal
§impl Sync for Literal
§impl Unpin for Literal
§impl UnwindSafe for Literal
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/doc/naga/enum.MathFunction.html b/doc/naga/enum.MathFunction.html
index 9a172d81e3aa..fab4dcd18140 100644
--- a/doc/naga/enum.MathFunction.html
+++ b/doc/naga/enum.MathFunction.html
@@ -1,5 +1,5 @@
MathFunction in naga - Rust
- Enum naga::MathFunction
source · pub enum MathFunction {
+ Enum naga::MathFunction
source · pub enum MathFunction {
Show 74 variants
Abs,
Min,
Max,
@@ -75,20 +75,20 @@
Unpack4xI8,
Unpack4xU8,
}
Expand description
Built-in shader function for math.
-Variants§
§Abs
§Min
§Max
§Clamp
§Saturate
§Cos
§Cosh
§Sin
§Sinh
§Tan
§Tanh
§Acos
§Asin
§Atan
§Atan2
§Asinh
§Acosh
§Atanh
§Radians
§Degrees
§Ceil
§Floor
§Round
§Fract
§Trunc
§Modf
§Frexp
§Ldexp
§Exp
§Exp2
§Log
§Log2
§Pow
§Dot
§Outer
§Cross
§Distance
§Length
§Normalize
§FaceForward
§Reflect
§Refract
§Sign
§Fma
§Mix
§Step
§SmoothStep
§Sqrt
§InverseSqrt
§Inverse
§Transpose
§Determinant
§CountTrailingZeros
§CountLeadingZeros
§CountOneBits
§ReverseBits
§ExtractBits
§InsertBits
§FirstTrailingBit
§FirstLeadingBit
§Pack4x8snorm
§Pack4x8unorm
§Pack2x16snorm
§Pack2x16unorm
§Pack2x16float
§Pack4xI8
§Pack4xU8
§Unpack4x8snorm
§Unpack4x8unorm
§Unpack2x16snorm
§Unpack2x16unorm
§Unpack2x16float
§Unpack4xI8
§Unpack4xU8
Implementations§
source§impl MathFunction
sourcepub const fn argument_count(&self) -> usize
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for MathFunction
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for MathFunction
source§fn clone(&self) -> MathFunction
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for MathFunction
source§impl<'de> Deserialize<'de> for MathFunction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for MathFunction
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Variants§
§Abs
§Min
§Max
§Clamp
§Saturate
§Cos
§Cosh
§Sin
§Sinh
§Tan
§Tanh
§Acos
§Asin
§Atan
§Atan2
§Asinh
§Acosh
§Atanh
§Radians
§Degrees
§Ceil
§Floor
§Round
§Fract
§Trunc
§Modf
§Frexp
§Ldexp
§Exp
§Exp2
§Log
§Log2
§Pow
§Dot
§Outer
§Cross
§Distance
§Length
§Normalize
§FaceForward
§Reflect
§Refract
§Sign
§Fma
§Mix
§Step
§SmoothStep
§Sqrt
§InverseSqrt
§Inverse
§Transpose
§Determinant
§CountTrailingZeros
§CountLeadingZeros
§CountOneBits
§ReverseBits
§ExtractBits
§InsertBits
§FirstTrailingBit
§FirstLeadingBit
§Pack4x8snorm
§Pack4x8unorm
§Pack2x16snorm
§Pack2x16unorm
§Pack2x16float
§Pack4xI8
§Pack4xU8
§Unpack4x8snorm
§Unpack4x8unorm
§Unpack2x16snorm
§Unpack2x16unorm
§Unpack2x16float
§Unpack4xI8
§Unpack4xU8
Implementations§
source§impl MathFunction
sourcepub const fn argument_count(&self) -> usize
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for MathFunction
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for MathFunction
source§fn clone(&self) -> MathFunction
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for MathFunction
source§impl<'de> Deserialize<'de> for MathFunction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for MathFunction
source§impl Ord for MathFunction
source§impl Ord for MathFunction
source§fn cmp(&self, other: &MathFunction) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for MathFunction
source§impl PartialEq for MathFunction
source§fn eq(&self, other: &MathFunction) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for MathFunction
source§impl PartialOrd for MathFunction
source§fn partial_cmp(&self, other: &MathFunction) -> Option<Ordering>
1.0.0 · source§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 moresource§impl Serialize for MathFunction
source§impl Copy for MathFunction
source§impl Eq for MathFunction
source§impl StructuralEq for MathFunction
source§impl StructuralPartialEq for MathFunction
Auto Trait Implementations§
§impl RefUnwindSafe for MathFunction
§impl Send for MathFunction
§impl Sync for MathFunction
§impl Unpin for MathFunction
§impl UnwindSafe for MathFunction
Blanket Implementations§
source§impl Serialize for MathFunction
source§impl Copy for MathFunction
source§impl Eq for MathFunction
source§impl StructuralEq for MathFunction
source§impl StructuralPartialEq for MathFunction
Auto Trait Implementations§
§impl RefUnwindSafe for MathFunction
§impl Send for MathFunction
§impl Sync for MathFunction
§impl Unpin for MathFunction
§impl UnwindSafe for MathFunction
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.PredeclaredType.html b/doc/naga/enum.PredeclaredType.html
index 11e83e63c597..ad0cec34901e 100644
--- a/doc/naga/enum.PredeclaredType.html
+++ b/doc/naga/enum.PredeclaredType.html
@@ -1,5 +1,5 @@
PredeclaredType in naga - Rust
- Enum naga::PredeclaredType
source · pub enum PredeclaredType {
+ Enum naga::PredeclaredType
source · pub enum PredeclaredType {
AtomicCompareExchangeWeakResult(Scalar),
ModfResult {
size: Option<VectorSize>,
@@ -12,15 +12,15 @@
}
Expand description
Return types predeclared for the frexp, modf, and atomicCompareExchangeWeak built-in functions.
These cannot be spelled in WGSL source.
Stored in SpecialTypes::predeclared_types
and created by Module::generate_predeclared_type
.
-Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for PredeclaredType
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for PredeclaredType
source§fn clone(&self) -> PredeclaredType
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for PredeclaredType
source§impl<'de> Deserialize<'de> for PredeclaredType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for PredeclaredType
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for PredeclaredType
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for PredeclaredType
source§fn clone(&self) -> PredeclaredType
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for PredeclaredType
source§impl<'de> Deserialize<'de> for PredeclaredType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for PredeclaredType
source§impl PartialEq for PredeclaredType
source§impl PartialEq for PredeclaredType
source§fn eq(&self, other: &PredeclaredType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PredeclaredType
source§impl Eq for PredeclaredType
source§impl StructuralEq for PredeclaredType
source§impl StructuralPartialEq for PredeclaredType
Auto Trait Implementations§
§impl RefUnwindSafe for PredeclaredType
§impl Send for PredeclaredType
§impl Sync for PredeclaredType
§impl Unpin for PredeclaredType
§impl UnwindSafe for PredeclaredType
Blanket Implementations§
source§impl Serialize for PredeclaredType
source§impl Eq for PredeclaredType
source§impl StructuralEq for PredeclaredType
source§impl StructuralPartialEq for PredeclaredType
Auto Trait Implementations§
§impl RefUnwindSafe for PredeclaredType
§impl Send for PredeclaredType
§impl Sync for PredeclaredType
§impl Unpin for PredeclaredType
§impl UnwindSafe for PredeclaredType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Equivalent<K> for Qwhere
diff --git a/doc/naga/enum.RayQueryFunction.html b/doc/naga/enum.RayQueryFunction.html
index b1131464e736..641d3454c0fa 100644
--- a/doc/naga/enum.RayQueryFunction.html
+++ b/doc/naga/enum.RayQueryFunction.html
@@ -1,5 +1,5 @@
RayQueryFunction in naga - Rust
- Enum naga::RayQueryFunction
source · pub enum RayQueryFunction {
+ Enum naga::RayQueryFunction
source · pub enum RayQueryFunction {
Initialize {
acceleration_structure: Handle<Expression>,
descriptor: Handle<Expression>,
@@ -20,10 +20,10 @@
After executing this statement, the result
expression is a
Bool
scalar indicating whether there are more intersection
candidates to consider.
-
§Terminate
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for RayQueryFunction
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for RayQueryFunction
source§fn clone(&self) -> RayQueryFunction
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for RayQueryFunction
source§impl<'de> Deserialize<'de> for RayQueryFunction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Serialize for RayQueryFunction
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for RayQueryFunction
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for RayQueryFunction
source§fn clone(&self) -> RayQueryFunction
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for RayQueryFunction
source§impl<'de> Deserialize<'de> for RayQueryFunction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for RayQueryFunction
§impl Send for RayQueryFunction
§impl Sync for RayQueryFunction
§impl Unpin for RayQueryFunction
§impl UnwindSafe for RayQueryFunction
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/naga/enum.RelationalFunction.html b/doc/naga/enum.RelationalFunction.html
index b865ccfea243..e387f4da3069 100644
--- a/doc/naga/enum.RelationalFunction.html
+++ b/doc/naga/enum.RelationalFunction.html
@@ -1,24 +1,24 @@
RelationalFunction in naga - Rust
- Enum naga::RelationalFunction
source · pub enum RelationalFunction {
+ Enum naga::RelationalFunction
source · pub enum RelationalFunction {
All,
Any,
IsNan,
IsInf,
}
Expand description
Built-in shader function for testing relation between values.
-Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for RelationalFunction
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for RelationalFunction
source§fn clone(&self) -> RelationalFunction
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for RelationalFunction
source§impl<'de> Deserialize<'de> for RelationalFunction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for RelationalFunction
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for RelationalFunction
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for RelationalFunction
source§fn clone(&self) -> RelationalFunction
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for RelationalFunction
source§impl<'de> Deserialize<'de> for RelationalFunction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for RelationalFunction
source§impl Ord for RelationalFunction
source§impl Ord for RelationalFunction
source§fn cmp(&self, other: &RelationalFunction) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for RelationalFunction
source§impl PartialEq for RelationalFunction
source§fn eq(&self, other: &RelationalFunction) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for RelationalFunction
source§impl PartialOrd for RelationalFunction
source§fn partial_cmp(&self, other: &RelationalFunction) -> Option<Ordering>
1.0.0 · source§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 moresource§impl Serialize for RelationalFunction
source§impl Copy for RelationalFunction
source§impl Eq for RelationalFunction
source§impl StructuralEq for RelationalFunction
source§impl StructuralPartialEq for RelationalFunction
Auto Trait Implementations§
§impl RefUnwindSafe for RelationalFunction
§impl Send for RelationalFunction
§impl Sync for RelationalFunction
§impl Unpin for RelationalFunction
§impl UnwindSafe for RelationalFunction
Blanket Implementations§
source§impl Serialize for RelationalFunction
source§impl Copy for RelationalFunction
source§impl Eq for RelationalFunction
source§impl StructuralEq for RelationalFunction
source§impl StructuralPartialEq for RelationalFunction
Auto Trait Implementations§
§impl RefUnwindSafe for RelationalFunction
§impl Send for RelationalFunction
§impl Sync for RelationalFunction
§impl Unpin for RelationalFunction
§impl UnwindSafe for RelationalFunction
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.SampleLevel.html b/doc/naga/enum.SampleLevel.html
index 025b12ec14fa..f693cc0b4dce 100644
--- a/doc/naga/enum.SampleLevel.html
+++ b/doc/naga/enum.SampleLevel.html
@@ -1,5 +1,5 @@
SampleLevel in naga - Rust
- Enum naga::SampleLevel
source · pub enum SampleLevel {
+ Enum naga::SampleLevel
source · pub enum SampleLevel {
Auto,
Zero,
Exact(Handle<Expression>),
@@ -11,13 +11,13 @@
}
Expand description
Sampling modifier to control the level of detail.
All Handle<Expression>
values here refer to an expression in
Function::expressions
.
-Variants§
Implementations§
source§impl SampleLevel
sourcepub const fn implicit_derivatives(&self) -> bool
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for SampleLevel
#[repr(u8)]pub enum ArraySize {
+ #[repr(u8)]pub enum ArraySize {
Constant(NonZeroU32),
Dynamic,
}
Expand description
Size of an array.
@@ -8,20 +8,20 @@
Implementations§
source§impl ArraySize
sourcepub const fn to_indexable_length(
self,
_module: &Module
-) -> Result<IndexableLength, IndexableLengthError>
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ArraySize
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl<'de> Deserialize<'de> for ArraySize
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for ArraySize
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ArraySize
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl<'de> Deserialize<'de> for ArraySize
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Ord for ArraySize
source§impl PartialEq for ArraySize
source§impl PartialOrd for ArraySize
source§impl PartialOrd for ArraySize
1.0.0 · source§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 moresource§impl Copy for ArraySize
source§impl Eq for ArraySize
source§impl StructuralEq for ArraySize
source§impl StructuralPartialEq for ArraySize
Auto Trait Implementations§
§impl RefUnwindSafe for ArraySize
§impl Send for ArraySize
§impl Sync for ArraySize
§impl Unpin for ArraySize
§impl UnwindSafe for ArraySize
Blanket Implementations§
source§impl Copy for ArraySize
source§impl Eq for ArraySize
source§impl StructuralEq for ArraySize
source§impl StructuralPartialEq for ArraySize
Auto Trait Implementations§
§impl RefUnwindSafe for ArraySize
§impl Send for ArraySize
§impl Sync for ArraySize
§impl Unpin for ArraySize
§impl UnwindSafe for ArraySize
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.AtomicFunction.html b/doc/naga/enum.AtomicFunction.html
index 52cd80f50e01..b63592efe63e 100644
--- a/doc/naga/enum.AtomicFunction.html
+++ b/doc/naga/enum.AtomicFunction.html
@@ -1,5 +1,5 @@
AtomicFunction in naga - Rust
- Enum naga::AtomicFunction
source · pub enum AtomicFunction {
+ Enum naga::AtomicFunction
source · pub enum AtomicFunction {
Add,
Subtract,
And,
@@ -15,20 +15,20 @@
Expression::Load
and Statement::Store
.
All Handle<Expression>
values here refer to an expression in
Function::expressions
.
-
Variants§
§Add
§Subtract
§And
§ExclusiveOr
§InclusiveOr
§Min
§Max
§Exchange
Fields
§compare: Option<Handle<Expression>>
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for AtomicFunction
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for AtomicFunction
source§fn clone(&self) -> AtomicFunction
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for AtomicFunction
source§impl<'de> Deserialize<'de> for AtomicFunction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for AtomicFunction
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Variants§
§Add
§Subtract
§And
§ExclusiveOr
§InclusiveOr
§Min
§Max
§Exchange
Fields
§compare: Option<Handle<Expression>>
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for AtomicFunction
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for AtomicFunction
source§fn clone(&self) -> AtomicFunction
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for AtomicFunction
source§impl<'de> Deserialize<'de> for AtomicFunction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for AtomicFunction
source§impl Ord for AtomicFunction
source§impl Ord for AtomicFunction
source§fn cmp(&self, other: &AtomicFunction) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for AtomicFunction
source§impl PartialEq for AtomicFunction
source§fn eq(&self, other: &AtomicFunction) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for AtomicFunction
source§impl PartialOrd for AtomicFunction
source§fn partial_cmp(&self, other: &AtomicFunction) -> Option<Ordering>
1.0.0 · source§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 moresource§impl Serialize for AtomicFunction
source§impl Copy for AtomicFunction
source§impl Eq for AtomicFunction
source§impl StructuralEq for AtomicFunction
source§impl StructuralPartialEq for AtomicFunction
Auto Trait Implementations§
§impl RefUnwindSafe for AtomicFunction
§impl Send for AtomicFunction
§impl Sync for AtomicFunction
§impl Unpin for AtomicFunction
§impl UnwindSafe for AtomicFunction
Blanket Implementations§
source§impl Serialize for AtomicFunction
source§impl Copy for AtomicFunction
source§impl Eq for AtomicFunction
source§impl StructuralEq for AtomicFunction
source§impl StructuralPartialEq for AtomicFunction
Auto Trait Implementations§
§impl RefUnwindSafe for AtomicFunction
§impl Send for AtomicFunction
§impl Sync for AtomicFunction
§impl Unpin for AtomicFunction
§impl UnwindSafe for AtomicFunction
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.BinaryOperator.html b/doc/naga/enum.BinaryOperator.html
index 095f13e9c918..dd38771dc6c1 100644
--- a/doc/naga/enum.BinaryOperator.html
+++ b/doc/naga/enum.BinaryOperator.html
@@ -1,5 +1,5 @@
BinaryOperator in naga - Rust
- Enum naga::BinaryOperator
source · pub enum BinaryOperator {
+ Enum naga::BinaryOperator
source · pub enum BinaryOperator {
Show 18 variants
Add,
Subtract,
Multiply,
@@ -54,20 +54,20 @@ Arithmetic type
mixed-type use.
Variants§
§Add
§Subtract
§Multiply
§Divide
§Modulo
Equivalent of the WGSL’s %
operator or SPIR-V’s OpFRem
§Equal
§NotEqual
§Less
§LessEqual
§Greater
§GreaterEqual
§And
§ExclusiveOr
§InclusiveOr
§LogicalAnd
§LogicalOr
§ShiftLeft
§ShiftRight
Right shift carries the sign of signed integers only.
-Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for BinaryOperator
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for BinaryOperator
source§fn clone(&self) -> BinaryOperator
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for BinaryOperator
source§impl<'de> Deserialize<'de> for BinaryOperator
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for BinaryOperator
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for BinaryOperator
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for BinaryOperator
source§fn clone(&self) -> BinaryOperator
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for BinaryOperator
source§impl<'de> Deserialize<'de> for BinaryOperator
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for BinaryOperator
source§impl Ord for BinaryOperator
source§impl Ord for BinaryOperator
source§fn cmp(&self, other: &BinaryOperator) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for BinaryOperator
source§impl PartialEq for BinaryOperator
source§fn eq(&self, other: &BinaryOperator) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for BinaryOperator
source§impl PartialOrd for BinaryOperator
source§fn partial_cmp(&self, other: &BinaryOperator) -> Option<Ordering>
1.0.0 · source§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 moresource§impl Serialize for BinaryOperator
source§impl Copy for BinaryOperator
source§impl Eq for BinaryOperator
source§impl StructuralEq for BinaryOperator
source§impl StructuralPartialEq for BinaryOperator
Auto Trait Implementations§
§impl RefUnwindSafe for BinaryOperator
§impl Send for BinaryOperator
§impl Sync for BinaryOperator
§impl Unpin for BinaryOperator
§impl UnwindSafe for BinaryOperator
Blanket Implementations§
source§impl Serialize for BinaryOperator
source§impl Copy for BinaryOperator
source§impl Eq for BinaryOperator
source§impl StructuralEq for BinaryOperator
source§impl StructuralPartialEq for BinaryOperator
Auto Trait Implementations§
§impl RefUnwindSafe for BinaryOperator
§impl Send for BinaryOperator
§impl Sync for BinaryOperator
§impl Unpin for BinaryOperator
§impl UnwindSafe for BinaryOperator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.Binding.html b/doc/naga/enum.Binding.html
index 78fc2e9e83c7..bf6659bc3662 100644
--- a/doc/naga/enum.Binding.html
+++ b/doc/naga/enum.Binding.html
@@ -1,5 +1,5 @@
Binding in naga - Rust
- pub enum Binding {
+
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Binding
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl<'de> Deserialize<'de> for Binding
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Binding
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl<'de> Deserialize<'de> for Binding
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for Binding
source§impl Eq for Binding
source§impl StructuralEq for Binding
source§impl StructuralPartialEq for Binding
Auto Trait Implementations§
§impl RefUnwindSafe for Binding
§impl Send for Binding
§impl Sync for Binding
§impl Unpin for Binding
§impl UnwindSafe for Binding
Blanket Implementations§
source§impl Eq for Binding
source§impl StructuralEq for Binding
source§impl StructuralPartialEq for Binding
Auto Trait Implementations§
§impl RefUnwindSafe for Binding
§impl Send for Binding
§impl Sync for Binding
§impl Unpin for Binding
§impl UnwindSafe for Binding
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Equivalent<K> for Qwhere
diff --git a/doc/naga/enum.BuiltIn.html b/doc/naga/enum.BuiltIn.html
index d745dac1c9f2..3f822568a841 100644
--- a/doc/naga/enum.BuiltIn.html
+++ b/doc/naga/enum.BuiltIn.html
@@ -1,6 +1,6 @@
-BuiltIn in naga - Rust
- pub enum BuiltIn {
-Show 25 variants
Position {
+BuiltIn in naga - Rust
+ pub enum BuiltIn {
+Show 26 variants
Position {
invariant: bool,
},
ViewIndex,
@@ -11,6 +11,7 @@
InstanceIndex,
PointSize,
VertexIndex,
+ DrawID,
FragDepth,
PointCoord,
FrontFacing,
@@ -28,7 +29,7 @@
SubgroupSize,
SubgroupInvocationId,
}
Expand description
Built-in inputs and outputs.
-Variants§
§Position
§ViewIndex
§BaseInstance
§BaseVertex
§ClipDistance
§CullDistance
§InstanceIndex
§PointSize
§VertexIndex
§FragDepth
§PointCoord
§FrontFacing
§PrimitiveIndex
§SampleIndex
§SampleMask
§GlobalInvocationId
§LocalInvocationId
§LocalInvocationIndex
§WorkGroupId
§WorkGroupSize
§NumWorkGroups
§NumSubgroups
§SubgroupId
§SubgroupSize
§SubgroupInvocationId
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for BuiltIn
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+Variants§
§Position
§ViewIndex
§BaseInstance
§BaseVertex
§ClipDistance
§CullDistance
§InstanceIndex
§PointSize
§VertexIndex
§DrawID
§FragDepth
§PointCoord
§FrontFacing
§PrimitiveIndex
§SampleIndex
§SampleMask
§GlobalInvocationId
§LocalInvocationId
§LocalInvocationIndex
§WorkGroupId
§WorkGroupSize
§NumWorkGroups
§NumSubgroups
§SubgroupId
§SubgroupSize
§SubgroupInvocationId
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for BuiltIn
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl<'de> Deserialize<'de> for BuiltIn
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for BuiltIn
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
diff --git a/doc/naga/enum.CollectiveOperation.html b/doc/naga/enum.CollectiveOperation.html
index b097e84ecbbf..e5695e0e719a 100644
--- a/doc/naga/enum.CollectiveOperation.html
+++ b/doc/naga/enum.CollectiveOperation.html
@@ -1,22 +1,22 @@
CollectiveOperation in naga - Rust
- Enum naga::CollectiveOperation
source · pub enum CollectiveOperation {
+ Enum naga::CollectiveOperation
source · pub enum CollectiveOperation {
Reduce = 0,
InclusiveScan = 1,
ExclusiveScan = 2,
-}
Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for CollectiveOperation
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for CollectiveOperation
source§fn clone(&self) -> CollectiveOperation
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for CollectiveOperation
source§impl<'de> Deserialize<'de> for CollectiveOperation
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for CollectiveOperation
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+}Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for CollectiveOperation
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for CollectiveOperation
source§fn clone(&self) -> CollectiveOperation
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for CollectiveOperation
source§impl<'de> Deserialize<'de> for CollectiveOperation
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for CollectiveOperation
source§impl Ord for CollectiveOperation
source§impl Ord for CollectiveOperation
source§fn cmp(&self, other: &CollectiveOperation) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for CollectiveOperation
source§impl PartialEq for CollectiveOperation
source§fn eq(&self, other: &CollectiveOperation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CollectiveOperation
source§impl PartialOrd for CollectiveOperation
source§fn partial_cmp(&self, other: &CollectiveOperation) -> Option<Ordering>
1.0.0 · source§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 moresource§impl Serialize for CollectiveOperation
source§impl Copy for CollectiveOperation
source§impl Eq for CollectiveOperation
source§impl StructuralEq for CollectiveOperation
source§impl StructuralPartialEq for CollectiveOperation
Auto Trait Implementations§
§impl RefUnwindSafe for CollectiveOperation
§impl Send for CollectiveOperation
§impl Sync for CollectiveOperation
§impl Unpin for CollectiveOperation
§impl UnwindSafe for CollectiveOperation
Blanket Implementations§
source§impl Serialize for CollectiveOperation
source§impl Copy for CollectiveOperation
source§impl Eq for CollectiveOperation
source§impl StructuralEq for CollectiveOperation
source§impl StructuralPartialEq for CollectiveOperation
Auto Trait Implementations§
§impl RefUnwindSafe for CollectiveOperation
§impl Send for CollectiveOperation
§impl Sync for CollectiveOperation
§impl Unpin for CollectiveOperation
§impl UnwindSafe for CollectiveOperation
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.DerivativeAxis.html b/doc/naga/enum.DerivativeAxis.html
index 77ed38f80601..3d92a7b3fb1f 100644
--- a/doc/naga/enum.DerivativeAxis.html
+++ b/doc/naga/enum.DerivativeAxis.html
@@ -1,23 +1,23 @@
DerivativeAxis in naga - Rust
- Enum naga::DerivativeAxis
source · pub enum DerivativeAxis {
+ Enum naga::DerivativeAxis
source · pub enum DerivativeAxis {
X,
Y,
Width,
}
Expand description
Axis on which to compute a derivative.
-Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for DerivativeAxis
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for DerivativeAxis
source§fn clone(&self) -> DerivativeAxis
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for DerivativeAxis
source§impl<'de> Deserialize<'de> for DerivativeAxis
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for DerivativeAxis
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for DerivativeAxis
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for DerivativeAxis
source§fn clone(&self) -> DerivativeAxis
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for DerivativeAxis
source§impl<'de> Deserialize<'de> for DerivativeAxis
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for DerivativeAxis
source§impl Ord for DerivativeAxis
source§impl Ord for DerivativeAxis
source§fn cmp(&self, other: &DerivativeAxis) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for DerivativeAxis
source§impl PartialEq for DerivativeAxis
source§fn eq(&self, other: &DerivativeAxis) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DerivativeAxis
source§impl PartialOrd for DerivativeAxis
source§fn partial_cmp(&self, other: &DerivativeAxis) -> Option<Ordering>
1.0.0 · source§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 moresource§impl Serialize for DerivativeAxis
source§impl Copy for DerivativeAxis
source§impl Eq for DerivativeAxis
source§impl StructuralEq for DerivativeAxis
source§impl StructuralPartialEq for DerivativeAxis
Auto Trait Implementations§
§impl RefUnwindSafe for DerivativeAxis
§impl Send for DerivativeAxis
§impl Sync for DerivativeAxis
§impl Unpin for DerivativeAxis
§impl UnwindSafe for DerivativeAxis
Blanket Implementations§
source§impl Serialize for DerivativeAxis
source§impl Copy for DerivativeAxis
source§impl Eq for DerivativeAxis
source§impl StructuralEq for DerivativeAxis
source§impl StructuralPartialEq for DerivativeAxis
Auto Trait Implementations§
§impl RefUnwindSafe for DerivativeAxis
§impl Send for DerivativeAxis
§impl Sync for DerivativeAxis
§impl Unpin for DerivativeAxis
§impl UnwindSafe for DerivativeAxis
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.DerivativeControl.html b/doc/naga/enum.DerivativeControl.html
index bec9e7ca5f89..a085d395d170 100644
--- a/doc/naga/enum.DerivativeControl.html
+++ b/doc/naga/enum.DerivativeControl.html
@@ -1,23 +1,23 @@
DerivativeControl in naga - Rust
- Enum naga::DerivativeControl
source · pub enum DerivativeControl {
+ Enum naga::DerivativeControl
source · pub enum DerivativeControl {
Coarse,
Fine,
None,
}
Expand description
Hint at which precision to compute a derivative.
-Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for DerivativeControl
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for DerivativeControl
source§fn clone(&self) -> DerivativeControl
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for DerivativeControl
source§impl<'de> Deserialize<'de> for DerivativeControl
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for DerivativeControl
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for DerivativeControl
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for DerivativeControl
source§fn clone(&self) -> DerivativeControl
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for DerivativeControl
source§impl<'de> Deserialize<'de> for DerivativeControl
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for DerivativeControl
source§impl Ord for DerivativeControl
source§impl Ord for DerivativeControl
source§fn cmp(&self, other: &DerivativeControl) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for DerivativeControl
source§impl PartialEq for DerivativeControl
source§fn eq(&self, other: &DerivativeControl) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DerivativeControl
source§impl PartialOrd for DerivativeControl
source§fn partial_cmp(&self, other: &DerivativeControl) -> Option<Ordering>
1.0.0 · source§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 moresource§impl Serialize for DerivativeControl
source§impl Copy for DerivativeControl
source§impl Eq for DerivativeControl
source§impl StructuralEq for DerivativeControl
source§impl StructuralPartialEq for DerivativeControl
Auto Trait Implementations§
§impl RefUnwindSafe for DerivativeControl
§impl Send for DerivativeControl
§impl Sync for DerivativeControl
§impl Unpin for DerivativeControl
§impl UnwindSafe for DerivativeControl
Blanket Implementations§
source§impl Serialize for DerivativeControl
source§impl Copy for DerivativeControl
source§impl Eq for DerivativeControl
source§impl StructuralEq for DerivativeControl
source§impl StructuralPartialEq for DerivativeControl
Auto Trait Implementations§
§impl RefUnwindSafe for DerivativeControl
§impl Send for DerivativeControl
§impl Sync for DerivativeControl
§impl Unpin for DerivativeControl
§impl UnwindSafe for DerivativeControl
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.Expression.html b/doc/naga/enum.Expression.html
index f898a9288dfb..40ddfd304fda 100644
--- a/doc/naga/enum.Expression.html
+++ b/doc/naga/enum.Expression.html
@@ -1,5 +1,5 @@
Expression in naga - Rust
- Enum naga::Expression
source · pub enum Expression {
+ Enum naga::Expression
source · pub enum Expression {
Show 31 variants
Literal(Literal),
Constant(Handle<Constant>),
Override(Handle<Override>),
@@ -253,13 +253,13 @@
Note, this does not check the type of the given expression. It’s up to
the caller to establish that the Access
expression is well-typed
through other means, like ResolveContext
.
-
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Expression
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for Expression
source§fn clone(&self) -> Expression
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Expression
source§impl<'de> Deserialize<'de> for Expression
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for Expression
source§fn eq(&self, other: &Expression) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Expression
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for Expression
source§fn clone(&self) -> Expression
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Expression
source§impl<'de> Deserialize<'de> for Expression
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for Expression
source§fn eq(&self, other: &Expression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Expression
source§impl StructuralPartialEq for Expression
Auto Trait Implementations§
§impl RefUnwindSafe for Expression
§impl Send for Expression
§impl Sync for Expression
§impl Unpin for Expression
§impl UnwindSafe for Expression
Blanket Implementations§
source§impl Serialize for Expression
source§impl StructuralPartialEq for Expression
Auto Trait Implementations§
§impl RefUnwindSafe for Expression
§impl Send for Expression
§impl Sync for Expression
§impl Unpin for Expression
§impl UnwindSafe for Expression
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/doc/naga/enum.GatherMode.html b/doc/naga/enum.GatherMode.html
index 67f9247ebf98..0e4df661012b 100644
--- a/doc/naga/enum.GatherMode.html
+++ b/doc/naga/enum.GatherMode.html
@@ -1,5 +1,5 @@
GatherMode in naga - Rust
- Enum naga::GatherMode
source · pub enum GatherMode {
+ Enum naga::GatherMode
source · pub enum GatherMode {
BroadcastFirst,
Broadcast(Handle<Expression>),
Shuffle(Handle<Expression>),
@@ -15,20 +15,20 @@
§ShuffleDown(Handle<Expression>)
Each gathers from their lane plus the shift given by the expression
§ShuffleUp(Handle<Expression>)
Each gathers from their lane minus the shift given by the expression
§ShuffleXor(Handle<Expression>)
Each gathers from their lane xored with the given by the expression
-
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for GatherMode
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for GatherMode
source§fn clone(&self) -> GatherMode
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for GatherMode
source§impl<'de> Deserialize<'de> for GatherMode
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for GatherMode
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for GatherMode
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for GatherMode
source§fn clone(&self) -> GatherMode
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for GatherMode
source§impl<'de> Deserialize<'de> for GatherMode
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for GatherMode
source§impl Ord for GatherMode
source§impl Ord for GatherMode
source§fn cmp(&self, other: &GatherMode) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for GatherMode
source§impl PartialEq for GatherMode
source§fn eq(&self, other: &GatherMode) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for GatherMode
source§impl PartialOrd for GatherMode
source§fn partial_cmp(&self, other: &GatherMode) -> Option<Ordering>
1.0.0 · source§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 moresource§impl Serialize for GatherMode
source§impl Copy for GatherMode
source§impl Eq for GatherMode
source§impl StructuralEq for GatherMode
source§impl StructuralPartialEq for GatherMode
Auto Trait Implementations§
§impl RefUnwindSafe for GatherMode
§impl Send for GatherMode
§impl Sync for GatherMode
§impl Unpin for GatherMode
§impl UnwindSafe for GatherMode
Blanket Implementations§
source§impl Serialize for GatherMode
source§impl Copy for GatherMode
source§impl Eq for GatherMode
source§impl StructuralEq for GatherMode
source§impl StructuralPartialEq for GatherMode
Auto Trait Implementations§
§impl RefUnwindSafe for GatherMode
§impl Send for GatherMode
§impl Sync for GatherMode
§impl Unpin for GatherMode
§impl UnwindSafe for GatherMode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.ImageClass.html b/doc/naga/enum.ImageClass.html
index 44c5bf6fa07e..d4f3adab5f09 100644
--- a/doc/naga/enum.ImageClass.html
+++ b/doc/naga/enum.ImageClass.html
@@ -1,5 +1,5 @@
ImageClass in naga - Rust
- Enum naga::ImageClass
source · pub enum ImageClass {
+ Enum naga::ImageClass
source · pub enum ImageClass {
Sampled {
kind: ScalarKind,
multi: bool,
@@ -20,20 +20,20 @@
§Depth
Depth comparison image.
§Storage
Storage image.
-
Implementations§
source§impl ImageClass
sourcepub const fn is_multisampled(self) -> bool
sourcepub const fn is_mipmapped(self) -> bool
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImageClass
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for ImageClass
source§fn clone(&self) -> ImageClass
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImageClass
source§impl<'de> Deserialize<'de> for ImageClass
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for ImageClass
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Implementations§
source§impl ImageClass
sourcepub const fn is_multisampled(self) -> bool
sourcepub const fn is_mipmapped(self) -> bool
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImageClass
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for ImageClass
source§fn clone(&self) -> ImageClass
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImageClass
source§impl<'de> Deserialize<'de> for ImageClass
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for ImageClass
source§impl Ord for ImageClass
source§impl Ord for ImageClass
source§fn cmp(&self, other: &ImageClass) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for ImageClass
source§impl PartialEq for ImageClass
source§fn eq(&self, other: &ImageClass) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ImageClass
source§impl PartialOrd for ImageClass
source§fn partial_cmp(&self, other: &ImageClass) -> Option<Ordering>
1.0.0 · source§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 moresource§impl Serialize for ImageClass
source§impl Copy for ImageClass
source§impl Eq for ImageClass
source§impl StructuralEq for ImageClass
source§impl StructuralPartialEq for ImageClass
Auto Trait Implementations§
§impl RefUnwindSafe for ImageClass
§impl Send for ImageClass
§impl Sync for ImageClass
§impl Unpin for ImageClass
§impl UnwindSafe for ImageClass
Blanket Implementations§
source§impl Serialize for ImageClass
source§impl Copy for ImageClass
source§impl Eq for ImageClass
source§impl StructuralEq for ImageClass
source§impl StructuralPartialEq for ImageClass
Auto Trait Implementations§
§impl RefUnwindSafe for ImageClass
§impl Send for ImageClass
§impl Sync for ImageClass
§impl Unpin for ImageClass
§impl UnwindSafe for ImageClass
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.ImageDimension.html b/doc/naga/enum.ImageDimension.html
index f3d1f2532469..ef187f462c11 100644
--- a/doc/naga/enum.ImageDimension.html
+++ b/doc/naga/enum.ImageDimension.html
@@ -1,5 +1,5 @@
ImageDimension in naga - Rust
- Enum naga::ImageDimension
source · pub enum ImageDimension {
+ Enum naga::ImageDimension
source · pub enum ImageDimension {
D1,
D2,
D3,
@@ -9,20 +9,20 @@
§D2
2D image
§D3
3D image
§Cube
Cube map
-
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImageDimension
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for ImageDimension
source§fn clone(&self) -> ImageDimension
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImageDimension
source§impl<'de> Deserialize<'de> for ImageDimension
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl From<ImageDimension> for Dim
source§fn from(dim: ImageDimension) -> Self
Converts to this type from the input type.source§impl Hash for ImageDimension
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImageDimension
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for ImageDimension
source§fn clone(&self) -> ImageDimension
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImageDimension
source§impl<'de> Deserialize<'de> for ImageDimension
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl From<ImageDimension> for Dim
source§fn from(dim: ImageDimension) -> Self
Converts to this type from the input type.source§impl Hash for ImageDimension
source§impl Ord for ImageDimension
source§impl Ord for ImageDimension
source§fn cmp(&self, other: &ImageDimension) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for ImageDimension
source§impl PartialEq for ImageDimension
source§fn eq(&self, other: &ImageDimension) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ImageDimension
source§impl PartialOrd for ImageDimension
source§fn partial_cmp(&self, other: &ImageDimension) -> Option<Ordering>
1.0.0 · source§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 moresource§impl Serialize for ImageDimension
source§impl Copy for ImageDimension
source§impl Eq for ImageDimension
source§impl StructuralEq for ImageDimension
source§impl StructuralPartialEq for ImageDimension
Auto Trait Implementations§
§impl RefUnwindSafe for ImageDimension
§impl Send for ImageDimension
§impl Sync for ImageDimension
§impl Unpin for ImageDimension
§impl UnwindSafe for ImageDimension
Blanket Implementations§
source§impl Serialize for ImageDimension
source§impl Copy for ImageDimension
source§impl Eq for ImageDimension
source§impl StructuralEq for ImageDimension
source§impl StructuralPartialEq for ImageDimension
Auto Trait Implementations§
§impl RefUnwindSafe for ImageDimension
§impl Send for ImageDimension
§impl Sync for ImageDimension
§impl Unpin for ImageDimension
§impl UnwindSafe for ImageDimension
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.ImageQuery.html b/doc/naga/enum.ImageQuery.html
index 5e7e403bfd8c..720275fe49d6 100644
--- a/doc/naga/enum.ImageQuery.html
+++ b/doc/naga/enum.ImageQuery.html
@@ -1,5 +1,5 @@
ImageQuery in naga - Rust
- Enum naga::ImageQuery
source · pub enum ImageQuery {
+ Enum naga::ImageQuery
source · pub enum ImageQuery {
Size {
level: Option<Handle<Expression>>,
},
@@ -16,13 +16,13 @@
§NumLevels
Get the number of mipmap levels, a u32
.
§NumLayers
Get the number of array layers, a u32
.
§NumSamples
Get the number of samples, a u32
.
-
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImageQuery
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for ImageQuery
source§fn clone(&self) -> ImageQuery
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImageQuery
source§impl<'de> Deserialize<'de> for ImageQuery
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for ImageQuery
source§fn eq(&self, other: &ImageQuery) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImageQuery
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for ImageQuery
source§fn clone(&self) -> ImageQuery
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImageQuery
source§impl<'de> Deserialize<'de> for ImageQuery
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for ImageQuery
source§fn eq(&self, other: &ImageQuery) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImageQuery
source§impl Copy for ImageQuery
source§impl StructuralPartialEq for ImageQuery
Auto Trait Implementations§
§impl RefUnwindSafe for ImageQuery
§impl Send for ImageQuery
§impl Sync for ImageQuery
§impl Unpin for ImageQuery
§impl UnwindSafe for ImageQuery
Blanket Implementations§
source§impl Serialize for ImageQuery
source§impl Copy for ImageQuery
source§impl StructuralPartialEq for ImageQuery
Auto Trait Implementations§
§impl RefUnwindSafe for ImageQuery
§impl Send for ImageQuery
§impl Sync for ImageQuery
§impl Unpin for ImageQuery
§impl UnwindSafe for ImageQuery
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/doc/naga/enum.Interpolation.html b/doc/naga/enum.Interpolation.html
index c92a223b9c83..6dfb6f56c43f 100644
--- a/doc/naga/enum.Interpolation.html
+++ b/doc/naga/enum.Interpolation.html
@@ -1,5 +1,5 @@
Interpolation in naga - Rust
- Enum naga::Interpolation
source · pub enum Interpolation {
+ Enum naga::Interpolation
source · pub enum Interpolation {
Perspective,
Linear,
Flat,
@@ -10,20 +10,20 @@
interpolation must be used.
Also known as “no_perspective” in glsl.
§Flat
Indicates that no interpolation will be performed.
-
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Interpolation
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for Interpolation
source§fn clone(&self) -> Interpolation
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Interpolation
source§impl<'de> Deserialize<'de> for Interpolation
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for Interpolation
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Interpolation
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for Interpolation
source§fn clone(&self) -> Interpolation
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Interpolation
source§impl<'de> Deserialize<'de> for Interpolation
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for Interpolation
source§impl Ord for Interpolation
source§impl Ord for Interpolation
source§fn cmp(&self, other: &Interpolation) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for Interpolation
source§impl PartialEq for Interpolation
source§fn eq(&self, other: &Interpolation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for Interpolation
source§impl PartialOrd for Interpolation
source§fn partial_cmp(&self, other: &Interpolation) -> Option<Ordering>
1.0.0 · source§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 moresource§impl Serialize for Interpolation
source§impl Copy for Interpolation
source§impl Eq for Interpolation
source§impl StructuralEq for Interpolation
source§impl StructuralPartialEq for Interpolation
Auto Trait Implementations§
§impl RefUnwindSafe for Interpolation
§impl Send for Interpolation
§impl Sync for Interpolation
§impl Unpin for Interpolation
§impl UnwindSafe for Interpolation
Blanket Implementations§
source§impl Serialize for Interpolation
source§impl Copy for Interpolation
source§impl Eq for Interpolation
source§impl StructuralEq for Interpolation
source§impl StructuralPartialEq for Interpolation
Auto Trait Implementations§
§impl RefUnwindSafe for Interpolation
§impl Send for Interpolation
§impl Sync for Interpolation
§impl Unpin for Interpolation
§impl UnwindSafe for Interpolation
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.Literal.html b/doc/naga/enum.Literal.html
index 5e4c92ca31a1..131b3acb7c21 100644
--- a/doc/naga/enum.Literal.html
+++ b/doc/naga/enum.Literal.html
@@ -1,5 +1,5 @@
Literal in naga - Rust
- pub enum Literal {
+ pub enum Literal {
F64(f64),
F32(f32),
U32(u32),
@@ -11,15 +11,15 @@
AbstractFloat(f64),
}
Variants§
§F64(f64)
May not be NaN or infinity.
§F32(f32)
May not be NaN or infinity.
-§U32(u32)
§I32(i32)
§U64(u64)
§I64(i64)
§Bool(bool)
§AbstractInt(i64)
§AbstractFloat(f64)
Implementations§
source§impl Literal
sourcepub const fn new(value: u8, scalar: Scalar) -> Option<Self>
sourcepub const fn zero(scalar: Scalar) -> Option<Self>
sourcepub const fn one(scalar: Scalar) -> Option<Self>
sourcepub const fn width(&self) -> Bytes
sourcepub const fn scalar(&self) -> Scalar
sourcepub const fn scalar_kind(&self) -> ScalarKind
sourcepub const fn ty_inner(&self) -> TypeInner
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Literal
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl<'de> Deserialize<'de> for Literal
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Literal> for HashableLiteral
source§impl PartialEq for Literal
Implementations§
source§impl Literal
sourcepub const fn new(value: u8, scalar: Scalar) -> Option<Self>
sourcepub const fn zero(scalar: Scalar) -> Option<Self>
sourcepub const fn one(scalar: Scalar) -> Option<Self>
sourcepub const fn width(&self) -> Bytes
sourcepub const fn scalar(&self) -> Scalar
sourcepub const fn scalar_kind(&self) -> ScalarKind
sourcepub const fn ty_inner(&self) -> TypeInner
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Literal
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl<'de> Deserialize<'de> for Literal
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl From<Literal> for HashableLiteral
source§impl PartialEq for Literal
source§impl PartialOrd for Literal
source§impl PartialOrd for Literal
1.0.0 · source§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 moresource§impl Copy for Literal
source§impl StructuralPartialEq for Literal
Auto Trait Implementations§
§impl RefUnwindSafe for Literal
§impl Send for Literal
§impl Sync for Literal
§impl Unpin for Literal
§impl UnwindSafe for Literal
Blanket Implementations§
source§impl Copy for Literal
source§impl StructuralPartialEq for Literal
Auto Trait Implementations§
§impl RefUnwindSafe for Literal
§impl Send for Literal
§impl Sync for Literal
§impl Unpin for Literal
§impl UnwindSafe for Literal
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/doc/naga/enum.MathFunction.html b/doc/naga/enum.MathFunction.html
index 9a172d81e3aa..fab4dcd18140 100644
--- a/doc/naga/enum.MathFunction.html
+++ b/doc/naga/enum.MathFunction.html
@@ -1,5 +1,5 @@
MathFunction in naga - Rust
- Enum naga::MathFunction
source · pub enum MathFunction {
+ Enum naga::MathFunction
source · pub enum MathFunction {
Show 74 variants
Abs,
Min,
Max,
@@ -75,20 +75,20 @@
Unpack4xI8,
Unpack4xU8,
}
Expand description
Built-in shader function for math.
-Variants§
§Abs
§Min
§Max
§Clamp
§Saturate
§Cos
§Cosh
§Sin
§Sinh
§Tan
§Tanh
§Acos
§Asin
§Atan
§Atan2
§Asinh
§Acosh
§Atanh
§Radians
§Degrees
§Ceil
§Floor
§Round
§Fract
§Trunc
§Modf
§Frexp
§Ldexp
§Exp
§Exp2
§Log
§Log2
§Pow
§Dot
§Outer
§Cross
§Distance
§Length
§Normalize
§FaceForward
§Reflect
§Refract
§Sign
§Fma
§Mix
§Step
§SmoothStep
§Sqrt
§InverseSqrt
§Inverse
§Transpose
§Determinant
§CountTrailingZeros
§CountLeadingZeros
§CountOneBits
§ReverseBits
§ExtractBits
§InsertBits
§FirstTrailingBit
§FirstLeadingBit
§Pack4x8snorm
§Pack4x8unorm
§Pack2x16snorm
§Pack2x16unorm
§Pack2x16float
§Pack4xI8
§Pack4xU8
§Unpack4x8snorm
§Unpack4x8unorm
§Unpack2x16snorm
§Unpack2x16unorm
§Unpack2x16float
§Unpack4xI8
§Unpack4xU8
Implementations§
source§impl MathFunction
sourcepub const fn argument_count(&self) -> usize
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for MathFunction
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for MathFunction
source§fn clone(&self) -> MathFunction
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for MathFunction
source§impl<'de> Deserialize<'de> for MathFunction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for MathFunction
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Variants§
§Abs
§Min
§Max
§Clamp
§Saturate
§Cos
§Cosh
§Sin
§Sinh
§Tan
§Tanh
§Acos
§Asin
§Atan
§Atan2
§Asinh
§Acosh
§Atanh
§Radians
§Degrees
§Ceil
§Floor
§Round
§Fract
§Trunc
§Modf
§Frexp
§Ldexp
§Exp
§Exp2
§Log
§Log2
§Pow
§Dot
§Outer
§Cross
§Distance
§Length
§Normalize
§FaceForward
§Reflect
§Refract
§Sign
§Fma
§Mix
§Step
§SmoothStep
§Sqrt
§InverseSqrt
§Inverse
§Transpose
§Determinant
§CountTrailingZeros
§CountLeadingZeros
§CountOneBits
§ReverseBits
§ExtractBits
§InsertBits
§FirstTrailingBit
§FirstLeadingBit
§Pack4x8snorm
§Pack4x8unorm
§Pack2x16snorm
§Pack2x16unorm
§Pack2x16float
§Pack4xI8
§Pack4xU8
§Unpack4x8snorm
§Unpack4x8unorm
§Unpack2x16snorm
§Unpack2x16unorm
§Unpack2x16float
§Unpack4xI8
§Unpack4xU8
Implementations§
source§impl MathFunction
sourcepub const fn argument_count(&self) -> usize
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for MathFunction
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for MathFunction
source§fn clone(&self) -> MathFunction
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for MathFunction
source§impl<'de> Deserialize<'de> for MathFunction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for MathFunction
source§impl Ord for MathFunction
source§impl Ord for MathFunction
source§fn cmp(&self, other: &MathFunction) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for MathFunction
source§impl PartialEq for MathFunction
source§fn eq(&self, other: &MathFunction) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for MathFunction
source§impl PartialOrd for MathFunction
source§fn partial_cmp(&self, other: &MathFunction) -> Option<Ordering>
1.0.0 · source§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 moresource§impl Serialize for MathFunction
source§impl Copy for MathFunction
source§impl Eq for MathFunction
source§impl StructuralEq for MathFunction
source§impl StructuralPartialEq for MathFunction
Auto Trait Implementations§
§impl RefUnwindSafe for MathFunction
§impl Send for MathFunction
§impl Sync for MathFunction
§impl Unpin for MathFunction
§impl UnwindSafe for MathFunction
Blanket Implementations§
source§impl Serialize for MathFunction
source§impl Copy for MathFunction
source§impl Eq for MathFunction
source§impl StructuralEq for MathFunction
source§impl StructuralPartialEq for MathFunction
Auto Trait Implementations§
§impl RefUnwindSafe for MathFunction
§impl Send for MathFunction
§impl Sync for MathFunction
§impl Unpin for MathFunction
§impl UnwindSafe for MathFunction
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.PredeclaredType.html b/doc/naga/enum.PredeclaredType.html
index 11e83e63c597..ad0cec34901e 100644
--- a/doc/naga/enum.PredeclaredType.html
+++ b/doc/naga/enum.PredeclaredType.html
@@ -1,5 +1,5 @@
PredeclaredType in naga - Rust
- Enum naga::PredeclaredType
source · pub enum PredeclaredType {
+ Enum naga::PredeclaredType
source · pub enum PredeclaredType {
AtomicCompareExchangeWeakResult(Scalar),
ModfResult {
size: Option<VectorSize>,
@@ -12,15 +12,15 @@
}
Expand description
Return types predeclared for the frexp, modf, and atomicCompareExchangeWeak built-in functions.
These cannot be spelled in WGSL source.
Stored in SpecialTypes::predeclared_types
and created by Module::generate_predeclared_type
.
-Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for PredeclaredType
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for PredeclaredType
source§fn clone(&self) -> PredeclaredType
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for PredeclaredType
source§impl<'de> Deserialize<'de> for PredeclaredType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for PredeclaredType
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for PredeclaredType
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for PredeclaredType
source§fn clone(&self) -> PredeclaredType
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for PredeclaredType
source§impl<'de> Deserialize<'de> for PredeclaredType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for PredeclaredType
source§impl PartialEq for PredeclaredType
source§impl PartialEq for PredeclaredType
source§fn eq(&self, other: &PredeclaredType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PredeclaredType
source§impl Eq for PredeclaredType
source§impl StructuralEq for PredeclaredType
source§impl StructuralPartialEq for PredeclaredType
Auto Trait Implementations§
§impl RefUnwindSafe for PredeclaredType
§impl Send for PredeclaredType
§impl Sync for PredeclaredType
§impl Unpin for PredeclaredType
§impl UnwindSafe for PredeclaredType
Blanket Implementations§
source§impl Serialize for PredeclaredType
source§impl Eq for PredeclaredType
source§impl StructuralEq for PredeclaredType
source§impl StructuralPartialEq for PredeclaredType
Auto Trait Implementations§
§impl RefUnwindSafe for PredeclaredType
§impl Send for PredeclaredType
§impl Sync for PredeclaredType
§impl Unpin for PredeclaredType
§impl UnwindSafe for PredeclaredType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Equivalent<K> for Qwhere
diff --git a/doc/naga/enum.RayQueryFunction.html b/doc/naga/enum.RayQueryFunction.html
index b1131464e736..641d3454c0fa 100644
--- a/doc/naga/enum.RayQueryFunction.html
+++ b/doc/naga/enum.RayQueryFunction.html
@@ -1,5 +1,5 @@
RayQueryFunction in naga - Rust
- Enum naga::RayQueryFunction
source · pub enum RayQueryFunction {
+ Enum naga::RayQueryFunction
source · pub enum RayQueryFunction {
Initialize {
acceleration_structure: Handle<Expression>,
descriptor: Handle<Expression>,
@@ -20,10 +20,10 @@
After executing this statement, the result
expression is a
Bool
scalar indicating whether there are more intersection
candidates to consider.
-
§Terminate
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for RayQueryFunction
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for RayQueryFunction
source§fn clone(&self) -> RayQueryFunction
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for RayQueryFunction
source§impl<'de> Deserialize<'de> for RayQueryFunction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Serialize for RayQueryFunction
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for RayQueryFunction
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for RayQueryFunction
source§fn clone(&self) -> RayQueryFunction
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for RayQueryFunction
source§impl<'de> Deserialize<'de> for RayQueryFunction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for RayQueryFunction
§impl Send for RayQueryFunction
§impl Sync for RayQueryFunction
§impl Unpin for RayQueryFunction
§impl UnwindSafe for RayQueryFunction
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/naga/enum.RelationalFunction.html b/doc/naga/enum.RelationalFunction.html
index b865ccfea243..e387f4da3069 100644
--- a/doc/naga/enum.RelationalFunction.html
+++ b/doc/naga/enum.RelationalFunction.html
@@ -1,24 +1,24 @@
RelationalFunction in naga - Rust
- Enum naga::RelationalFunction
source · pub enum RelationalFunction {
+ Enum naga::RelationalFunction
source · pub enum RelationalFunction {
All,
Any,
IsNan,
IsInf,
}
Expand description
Built-in shader function for testing relation between values.
-Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for RelationalFunction
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
-unstructured data. Read moresource§impl Clone for RelationalFunction
source§fn clone(&self) -> RelationalFunction
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for RelationalFunction
source§impl<'de> Deserialize<'de> for RelationalFunction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for RelationalFunction
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for RelationalFunction
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
+unstructured data. Read moresource§impl Clone for RelationalFunction
source§fn clone(&self) -> RelationalFunction
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for RelationalFunction
source§impl<'de> Deserialize<'de> for RelationalFunction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for RelationalFunction
source§impl Ord for RelationalFunction
source§impl Ord for RelationalFunction
source§fn cmp(&self, other: &RelationalFunction) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for RelationalFunction
source§impl PartialEq for RelationalFunction
source§fn eq(&self, other: &RelationalFunction) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for RelationalFunction
source§impl PartialOrd for RelationalFunction
source§fn partial_cmp(&self, other: &RelationalFunction) -> Option<Ordering>
1.0.0 · source§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 moresource§impl Serialize for RelationalFunction
source§impl Copy for RelationalFunction
source§impl Eq for RelationalFunction
source§impl StructuralEq for RelationalFunction
source§impl StructuralPartialEq for RelationalFunction
Auto Trait Implementations§
§impl RefUnwindSafe for RelationalFunction
§impl Send for RelationalFunction
§impl Sync for RelationalFunction
§impl Unpin for RelationalFunction
§impl UnwindSafe for RelationalFunction
Blanket Implementations§
source§impl Serialize for RelationalFunction
source§impl Copy for RelationalFunction
source§impl Eq for RelationalFunction
source§impl StructuralEq for RelationalFunction
source§impl StructuralPartialEq for RelationalFunction
Auto Trait Implementations§
§impl RefUnwindSafe for RelationalFunction
§impl Send for RelationalFunction
§impl Sync for RelationalFunction
§impl Unpin for RelationalFunction
§impl UnwindSafe for RelationalFunction
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/doc/naga/enum.SampleLevel.html b/doc/naga/enum.SampleLevel.html
index 025b12ec14fa..f693cc0b4dce 100644
--- a/doc/naga/enum.SampleLevel.html
+++ b/doc/naga/enum.SampleLevel.html
@@ -1,5 +1,5 @@
SampleLevel in naga - Rust
- Enum naga::SampleLevel
source · pub enum SampleLevel {
+ Enum naga::SampleLevel
source · pub enum SampleLevel {
Auto,
Zero,
Exact(Handle<Expression>),
@@ -11,13 +11,13 @@
}
Expand description
Sampling modifier to control the level of detail.
All Handle<Expression>
values here refer to an expression in
Function::expressions
.
-Variants§
Implementations§
source§impl SampleLevel
sourcepub const fn implicit_derivatives(&self) -> bool
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for SampleLevel