diff --git a/doc/help.html b/doc/help.html index c99464ca1514..101082aeba87 100644 --- a/doc/help.html +++ b/doc/help.html @@ -1,2 +1,2 @@ -Help -

Rustdoc help

Back
\ No newline at end of file +Help +

Rustdoc help

Back
\ No newline at end of file diff --git a/doc/settings.html b/doc/settings.html index 0e23779b4275..4db3b39e29eb 100644 --- a/doc/settings.html +++ b/doc/settings.html @@ -1,2 +1,2 @@ -Settings -

Rustdoc settings

Back
\ No newline at end of file +Settings +

Rustdoc settings

Back
\ No newline at end of file diff --git a/doc/trait.impl/core/convert/trait.From.js b/doc/trait.impl/core/convert/trait.From.js index 62754f35d8ae..bbc28a153a06 100644 --- a/doc/trait.impl/core/convert/trait.From.js +++ b/doc/trait.impl/core/convert/trait.From.js @@ -1,7 +1,7 @@ (function() {var implementors = { "naga":[["impl From<StorageFormat> for Scalar"],["impl From<LiteralError> for ConstantEvaluatorError"],["impl From<Vec<Error>> for ParseErrors"],["impl From<ShaderStage> for Options"],["impl From<Location> for Span"],["impl From<LiteralError> for ConstExpressionError"],["impl From<WidthError> for LiteralError"],["impl From<Error> for Error"],["impl From<LayoutError> for ValidationError"],["impl From<Vec<Statement>> for Block"],["impl From<WidthError> for TypeError"],["impl From<Literal> for HashableLiteral"],["impl From<Range<usize>> for Span"],["impl From<TokenValue> for ExpectedToken"],["impl From<ResolveError> for ExpressionError"],["impl From<ResolveError> for ConstExpressionError"],["impl From<Error> for Error"],["impl From<ConstantEvaluatorError> for ErrorKind"],["impl From<ComposeError> for ConstExpressionError"],["impl From<Error> for Error"],["impl From<WithSpan<ValidationError>> for PipelineConstantError"],["impl From<ComposeError> for ExpressionError"],["impl From<Error> for Error"],["impl From<ImageDimension> for Dim"],["impl From<WidthError> for ConstExpressionError"],["impl From<LiteralError> for ExpressionError"],["impl From<Error> for Error"],["impl From<FunctionError> for EntryPointError"],["impl From<StorageFormat> for ImageFormat"],["impl From<VectorSize> for Alignment"],["impl From<IndexableLengthError> for ExpressionError"],["impl From<VaryingError> for EntryPointError"],["impl From<ConstantEvaluatorError> for PipelineConstantError"]], "wgpu":[["impl From<ShaderError<ParseError>> for CompilationInfo"],["impl<'a, T> From<T> for SurfaceTarget<'a>
where\n T: WindowHandle + 'a,
"],["impl From<SourceLocation> for SourceLocation"],["impl From<RequestDeviceError> for RequestDeviceError"],["impl From<CreateShaderModuleError> for CompilationInfo"],["impl From<CreateSurfaceError> for CreateSurfaceError"],["impl From<ShaderError<WithSpan<ValidationError>>> for CompilationInfo"]], -"wgpu_core":[["impl From<MissingFeatures> for CreateShaderModuleError"],["impl From<BindError> for ComputePassErrorInner"],["impl From<DeviceError> for CreateShaderModuleError"],["impl From<MissingDownlevelFlags> for TransferError"],["impl From<Box<BinderError>> for DrawError"],["impl From<DeviceError> for ConfigureSurfaceError"],["impl From<DeviceError> for ClearError"],["impl From<CreateTextureViewError> for CreateTextureError"],["impl From<ImplicitLayoutError> for CreateComputePipelineError"],["impl From<MissingFeatures> for CreateRenderPipelineError"],["impl From<CreateBindGroupLayoutError> for ImplicitLayoutError"],["impl From<InvalidResourceError> for CreateBindGroupError"],["impl From<Box<BinderError>> for DispatchError"],["impl From<DeviceError> for CreateSamplerError"],["impl From<InvalidResourceError> for StageError"],["impl From<TransferError> for CopyError"],["impl From<BufferAccessError> for QueueSubmitError"],["impl From<InvalidResourceError> for CreateTextureViewError"],["impl From<ClearError> for TransferError"],["impl From<CommandEncoderError> for BuildAccelerationStructureError"],["impl From<WaitIdleError> for ConfigureSurfaceError"],["impl From<DeviceError> for CreateTextureViewError"],["impl From<InvalidResourceError> for CommandEncoderError"],["impl From<DeviceError> for WaitIdleError"],["impl From<MissingFeatures> for CreateTextureViewError"],["impl From<MissingDownlevelFlags> for ConfigureSurfaceError"],["impl From<CommandEncoderError> for ClearError"],["impl From<ColorAttachmentError> for CommandEncoderError"],["impl From<TextureDimensionError> for CreateTextureError"],["impl From<&BindingType> for BindingTypeName"],["impl From<DestroyedResourceError> for QueueWriteError"],["impl From<QueryUseError> for RenderPassErrorInner"],["impl From<InvalidResourceError> for CreatePipelineLayoutError"],["impl From<InvalidResourceError> for QueryError"],["impl From<MissingFeatures> for QueryError"],["impl From<MissingTextureUsageError> for RenderPassErrorInner"],["impl From<InvalidResourceError> for RenderPassErrorInner"],["impl From<DeviceError> for CommandEncoderError"],["impl From<DeviceError> for CreateQuerySetError"],["impl From<CommandEncoderError> for QueueSubmitError"],["impl From<DeviceError> for CreateRenderPipelineError"],["impl From<RenderPassCompatibilityError> for RenderPassErrorInner"],["impl From<ValidateTlasActionsError> for QueueSubmitError"],["impl From<MissingFeatures> for CreateSamplerError"],["impl From<DestroyedResourceError> for BufferAccessError"],["impl From<BindError> for RenderPassErrorInner"],["impl From<MissingFeatures> for CreatePipelineCacheError"],["impl From<DeviceError> for CreateTextureError"],["impl From<MissingBufferUsageError> for ComputePassErrorInner"],["impl From<StageError> for CreateComputePipelineError"],["impl From<MissingBufferUsageError> for BufferAccessError"],["impl From<PushConstantUploadError> for RenderCommandError"],["impl From<MissingDownlevelFlags> for CreateRenderPipelineError"],["impl From<CommandEncoderError> for RenderPassErrorInner"],["impl From<CommandEncoderError> for ComputePassErrorInner"],["impl From<DeviceError> for QueryUseError"],["impl From<CreateBufferError> for CreateTlasError"],["impl From<ValidateBlasActionsError> for QueueSubmitError"],["impl From<DeviceError> for CreateTlasError"],["impl From<DeviceError> for CreateBindGroupError"],["impl From<DestroyedResourceError> for ExecutionError"],["impl From<MissingDownlevelFlags> for CreateComputePipelineError"],["impl From<ColorAttachmentError> for CreateRenderBundleError"],["impl From<PushConstantUploadError> for ComputePassErrorInner"],["impl From<DeviceError> for CopyError"],["impl From<DeviceError> for RenderPassErrorInner"],["impl From<DeviceError> for QueueSubmitError"],["impl From<InvalidResourceError> for CreateComputePipelineError"],["impl From<MissingFeatures> for CreatePipelineLayoutError"],["impl From<MissingFeatures> for RenderPassErrorInner"],["impl From<QueryType> for SimplifiedQueryType"],["impl From<DestroyedResourceError> for QueueSubmitError"],["impl From<DeviceError> for CreateComputePipelineError"],["impl From<DeviceError> for CreatePipelineCacheError"],["impl From<CreateBufferError> for CreateBlasError"],["impl From<BufferAccessError> for CreateBufferError"],["impl From<CommandEncoderError> for CopyError"],["impl From<ImplicitLayoutError> for CreateRenderPipelineError"],["impl From<DrawError> for RenderPassErrorInner"],["impl From<DeviceError> for BufferAccessError"],["impl From<InvalidResourceError> for BufferAccessError"],["impl From<InvalidResourceError> for ClearError"],["impl From<DestroyedResourceError> for ComputePassErrorInner"],["impl From<ClearError> for QueueWriteError"],["impl From<Box<DeviceMismatch>> for DeviceError"],["impl From<QueryUseError> for CommandEncoderError"],["impl From<ColorAttachmentError> for RenderPassErrorInner"],["impl From<MissingDownlevelFlags> for RenderPassErrorInner"],["impl From<DeviceError> for CreatePipelineLayoutError"],["impl From<ShaderError<ParseError>> for CreateShaderModuleError"],["impl From<InvalidResourceError> for CreateRenderPipelineError"],["impl From<CommandEncoderError> for QueryError"],["impl From<QueryUseError> for ComputePassErrorInner"],["impl From<LateMinBufferBindingSizeMismatch> for DrawError"],["impl From<MissingBufferUsageError> for ClearError"],["impl From<MissingFeatures> for CreateQuerySetError"],["impl From<InvalidResourceError> for GetBindGroupLayoutError"],["impl From<InvalidResourceError> for DestroyError"],["impl From<FailedLimit> for RequestDeviceError"],["impl From<DestroyedResourceError> for RenderCommandError"],["impl From<MissingBufferUsageError> for RenderPassErrorInner"],["impl From<MissingDownlevelFlags> for BindGroupLayoutEntryError"],["impl From<MissingBufferUsageError> for RenderCommandError"],["impl From<DispatchError> for ComputePassErrorInner"],["impl From<MissingFeatures> for CommandEncoderError"],["impl From<MissingTextureUsageError> for CreateBindGroupError"],["impl From<DeviceError> for SurfaceError"],["impl From<PipelineCacheValidationError> for CreatePipelineCacheError"],["impl From<MissingDownlevelFlags> for CreateTextureError"],["impl From<RenderPassCompatibilityError> for RenderCommandError"],["impl From<MissingBufferUsageError> for CreateBindGroupError"],["impl From<DeviceError> for CreateBufferError"],["impl From<InvalidResourceError> for ComputePassErrorInner"],["impl From<DeviceError> for RequestDeviceError"],["impl From<TransferError> for QueueWriteError"],["impl From<DeviceError> for BuildAccelerationStructureError"],["impl From<ColorAttachmentError> for CreateRenderPipelineError"],["impl From<CreatePipelineLayoutError> for ImplicitLayoutError"],["impl From<RenderCommandError> for RenderPassErrorInner"],["impl From<MissingFeatures> for BindGroupLayoutEntryError"],["impl From<DestroyedResourceError> for CreateTextureViewError"],["impl From<DestroyedResourceError> for CreateBindGroupError"],["impl From<InvalidResourceError> for QueueSubmitError"],["impl From<MissingTextureUsageError> for TransferError"],["impl From<MissingFeatures> for ComputePassErrorInner"],["impl From<DestroyedResourceError> for QueryError"],["impl From<MissingBufferUsageError> for TransferError"],["impl From<MissingBufferUsageError> for ResolveError"],["impl From<QueryUseError> for QueryError"],["impl From<DeviceError> for QueryError"],["impl From<LateMinBufferBindingSizeMismatch> for DispatchError"],["impl From<ResolveError> for QueryError"],["impl From<InvalidResourceError> for CopyError"],["impl From<ShaderError<WithSpan<ValidationError>>> for CreateShaderModuleError"],["impl From<DeviceError> for ComputePassErrorInner"],["impl From<DestroyedResourceError> for CopyError"],["impl From<DestroyedResourceError> for ClearError"],["impl From<MissingDownlevelFlags> for ComputePassErrorInner"],["impl From<MissingDownlevelFlags> for CreateBufferError"],["impl From<InvalidResourceError> for QueueWriteError"],["impl From<DestroyedResourceError> for RenderPassErrorInner"],["impl From<AttachmentError> for CommandEncoderError"],["impl From<DeviceError> for QueueWriteError"],["impl From<DeviceError> for CreateBindGroupLayoutError"],["impl From<DeviceError> for CreateBlasError"],["impl From<MissingTextureUsageError> for RenderCommandError"],["impl From<DepthStencilStateError> for CreateRenderPipelineError"]], +"wgpu_core":[["impl From<MissingFeatures> for CreateShaderModuleError"],["impl From<BindError> for ComputePassErrorInner"],["impl From<DeviceError> for CreateShaderModuleError"],["impl From<MissingDownlevelFlags> for TransferError"],["impl From<Box<BinderError>> for DrawError"],["impl From<DeviceError> for ConfigureSurfaceError"],["impl From<DeviceError> for ClearError"],["impl From<CreateTextureViewError> for CreateTextureError"],["impl From<ImplicitLayoutError> for CreateComputePipelineError"],["impl From<MissingFeatures> for CreateRenderPipelineError"],["impl From<CreateBindGroupLayoutError> for ImplicitLayoutError"],["impl From<InvalidResourceError> for CreateBindGroupError"],["impl From<Box<BinderError>> for DispatchError"],["impl From<DeviceError> for CreateSamplerError"],["impl From<InvalidResourceError> for StageError"],["impl From<TransferError> for CopyError"],["impl From<BufferAccessError> for QueueSubmitError"],["impl From<InvalidResourceError> for CreateTextureViewError"],["impl From<ClearError> for TransferError"],["impl From<CommandEncoderError> for BuildAccelerationStructureError"],["impl From<WaitIdleError> for ConfigureSurfaceError"],["impl From<DeviceError> for CreateTextureViewError"],["impl From<InvalidResourceError> for CommandEncoderError"],["impl From<DeviceError> for WaitIdleError"],["impl From<MissingFeatures> for CreateTextureViewError"],["impl From<MissingDownlevelFlags> for ConfigureSurfaceError"],["impl From<CommandEncoderError> for ClearError"],["impl From<ColorAttachmentError> for CommandEncoderError"],["impl From<TextureDimensionError> for CreateTextureError"],["impl From<&BindingType> for BindingTypeName"],["impl From<DestroyedResourceError> for QueueWriteError"],["impl From<QueryUseError> for RenderPassErrorInner"],["impl From<InvalidResourceError> for CreatePipelineLayoutError"],["impl From<InvalidResourceError> for QueryError"],["impl From<MissingFeatures> for QueryError"],["impl From<MissingTextureUsageError> for RenderPassErrorInner"],["impl From<InvalidResourceError> for RenderPassErrorInner"],["impl From<DeviceError> for CommandEncoderError"],["impl From<DeviceError> for CreateQuerySetError"],["impl From<CommandEncoderError> for QueueSubmitError"],["impl From<DeviceError> for CreateRenderPipelineError"],["impl From<RenderPassCompatibilityError> for RenderPassErrorInner"],["impl From<ValidateTlasActionsError> for QueueSubmitError"],["impl From<MissingFeatures> for CreateSamplerError"],["impl From<DestroyedResourceError> for BufferAccessError"],["impl From<BindError> for RenderPassErrorInner"],["impl From<MissingFeatures> for CreatePipelineCacheError"],["impl From<DeviceError> for CreateTextureError"],["impl From<MissingBufferUsageError> for ComputePassErrorInner"],["impl From<StageError> for CreateComputePipelineError"],["impl From<MissingBufferUsageError> for BufferAccessError"],["impl From<PushConstantUploadError> for RenderCommandError"],["impl From<MissingDownlevelFlags> for CreateRenderPipelineError"],["impl From<CommandEncoderError> for RenderPassErrorInner"],["impl From<CommandEncoderError> for ComputePassErrorInner"],["impl From<DeviceError> for QueryUseError"],["impl From<CreateBufferError> for CreateTlasError"],["impl From<ValidateBlasActionsError> for QueueSubmitError"],["impl From<DeviceError> for CreateTlasError"],["impl From<DeviceError> for CreateBindGroupError"],["impl From<DestroyedResourceError> for ExecutionError"],["impl From<MissingDownlevelFlags> for CreateComputePipelineError"],["impl From<ColorAttachmentError> for CreateRenderBundleError"],["impl From<PushConstantUploadError> for ComputePassErrorInner"],["impl From<DeviceError> for CopyError"],["impl From<DeviceError> for RenderPassErrorInner"],["impl From<DeviceError> for QueueSubmitError"],["impl From<InvalidResourceError> for CreateComputePipelineError"],["impl From<MissingFeatures> for CreatePipelineLayoutError"],["impl From<MissingFeatures> for RenderPassErrorInner"],["impl From<QueryType> for SimplifiedQueryType"],["impl From<DestroyedResourceError> for QueueSubmitError"],["impl From<DeviceError> for CreateComputePipelineError"],["impl From<DeviceError> for CreatePipelineCacheError"],["impl From<CreateBufferError> for CreateBlasError"],["impl From<BufferAccessError> for CreateBufferError"],["impl From<CommandEncoderError> for CopyError"],["impl From<ImplicitLayoutError> for CreateRenderPipelineError"],["impl From<DrawError> for RenderPassErrorInner"],["impl From<DeviceError> for BufferAccessError"],["impl From<InvalidResourceError> for BufferAccessError"],["impl From<InvalidResourceError> for ClearError"],["impl From<DestroyedResourceError> for ComputePassErrorInner"],["impl From<ClearError> for QueueWriteError"],["impl From<Box<DeviceMismatch>> for DeviceError"],["impl From<QueryUseError> for CommandEncoderError"],["impl From<ColorAttachmentError> for RenderPassErrorInner"],["impl From<MissingDownlevelFlags> for RenderPassErrorInner"],["impl From<DeviceError> for CreatePipelineLayoutError"],["impl From<ShaderError<ParseError>> for CreateShaderModuleError"],["impl From<InvalidResourceError> for CreateRenderPipelineError"],["impl From<CommandEncoderError> for QueryError"],["impl From<QueryUseError> for ComputePassErrorInner"],["impl From<LateMinBufferBindingSizeMismatch> for DrawError"],["impl From<MissingBufferUsageError> for ClearError"],["impl From<MissingFeatures> for CreateQuerySetError"],["impl From<InvalidResourceError> for GetBindGroupLayoutError"],["impl From<InvalidResourceError> for DestroyError"],["impl From<FailedLimit> for RequestDeviceError"],["impl From<DestroyedResourceError> for RenderCommandError"],["impl From<MissingBufferUsageError> for RenderPassErrorInner"],["impl From<MissingDownlevelFlags> for BindGroupLayoutEntryError"],["impl From<MissingBufferUsageError> for RenderCommandError"],["impl From<DispatchError> for ComputePassErrorInner"],["impl From<MissingFeatures> for CommandEncoderError"],["impl From<MissingTextureUsageError> for CreateBindGroupError"],["impl From<DeviceError> for SurfaceError"],["impl From<PipelineCacheValidationError> for CreatePipelineCacheError"],["impl From<MissingDownlevelFlags> for CreateTextureError"],["impl From<RenderPassCompatibilityError> for RenderCommandError"],["impl From<MissingBufferUsageError> for CreateBindGroupError"],["impl From<DeviceError> for CreateBufferError"],["impl From<InvalidResourceError> for ComputePassErrorInner"],["impl From<DeviceError> for RequestDeviceError"],["impl From<TransferError> for QueueWriteError"],["impl From<DeviceError> for BuildAccelerationStructureError"],["impl From<ColorAttachmentError> for CreateRenderPipelineError"],["impl From<CreatePipelineLayoutError> for ImplicitLayoutError"],["impl From<RenderCommandError> for RenderPassErrorInner"],["impl From<MissingFeatures> for BindGroupLayoutEntryError"],["impl From<DestroyedResourceError> for CreateTextureViewError"],["impl From<DestroyedResourceError> for CreateBindGroupError"],["impl From<InvalidResourceError> for QueueSubmitError"],["impl From<MissingTextureUsageError> for TransferError"],["impl From<MissingFeatures> for ComputePassErrorInner"],["impl From<DestroyedResourceError> for QueryError"],["impl From<MissingBufferUsageError> for TransferError"],["impl From<MissingBufferUsageError> for ResolveError"],["impl From<QueryUseError> for QueryError"],["impl From<DeviceError> for QueryError"],["impl From<LateMinBufferBindingSizeMismatch> for DispatchError"],["impl From<ResolveError> for QueryError"],["impl From<InvalidResourceError> for CopyError"],["impl From<ShaderError<WithSpan<ValidationError>>> for CreateShaderModuleError"],["impl From<DeviceError> for ComputePassErrorInner"],["impl From<DestroyedResourceError> for CopyError"],["impl From<DestroyedResourceError> for ClearError"],["impl From<MissingDownlevelFlags> for ComputePassErrorInner"],["impl From<MissingDownlevelFlags> for CreateBufferError"],["impl From<InvalidResourceError> for QueueWriteError"],["impl From<DestroyedResourceError> for RenderPassErrorInner"],["impl From<AttachmentError> for CommandEncoderError"],["impl From<DeviceError> for QueueWriteError"],["impl From<DeviceError> for CreateBindGroupLayoutError"],["impl From<DeviceError> for CreateBlasError"],["impl From<MissingTextureUsageError> for RenderCommandError"],["impl From<DepthStencilStateError> for CreateRenderPipelineError"]], "wgpu_hal":[["impl From<DeviceError> for ShaderError"],["impl<A: Api> From<ExposedAdapter<A>> for DynExposedAdapter"],["impl From<DeviceError> for PipelineCacheError"],["impl From<DeviceError> for PipelineError"],["impl<A: Api> From<OpenDevice<A>> for DynOpenDevice"],["impl From<AllocationError> for DeviceError"],["impl From<DeviceError> for SurfaceError"],["impl From<AllocationError> for DeviceError"],["impl From<TextureFormat> for FormatAspects"],["impl From<MapError> for DeviceError"]], "wgpu_types":[["impl From<TextureFormat> for ColorTargetState"],["impl From<Backend> for Backends"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/doc/type.impl/wgpu/enum.MaintainBase.js b/doc/type.impl/wgpu/enum.MaintainBase.js index de176595b110..0abb1427d14e 100644 --- a/doc/type.impl/wgpu/enum.MaintainBase.js +++ b/doc/type.impl/wgpu/enum.MaintainBase.js @@ -1,3 +1,3 @@ (function() {var type_impls = { -"wgpu":[["
source§

impl<T> Maintain<T>

source

pub fn wait() -> Maintain<T>

Construct a wait variant

\n
source

pub fn wait_for(submission_index: T) -> Maintain<T>

Construct a WaitForSubmissionIndex variant

\n
source

pub fn is_wait(&self) -> bool

This maintain represents a wait of some kind.

\n
source

pub fn map_index<U, F>(self, func: F) -> Maintain<U>
where\n F: FnOnce(T) -> U,

Map on the wait index type.

\n
",0,"wgpu::api::queue::Maintain"],["
source§

impl<T> Clone for Maintain<T>
where\n T: Clone,

source§

fn clone(&self) -> Maintain<T>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu::api::queue::Maintain"],["
source§

impl<T> Debug for Maintain<T>
where\n T: Debug,

source§

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

Formats the value using the given formatter. Read more
","Debug","wgpu::api::queue::Maintain"]] +"wgpu":[["
§

impl<T> Maintain<T>

pub fn wait() -> Maintain<T>

Construct a wait variant

\n

pub fn wait_for(submission_index: T) -> Maintain<T>

Construct a WaitForSubmissionIndex variant

\n

pub fn is_wait(&self) -> bool

This maintain represents a wait of some kind.

\n

pub fn map_index<U, F>(self, func: F) -> Maintain<U>
where\n F: FnOnce(T) -> U,

Map on the wait index type.

\n
",0,"wgpu::api::queue::Maintain"],["
§

impl<T> Clone for Maintain<T>
where\n T: Clone,

§

fn clone(&self) -> Maintain<T>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu::api::queue::Maintain"],["
§

impl<T> Debug for Maintain<T>
where\n T: Debug,

§

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

Formats the value using the given formatter. Read more
","Debug","wgpu::api::queue::Maintain"]] };if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file diff --git a/doc/type.impl/wgpu/struct.RequestAdapterOptionsBase.js b/doc/type.impl/wgpu/struct.RequestAdapterOptionsBase.js index a59a8bd1e2d3..c44d263b6efd 100644 --- a/doc/type.impl/wgpu/struct.RequestAdapterOptionsBase.js +++ b/doc/type.impl/wgpu/struct.RequestAdapterOptionsBase.js @@ -1,3 +1,3 @@ (function() {var type_impls = { -"wgpu":[["
source§

impl<'de, S> Deserialize<'de> for RequestAdapterOptions<S>
where\n S: Deserialize<'de>,

source§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<RequestAdapterOptions<S>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu::api::adapter::RequestAdapterOptions"],["
source§

impl<S> PartialEq for RequestAdapterOptions<S>
where\n S: PartialEq,

source§

fn eq(&self, other: &RequestAdapterOptions<S>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","wgpu::api::adapter::RequestAdapterOptions"],["
source§

impl<S> StructuralEq for RequestAdapterOptions<S>

","StructuralEq","wgpu::api::adapter::RequestAdapterOptions"],["
source§

impl<S> Clone for RequestAdapterOptions<S>
where\n S: Clone,

source§

fn clone(&self) -> RequestAdapterOptions<S>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu::api::adapter::RequestAdapterOptions"],["
source§

impl<S> Serialize for RequestAdapterOptions<S>
where\n S: Serialize,

source§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu::api::adapter::RequestAdapterOptions"],["
source§

impl<S> Debug for RequestAdapterOptions<S>
where\n S: Debug,

source§

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

Formats the value using the given formatter. Read more
","Debug","wgpu::api::adapter::RequestAdapterOptions"],["
source§

impl<S> Default for RequestAdapterOptions<S>

source§

fn default() -> RequestAdapterOptions<S>

Returns the “default value” for a type. Read more
","Default","wgpu::api::adapter::RequestAdapterOptions"],["
source§

impl<S> StructuralPartialEq for RequestAdapterOptions<S>

","StructuralPartialEq","wgpu::api::adapter::RequestAdapterOptions"],["
source§

impl<S> Eq for RequestAdapterOptions<S>
where\n S: Eq,

","Eq","wgpu::api::adapter::RequestAdapterOptions"],["
source§

impl<S> Hash for RequestAdapterOptions<S>
where\n S: Hash,

source§

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

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

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

Feeds a slice of this type into the given Hasher. Read more
","Hash","wgpu::api::adapter::RequestAdapterOptions"]] +"wgpu":[["
§

impl<'de, S> Deserialize<'de> for RequestAdapterOptions<S>
where\n S: Deserialize<'de>,

§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<RequestAdapterOptions<S>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu::api::adapter::RequestAdapterOptions"],["
§

impl<S> PartialEq for RequestAdapterOptions<S>
where\n S: PartialEq,

§

fn eq(&self, other: &RequestAdapterOptions<S>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","wgpu::api::adapter::RequestAdapterOptions"],["
§

impl<S> StructuralEq for RequestAdapterOptions<S>

","StructuralEq","wgpu::api::adapter::RequestAdapterOptions"],["
§

impl<S> Clone for RequestAdapterOptions<S>
where\n S: Clone,

§

fn clone(&self) -> RequestAdapterOptions<S>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu::api::adapter::RequestAdapterOptions"],["
§

impl<S> Serialize for RequestAdapterOptions<S>
where\n S: Serialize,

§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu::api::adapter::RequestAdapterOptions"],["
§

impl<S> Debug for RequestAdapterOptions<S>
where\n S: Debug,

§

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

Formats the value using the given formatter. Read more
","Debug","wgpu::api::adapter::RequestAdapterOptions"],["
§

impl<S> Default for RequestAdapterOptions<S>

§

fn default() -> RequestAdapterOptions<S>

Returns the “default value” for a type. Read more
","Default","wgpu::api::adapter::RequestAdapterOptions"],["
§

impl<S> StructuralPartialEq for RequestAdapterOptions<S>

","StructuralPartialEq","wgpu::api::adapter::RequestAdapterOptions"],["
§

impl<S> Eq for RequestAdapterOptions<S>
where\n S: Eq,

","Eq","wgpu::api::adapter::RequestAdapterOptions"],["
§

impl<S> Hash for RequestAdapterOptions<S>
where\n S: Hash,

§

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

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

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

Feeds a slice of this type into the given Hasher. Read more
","Hash","wgpu::api::adapter::RequestAdapterOptions"]] };if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file diff --git a/doc/type.impl/wgpu/struct.TexelCopyBufferInfoBase.js b/doc/type.impl/wgpu/struct.TexelCopyBufferInfoBase.js index 64b0ff2a6e09..c29818c95e54 100644 --- a/doc/type.impl/wgpu/struct.TexelCopyBufferInfoBase.js +++ b/doc/type.impl/wgpu/struct.TexelCopyBufferInfoBase.js @@ -1,3 +1,3 @@ (function() {var type_impls = { -"wgpu":[["
source§

impl<'de, B> Deserialize<'de> for TexelCopyBufferInfo<B>
where\n B: Deserialize<'de>,

source§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<TexelCopyBufferInfo<B>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu::api::command_encoder::TexelCopyBufferInfo","wgpu::ImageCopyBuffer"],["
source§

impl<B> Clone for TexelCopyBufferInfo<B>
where\n B: Clone,

source§

fn clone(&self) -> TexelCopyBufferInfo<B>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu::api::command_encoder::TexelCopyBufferInfo","wgpu::ImageCopyBuffer"],["
source§

impl<B> Serialize for TexelCopyBufferInfo<B>
where\n B: Serialize,

source§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu::api::command_encoder::TexelCopyBufferInfo","wgpu::ImageCopyBuffer"],["
source§

impl<B> Copy for TexelCopyBufferInfo<B>
where\n B: Copy,

","Copy","wgpu::api::command_encoder::TexelCopyBufferInfo","wgpu::ImageCopyBuffer"],["
source§

impl<B> Debug for TexelCopyBufferInfo<B>
where\n B: Debug,

source§

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

Formats the value using the given formatter. Read more
","Debug","wgpu::api::command_encoder::TexelCopyBufferInfo","wgpu::ImageCopyBuffer"]] +"wgpu":[["
§

impl<'de, B> Deserialize<'de> for TexelCopyBufferInfo<B>
where\n B: Deserialize<'de>,

§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<TexelCopyBufferInfo<B>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu::api::command_encoder::TexelCopyBufferInfo","wgpu::ImageCopyBuffer"],["
§

impl<B> Clone for TexelCopyBufferInfo<B>
where\n B: Clone,

§

fn clone(&self) -> TexelCopyBufferInfo<B>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu::api::command_encoder::TexelCopyBufferInfo","wgpu::ImageCopyBuffer"],["
§

impl<B> Serialize for TexelCopyBufferInfo<B>
where\n B: Serialize,

§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu::api::command_encoder::TexelCopyBufferInfo","wgpu::ImageCopyBuffer"],["
§

impl<B> Copy for TexelCopyBufferInfo<B>
where\n B: Copy,

","Copy","wgpu::api::command_encoder::TexelCopyBufferInfo","wgpu::ImageCopyBuffer"],["
§

impl<B> Debug for TexelCopyBufferInfo<B>
where\n B: Debug,

§

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

Formats the value using the given formatter. Read more
","Debug","wgpu::api::command_encoder::TexelCopyBufferInfo","wgpu::ImageCopyBuffer"]] };if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file diff --git a/doc/type.impl/wgpu/struct.TexelCopyBufferLayout.js b/doc/type.impl/wgpu/struct.TexelCopyBufferLayout.js index d36ab8688c08..f1f4b4acbb4d 100644 --- a/doc/type.impl/wgpu/struct.TexelCopyBufferLayout.js +++ b/doc/type.impl/wgpu/struct.TexelCopyBufferLayout.js @@ -1,3 +1,3 @@ (function() {var type_impls = { -"wgpu":[["
source§

impl<'de> Deserialize<'de> for TexelCopyBufferLayout

source§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<TexelCopyBufferLayout, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu::ImageDataLayout"],["
source§

impl Clone for TexelCopyBufferLayout

source§

fn clone(&self) -> TexelCopyBufferLayout

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu::ImageDataLayout"],["
source§

impl Serialize for TexelCopyBufferLayout

source§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu::ImageDataLayout"],["
source§

impl Copy for TexelCopyBufferLayout

","Copy","wgpu::ImageDataLayout"],["
source§

impl Debug for TexelCopyBufferLayout

source§

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

Formats the value using the given formatter. Read more
","Debug","wgpu::ImageDataLayout"],["
source§

impl Default for TexelCopyBufferLayout

source§

fn default() -> TexelCopyBufferLayout

Returns the “default value” for a type. Read more
","Default","wgpu::ImageDataLayout"]] +"wgpu":[["
§

impl<'de> Deserialize<'de> for TexelCopyBufferLayout

§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<TexelCopyBufferLayout, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu::ImageDataLayout"],["
§

impl Clone for TexelCopyBufferLayout

§

fn clone(&self) -> TexelCopyBufferLayout

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu::ImageDataLayout"],["
§

impl Serialize for TexelCopyBufferLayout

§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu::ImageDataLayout"],["
§

impl Copy for TexelCopyBufferLayout

","Copy","wgpu::ImageDataLayout"],["
§

impl Debug for TexelCopyBufferLayout

§

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

Formats the value using the given formatter. Read more
","Debug","wgpu::ImageDataLayout"],["
§

impl Default for TexelCopyBufferLayout

§

fn default() -> TexelCopyBufferLayout

Returns the “default value” for a type. Read more
","Default","wgpu::ImageDataLayout"]] };if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file diff --git a/doc/type.impl/wgpu/struct.TexelCopyTextureInfoBase.js b/doc/type.impl/wgpu/struct.TexelCopyTextureInfoBase.js index b75a8105d467..34be2a3817df 100644 --- a/doc/type.impl/wgpu/struct.TexelCopyTextureInfoBase.js +++ b/doc/type.impl/wgpu/struct.TexelCopyTextureInfoBase.js @@ -1,3 +1,3 @@ (function() {var type_impls = { -"wgpu":[["
source§

impl<T> TexelCopyTextureInfo<T>

source

pub fn to_tagged(\n self,\n color_space: PredefinedColorSpace,\n premultiplied_alpha: bool\n) -> CopyExternalImageDestInfo<T>

Adds color space and premultiplied alpha information to make this\ndescriptor tagged.

\n
",0,"wgpu::api::command_encoder::TexelCopyTextureInfo","wgpu::ImageCopyTexture"],["
source§

impl<'de, T> Deserialize<'de> for TexelCopyTextureInfo<T>
where\n T: Deserialize<'de>,

source§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<TexelCopyTextureInfo<T>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu::api::command_encoder::TexelCopyTextureInfo","wgpu::ImageCopyTexture"],["
source§

impl<T> Clone for TexelCopyTextureInfo<T>
where\n T: Clone,

source§

fn clone(&self) -> TexelCopyTextureInfo<T>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu::api::command_encoder::TexelCopyTextureInfo","wgpu::ImageCopyTexture"],["
source§

impl<T> Serialize for TexelCopyTextureInfo<T>
where\n T: Serialize,

source§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu::api::command_encoder::TexelCopyTextureInfo","wgpu::ImageCopyTexture"],["
source§

impl<T> Copy for TexelCopyTextureInfo<T>
where\n T: Copy,

","Copy","wgpu::api::command_encoder::TexelCopyTextureInfo","wgpu::ImageCopyTexture"],["
source§

impl<T> Debug for TexelCopyTextureInfo<T>
where\n T: Debug,

source§

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

Formats the value using the given formatter. Read more
","Debug","wgpu::api::command_encoder::TexelCopyTextureInfo","wgpu::ImageCopyTexture"]] +"wgpu":[["
§

impl<T> TexelCopyTextureInfo<T>

pub fn to_tagged(\n self,\n color_space: PredefinedColorSpace,\n premultiplied_alpha: bool\n) -> CopyExternalImageDestInfo<T>

Adds color space and premultiplied alpha information to make this\ndescriptor tagged.

\n
",0,"wgpu::api::command_encoder::TexelCopyTextureInfo","wgpu::ImageCopyTexture"],["
§

impl<'de, T> Deserialize<'de> for TexelCopyTextureInfo<T>
where\n T: Deserialize<'de>,

§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<TexelCopyTextureInfo<T>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu::api::command_encoder::TexelCopyTextureInfo","wgpu::ImageCopyTexture"],["
§

impl<T> Clone for TexelCopyTextureInfo<T>
where\n T: Clone,

§

fn clone(&self) -> TexelCopyTextureInfo<T>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu::api::command_encoder::TexelCopyTextureInfo","wgpu::ImageCopyTexture"],["
§

impl<T> Serialize for TexelCopyTextureInfo<T>
where\n T: Serialize,

§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu::api::command_encoder::TexelCopyTextureInfo","wgpu::ImageCopyTexture"],["
§

impl<T> Copy for TexelCopyTextureInfo<T>
where\n T: Copy,

","Copy","wgpu::api::command_encoder::TexelCopyTextureInfo","wgpu::ImageCopyTexture"],["
§

impl<T> Debug for TexelCopyTextureInfo<T>
where\n T: Debug,

§

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

Formats the value using the given formatter. Read more
","Debug","wgpu::api::command_encoder::TexelCopyTextureInfo","wgpu::ImageCopyTexture"]] };if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file diff --git a/doc/type.impl/wgpu_types/enum.AccelerationStructureUpdateMode.js b/doc/type.impl/wgpu_types/enum.AccelerationStructureUpdateMode.js index c62babf73c9d..cd7bcdebc73c 100644 --- a/doc/type.impl/wgpu_types/enum.AccelerationStructureUpdateMode.js +++ b/doc/type.impl/wgpu_types/enum.AccelerationStructureUpdateMode.js @@ -1,3 +1,3 @@ (function() {var type_impls = { -"wgpu":[["
source§

impl<'de> Deserialize<'de> for AccelerationStructureUpdateMode

source§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<AccelerationStructureUpdateMode, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu::api::blas::AccelerationStructureUpdateMode"],["
source§

impl PartialEq for AccelerationStructureUpdateMode

source§

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

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","wgpu::api::blas::AccelerationStructureUpdateMode"],["
source§

impl StructuralEq for AccelerationStructureUpdateMode

","StructuralEq","wgpu::api::blas::AccelerationStructureUpdateMode"],["
source§

impl Clone for AccelerationStructureUpdateMode

source§

fn clone(&self) -> AccelerationStructureUpdateMode

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu::api::blas::AccelerationStructureUpdateMode"],["
source§

impl Serialize for AccelerationStructureUpdateMode

source§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu::api::blas::AccelerationStructureUpdateMode"],["
source§

impl Copy for AccelerationStructureUpdateMode

","Copy","wgpu::api::blas::AccelerationStructureUpdateMode"],["
source§

impl Debug for AccelerationStructureUpdateMode

source§

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

Formats the value using the given formatter. Read more
","Debug","wgpu::api::blas::AccelerationStructureUpdateMode"],["
source§

impl StructuralPartialEq for AccelerationStructureUpdateMode

","StructuralPartialEq","wgpu::api::blas::AccelerationStructureUpdateMode"],["
source§

impl Eq for AccelerationStructureUpdateMode

","Eq","wgpu::api::blas::AccelerationStructureUpdateMode"],["
source§

impl Hash for AccelerationStructureUpdateMode

source§

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

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

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

Feeds a slice of this type into the given Hasher. Read more
","Hash","wgpu::api::blas::AccelerationStructureUpdateMode"]] +"wgpu":[["
§

impl<'de> Deserialize<'de> for AccelerationStructureUpdateMode

§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<AccelerationStructureUpdateMode, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu::api::blas::AccelerationStructureUpdateMode"],["
§

impl PartialEq for AccelerationStructureUpdateMode

§

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

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","wgpu::api::blas::AccelerationStructureUpdateMode"],["
§

impl StructuralEq for AccelerationStructureUpdateMode

","StructuralEq","wgpu::api::blas::AccelerationStructureUpdateMode"],["
§

impl Clone for AccelerationStructureUpdateMode

§

fn clone(&self) -> AccelerationStructureUpdateMode

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu::api::blas::AccelerationStructureUpdateMode"],["
§

impl Serialize for AccelerationStructureUpdateMode

§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu::api::blas::AccelerationStructureUpdateMode"],["
§

impl Copy for AccelerationStructureUpdateMode

","Copy","wgpu::api::blas::AccelerationStructureUpdateMode"],["
§

impl Debug for AccelerationStructureUpdateMode

§

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

Formats the value using the given formatter. Read more
","Debug","wgpu::api::blas::AccelerationStructureUpdateMode"],["
§

impl StructuralPartialEq for AccelerationStructureUpdateMode

","StructuralPartialEq","wgpu::api::blas::AccelerationStructureUpdateMode"],["
§

impl Eq for AccelerationStructureUpdateMode

","Eq","wgpu::api::blas::AccelerationStructureUpdateMode"],["
§

impl Hash for AccelerationStructureUpdateMode

§

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

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

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

Feeds a slice of this type into the given Hasher. Read more
","Hash","wgpu::api::blas::AccelerationStructureUpdateMode"]] };if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file diff --git a/doc/type.impl/wgpu_types/enum.BlasGeometrySizeDescriptors.js b/doc/type.impl/wgpu_types/enum.BlasGeometrySizeDescriptors.js index db21eec529f7..a46ce7bbecb3 100644 --- a/doc/type.impl/wgpu_types/enum.BlasGeometrySizeDescriptors.js +++ b/doc/type.impl/wgpu_types/enum.BlasGeometrySizeDescriptors.js @@ -1,3 +1,3 @@ (function() {var type_impls = { -"wgpu":[["
source§

impl<'de> Deserialize<'de> for BlasGeometrySizeDescriptors

source§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<BlasGeometrySizeDescriptors, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu::api::blas::BlasGeometrySizeDescriptors"],["
source§

impl Clone for BlasGeometrySizeDescriptors

source§

fn clone(&self) -> BlasGeometrySizeDescriptors

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu::api::blas::BlasGeometrySizeDescriptors"],["
source§

impl Serialize for BlasGeometrySizeDescriptors

source§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu::api::blas::BlasGeometrySizeDescriptors"],["
source§

impl Debug for BlasGeometrySizeDescriptors

source§

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

Formats the value using the given formatter. Read more
","Debug","wgpu::api::blas::BlasGeometrySizeDescriptors"]] +"wgpu":[["
§

impl<'de> Deserialize<'de> for BlasGeometrySizeDescriptors

§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<BlasGeometrySizeDescriptors, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu::api::blas::BlasGeometrySizeDescriptors"],["
§

impl Clone for BlasGeometrySizeDescriptors

§

fn clone(&self) -> BlasGeometrySizeDescriptors

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu::api::blas::BlasGeometrySizeDescriptors"],["
§

impl Serialize for BlasGeometrySizeDescriptors

§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu::api::blas::BlasGeometrySizeDescriptors"],["
§

impl Debug for BlasGeometrySizeDescriptors

§

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

Formats the value using the given formatter. Read more
","Debug","wgpu::api::blas::BlasGeometrySizeDescriptors"]] };if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file diff --git a/doc/type.impl/wgpu_types/struct.AccelerationStructureFlags.js b/doc/type.impl/wgpu_types/struct.AccelerationStructureFlags.js index b45fcd181cb9..063fceaa309e 100644 --- a/doc/type.impl/wgpu_types/struct.AccelerationStructureFlags.js +++ b/doc/type.impl/wgpu_types/struct.AccelerationStructureFlags.js @@ -1,3 +1,3 @@ (function() {var type_impls = { -"wgpu":[["
source§

impl AccelerationStructureFlags

source

pub const ALLOW_UPDATE: AccelerationStructureFlags = _

Allow for incremental updates (no change in size), currently this is unimplemented\nand will build as normal (this is fine, update vs build should be unnoticeable)

\n
source

pub const ALLOW_COMPACTION: AccelerationStructureFlags = _

Allow the acceleration structure to be compacted in a copy operation, the function\nto compact is not currently implemented.

\n
source

pub const PREFER_FAST_TRACE: AccelerationStructureFlags = _

Optimize for fast ray tracing performance, recommended if the geometry is unlikely\nto change (e.g. in a game: non-interactive scene geometry)

\n
source

pub const PREFER_FAST_BUILD: AccelerationStructureFlags = _

Optimize for fast build time, recommended if geometry is likely to change frequently\n(e.g. in a game: player model).

\n
source

pub const LOW_MEMORY: AccelerationStructureFlags = _

Optimize for low memory footprint (both while building and in the output BLAS).

\n
",0,"wgpu::api::blas::AccelerationStructureFlags"],["
source§

impl AccelerationStructureFlags

source

pub const fn empty() -> AccelerationStructureFlags

Get a flags value with all bits unset.

\n
source

pub const fn all() -> AccelerationStructureFlags

Get a flags value with all known bits set.

\n
source

pub const fn bits(&self) -> u8

Get the underlying bits value.

\n

The returned value is exactly the bits set in this flags value.

\n
source

pub const fn from_bits(bits: u8) -> Option<AccelerationStructureFlags>

Convert from a bits value.

\n

This method will return None if any unknown bits are set.

\n
source

pub const fn from_bits_truncate(bits: u8) -> AccelerationStructureFlags

Convert from a bits value, unsetting any unknown bits.

\n
source

pub const fn from_bits_retain(bits: u8) -> AccelerationStructureFlags

Convert from a bits value exactly.

\n
source

pub fn from_name(name: &str) -> Option<AccelerationStructureFlags>

Get a flags value with the bits of a flag with the given name set.

\n

This method will return None if name is empty or doesn’t\ncorrespond to any named flag.

\n
source

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

\n
source

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

\n
source

pub const fn intersects(&self, other: AccelerationStructureFlags) -> bool

Whether any set bits in a source flags value are also set in a target flags value.

\n
source

pub const fn contains(&self, other: AccelerationStructureFlags) -> bool

Whether all set bits in a source flags value are also set in a target flags value.

\n
source

pub fn insert(&mut self, other: AccelerationStructureFlags)

The bitwise or (|) of the bits in two flags values.

\n
source

pub fn remove(&mut self, other: AccelerationStructureFlags)

The intersection of a source flags value with the complement of a target flags value (&!).

\n

This method is not equivalent to self & !other when other has unknown bits set.\nremove won’t truncate other, but the ! operator will.

\n
source

pub fn toggle(&mut self, other: AccelerationStructureFlags)

The bitwise exclusive-or (^) of the bits in two flags values.

\n
source

pub fn set(&mut self, other: AccelerationStructureFlags, value: bool)

Call insert when value is true or remove when value is false.

\n
source

pub const fn intersection(\n self,\n other: AccelerationStructureFlags\n) -> AccelerationStructureFlags

The bitwise and (&) of the bits in two flags values.

\n
source

pub const fn union(\n self,\n other: AccelerationStructureFlags\n) -> AccelerationStructureFlags

The bitwise or (|) of the bits in two flags values.

\n
source

pub const fn difference(\n self,\n other: AccelerationStructureFlags\n) -> AccelerationStructureFlags

The intersection of a source flags value with the complement of a target flags value (&!).

\n

This method is not equivalent to self & !other when other has unknown bits set.\ndifference won’t truncate other, but the ! operator will.

\n
source

pub const fn symmetric_difference(\n self,\n other: AccelerationStructureFlags\n) -> AccelerationStructureFlags

The bitwise exclusive-or (^) of the bits in two flags values.

\n
source

pub const fn complement(self) -> AccelerationStructureFlags

The bitwise negation (!) of the bits in a flags value, truncating the result.

\n
",0,"wgpu::api::blas::AccelerationStructureFlags"],["
source§

impl AccelerationStructureFlags

source

pub const fn iter(&self) -> Iter<AccelerationStructureFlags>

Yield a set of contained flags values.

\n

Each yielded flags value will correspond to a defined named flag. Any unknown bits\nwill be yielded together as a final flags value.

\n
source

pub const fn iter_names(&self) -> IterNames<AccelerationStructureFlags>

Yield a set of contained named flags values.

\n

This method is like iter, except only yields bits in contained named flags.\nAny unknown bits, or bits not corresponding to a contained flag will not be yielded.

\n
",0,"wgpu::api::blas::AccelerationStructureFlags"],["
source§

impl BitXorAssign for AccelerationStructureFlags

source§

fn bitxor_assign(&mut self, other: AccelerationStructureFlags)

The bitwise exclusive-or (^) of the bits in two flags values.

\n
","BitXorAssign","wgpu::api::blas::AccelerationStructureFlags"],["
source§

impl<'de> Deserialize<'de> for AccelerationStructureFlags

source§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<AccelerationStructureFlags, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu::api::blas::AccelerationStructureFlags"],["
source§

impl PartialEq for AccelerationStructureFlags

source§

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

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","wgpu::api::blas::AccelerationStructureFlags"],["
source§

impl StructuralEq for AccelerationStructureFlags

","StructuralEq","wgpu::api::blas::AccelerationStructureFlags"],["
source§

impl Clone for AccelerationStructureFlags

source§

fn clone(&self) -> AccelerationStructureFlags

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu::api::blas::AccelerationStructureFlags"],["
source§

impl FromIterator<AccelerationStructureFlags> for AccelerationStructureFlags

source§

fn from_iter<T>(iterator: T) -> AccelerationStructureFlags

The bitwise or (|) of the bits in each flags value.

\n
","FromIterator","wgpu::api::blas::AccelerationStructureFlags"],["
source§

impl UpperHex for AccelerationStructureFlags

source§

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

Formats the value using the given formatter.
","UpperHex","wgpu::api::blas::AccelerationStructureFlags"],["
source§

impl Serialize for AccelerationStructureFlags

source§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu::api::blas::AccelerationStructureFlags"],["
source§

impl BitAnd for AccelerationStructureFlags

source§

fn bitand(self, other: AccelerationStructureFlags) -> AccelerationStructureFlags

The bitwise and (&) of the bits in two flags values.

\n
§

type Output = AccelerationStructureFlags

The resulting type after applying the & operator.
","BitAnd","wgpu::api::blas::AccelerationStructureFlags"],["
source§

impl Copy for AccelerationStructureFlags

","Copy","wgpu::api::blas::AccelerationStructureFlags"],["
source§

impl BitOr for AccelerationStructureFlags

source§

fn bitor(self, other: AccelerationStructureFlags) -> AccelerationStructureFlags

The bitwise or (|) of the bits in two flags values.

\n
§

type Output = AccelerationStructureFlags

The resulting type after applying the | operator.
","BitOr","wgpu::api::blas::AccelerationStructureFlags"],["
source§

impl BitOrAssign for AccelerationStructureFlags

source§

fn bitor_assign(&mut self, other: AccelerationStructureFlags)

The bitwise or (|) of the bits in two flags values.

\n
","BitOrAssign","wgpu::api::blas::AccelerationStructureFlags"],["
source§

impl Debug for AccelerationStructureFlags

source§

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

Formats the value using the given formatter. Read more
","Debug","wgpu::api::blas::AccelerationStructureFlags"],["
source§

impl LowerHex for AccelerationStructureFlags

source§

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

Formats the value using the given formatter.
","LowerHex","wgpu::api::blas::AccelerationStructureFlags"],["
source§

impl Extend<AccelerationStructureFlags> for AccelerationStructureFlags

source§

fn extend<T>(&mut self, iterator: T)

The bitwise or (|) of the bits in each flags value.

\n
source§

fn extend_one(&mut self, item: A)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
","Extend","wgpu::api::blas::AccelerationStructureFlags"],["
source§

impl Not for AccelerationStructureFlags

source§

fn not(self) -> AccelerationStructureFlags

The bitwise negation (!) of the bits in a flags value, truncating the result.

\n
§

type Output = AccelerationStructureFlags

The resulting type after applying the ! operator.
","Not","wgpu::api::blas::AccelerationStructureFlags"],["
source§

impl IntoIterator for AccelerationStructureFlags

§

type Item = AccelerationStructureFlags

The type of the elements being iterated over.
§

type IntoIter = Iter<AccelerationStructureFlags>

Which kind of iterator are we turning this into?
source§

fn into_iter(self) -> <AccelerationStructureFlags as IntoIterator>::IntoIter

Creates an iterator from a value. Read more
","IntoIterator","wgpu::api::blas::AccelerationStructureFlags"],["
source§

impl BitXor for AccelerationStructureFlags

source§

fn bitxor(self, other: AccelerationStructureFlags) -> AccelerationStructureFlags

The bitwise exclusive-or (^) of the bits in two flags values.

\n
§

type Output = AccelerationStructureFlags

The resulting type after applying the ^ operator.
","BitXor","wgpu::api::blas::AccelerationStructureFlags"],["
source§

impl Flags for AccelerationStructureFlags

source§

const FLAGS: &'static [Flag<AccelerationStructureFlags>] = _

The set of defined flags.
§

type Bits = u8

The underlying bits type.
source§

fn bits(&self) -> u8

Get the underlying bits value. Read more
source§

fn from_bits_retain(bits: u8) -> AccelerationStructureFlags

Convert from a bits value exactly.
§

fn empty() -> Self

Get a flags value with all bits unset.
§

fn all() -> Self

Get a flags value with all known bits set.
§

fn from_bits(bits: Self::Bits) -> Option<Self>

Convert from a bits value. Read more
§

fn from_bits_truncate(bits: Self::Bits) -> Self

Convert from a bits value, unsetting any unknown bits.
§

fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set. Read more
§

fn iter(&self) -> Iter<Self>

Yield a set of contained flags values. Read more
§

fn iter_names(&self) -> IterNames<Self>

Yield a set of contained named flags values. Read more
§

fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.
§

fn is_all(&self) -> bool

Whether all known bits in this flags value are set.
§

fn intersects(&self, other: Self) -> bool
where\n Self: Sized,

Whether any set bits in a source flags value are also set in a target flags value.
§

fn contains(&self, other: Self) -> bool
where\n Self: Sized,

Whether all set bits in a source flags value are also set in a target flags value.
§

fn insert(&mut self, other: Self)
where\n Self: Sized,

The bitwise or (|) of the bits in two flags values.
§

fn remove(&mut self, other: Self)
where\n Self: Sized,

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn toggle(&mut self, other: Self)
where\n Self: Sized,

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn set(&mut self, other: Self, value: bool)
where\n Self: Sized,

Call [Flags::insert] when value is true or [Flags::remove] when value is false.
§

fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.
§

fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.
§

fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.
","Flags","wgpu::api::blas::AccelerationStructureFlags"],["
source§

impl Sub for AccelerationStructureFlags

source§

fn sub(self, other: AccelerationStructureFlags) -> AccelerationStructureFlags

The intersection of a source flags value with the complement of a target flags value (&!).

\n

This method is not equivalent to self & !other when other has unknown bits set.\ndifference won’t truncate other, but the ! operator will.

\n
§

type Output = AccelerationStructureFlags

The resulting type after applying the - operator.
","Sub","wgpu::api::blas::AccelerationStructureFlags"],["
source§

impl StructuralPartialEq for AccelerationStructureFlags

","StructuralPartialEq","wgpu::api::blas::AccelerationStructureFlags"],["
source§

impl Octal for AccelerationStructureFlags

source§

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

Formats the value using the given formatter.
","Octal","wgpu::api::blas::AccelerationStructureFlags"],["
source§

impl Eq for AccelerationStructureFlags

","Eq","wgpu::api::blas::AccelerationStructureFlags"],["
source§

impl Binary for AccelerationStructureFlags

source§

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

Formats the value using the given formatter.
","Binary","wgpu::api::blas::AccelerationStructureFlags"],["
source§

impl BitAndAssign for AccelerationStructureFlags

source§

fn bitand_assign(&mut self, other: AccelerationStructureFlags)

The bitwise and (&) of the bits in two flags values.

\n
","BitAndAssign","wgpu::api::blas::AccelerationStructureFlags"],["
source§

impl Hash for AccelerationStructureFlags

source§

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

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

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

Feeds a slice of this type into the given Hasher. Read more
","Hash","wgpu::api::blas::AccelerationStructureFlags"],["
source§

impl SubAssign for AccelerationStructureFlags

source§

fn sub_assign(&mut self, other: AccelerationStructureFlags)

The intersection of a source flags value with the complement of a target flags value (&!).

\n

This method is not equivalent to self & !other when other has unknown bits set.\ndifference won’t truncate other, but the ! operator will.

\n
","SubAssign","wgpu::api::blas::AccelerationStructureFlags"]] +"wgpu":[["
§

impl AccelerationStructureFlags

pub const ALLOW_UPDATE: AccelerationStructureFlags = _

Allow for incremental updates (no change in size), currently this is unimplemented\nand will build as normal (this is fine, update vs build should be unnoticeable)

\n

pub const ALLOW_COMPACTION: AccelerationStructureFlags = _

Allow the acceleration structure to be compacted in a copy operation, the function\nto compact is not currently implemented.

\n

pub const PREFER_FAST_TRACE: AccelerationStructureFlags = _

Optimize for fast ray tracing performance, recommended if the geometry is unlikely\nto change (e.g. in a game: non-interactive scene geometry)

\n

pub const PREFER_FAST_BUILD: AccelerationStructureFlags = _

Optimize for fast build time, recommended if geometry is likely to change frequently\n(e.g. in a game: player model).

\n

pub const LOW_MEMORY: AccelerationStructureFlags = _

Optimize for low memory footprint (both while building and in the output BLAS).

\n
",0,"wgpu::api::blas::AccelerationStructureFlags"],["
§

impl AccelerationStructureFlags

pub const fn empty() -> AccelerationStructureFlags

Get a flags value with all bits unset.

\n

pub const fn all() -> AccelerationStructureFlags

Get a flags value with all known bits set.

\n

pub const fn bits(&self) -> u8

Get the underlying bits value.

\n

The returned value is exactly the bits set in this flags value.

\n

pub const fn from_bits(bits: u8) -> Option<AccelerationStructureFlags>

Convert from a bits value.

\n

This method will return None if any unknown bits are set.

\n

pub const fn from_bits_truncate(bits: u8) -> AccelerationStructureFlags

Convert from a bits value, unsetting any unknown bits.

\n

pub const fn from_bits_retain(bits: u8) -> AccelerationStructureFlags

Convert from a bits value exactly.

\n

pub fn from_name(name: &str) -> Option<AccelerationStructureFlags>

Get a flags value with the bits of a flag with the given name set.

\n

This method will return None if name is empty or doesn’t\ncorrespond to any named flag.

\n

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

\n

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

\n

pub const fn intersects(&self, other: AccelerationStructureFlags) -> bool

Whether any set bits in a source flags value are also set in a target flags value.

\n

pub const fn contains(&self, other: AccelerationStructureFlags) -> bool

Whether all set bits in a source flags value are also set in a target flags value.

\n

pub fn insert(&mut self, other: AccelerationStructureFlags)

The bitwise or (|) of the bits in two flags values.

\n

pub fn remove(&mut self, other: AccelerationStructureFlags)

The intersection of a source flags value with the complement of a target flags value (&!).

\n

This method is not equivalent to self & !other when other has unknown bits set.\nremove won’t truncate other, but the ! operator will.

\n

pub fn toggle(&mut self, other: AccelerationStructureFlags)

The bitwise exclusive-or (^) of the bits in two flags values.

\n

pub fn set(&mut self, other: AccelerationStructureFlags, value: bool)

Call insert when value is true or remove when value is false.

\n

pub const fn intersection(\n self,\n other: AccelerationStructureFlags\n) -> AccelerationStructureFlags

The bitwise and (&) of the bits in two flags values.

\n

pub const fn union(\n self,\n other: AccelerationStructureFlags\n) -> AccelerationStructureFlags

The bitwise or (|) of the bits in two flags values.

\n

pub const fn difference(\n self,\n other: AccelerationStructureFlags\n) -> AccelerationStructureFlags

The intersection of a source flags value with the complement of a target flags value (&!).

\n

This method is not equivalent to self & !other when other has unknown bits set.\ndifference won’t truncate other, but the ! operator will.

\n

pub const fn symmetric_difference(\n self,\n other: AccelerationStructureFlags\n) -> AccelerationStructureFlags

The bitwise exclusive-or (^) of the bits in two flags values.

\n

pub const fn complement(self) -> AccelerationStructureFlags

The bitwise negation (!) of the bits in a flags value, truncating the result.

\n
",0,"wgpu::api::blas::AccelerationStructureFlags"],["
§

impl AccelerationStructureFlags

pub const fn iter(&self) -> Iter<AccelerationStructureFlags>

Yield a set of contained flags values.

\n

Each yielded flags value will correspond to a defined named flag. Any unknown bits\nwill be yielded together as a final flags value.

\n

pub const fn iter_names(&self) -> IterNames<AccelerationStructureFlags>

Yield a set of contained named flags values.

\n

This method is like iter, except only yields bits in contained named flags.\nAny unknown bits, or bits not corresponding to a contained flag will not be yielded.

\n
",0,"wgpu::api::blas::AccelerationStructureFlags"],["
§

impl BitXorAssign for AccelerationStructureFlags

§

fn bitxor_assign(&mut self, other: AccelerationStructureFlags)

The bitwise exclusive-or (^) of the bits in two flags values.

\n
","BitXorAssign","wgpu::api::blas::AccelerationStructureFlags"],["
§

impl<'de> Deserialize<'de> for AccelerationStructureFlags

§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<AccelerationStructureFlags, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu::api::blas::AccelerationStructureFlags"],["
§

impl PartialEq for AccelerationStructureFlags

§

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

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","wgpu::api::blas::AccelerationStructureFlags"],["
§

impl StructuralEq for AccelerationStructureFlags

","StructuralEq","wgpu::api::blas::AccelerationStructureFlags"],["
§

impl Clone for AccelerationStructureFlags

§

fn clone(&self) -> AccelerationStructureFlags

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu::api::blas::AccelerationStructureFlags"],["
§

impl FromIterator<AccelerationStructureFlags> for AccelerationStructureFlags

§

fn from_iter<T>(iterator: T) -> AccelerationStructureFlags
where\n T: IntoIterator<Item = AccelerationStructureFlags>,

The bitwise or (|) of the bits in each flags value.

\n
","FromIterator","wgpu::api::blas::AccelerationStructureFlags"],["
§

impl UpperHex for AccelerationStructureFlags

§

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

Formats the value using the given formatter.
","UpperHex","wgpu::api::blas::AccelerationStructureFlags"],["
§

impl Serialize for AccelerationStructureFlags

§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu::api::blas::AccelerationStructureFlags"],["
§

impl BitAnd for AccelerationStructureFlags

§

fn bitand(self, other: AccelerationStructureFlags) -> AccelerationStructureFlags

The bitwise and (&) of the bits in two flags values.

\n
§

type Output = AccelerationStructureFlags

The resulting type after applying the & operator.
","BitAnd","wgpu::api::blas::AccelerationStructureFlags"],["
§

impl Copy for AccelerationStructureFlags

","Copy","wgpu::api::blas::AccelerationStructureFlags"],["
§

impl BitOr for AccelerationStructureFlags

§

fn bitor(self, other: AccelerationStructureFlags) -> AccelerationStructureFlags

The bitwise or (|) of the bits in two flags values.

\n
§

type Output = AccelerationStructureFlags

The resulting type after applying the | operator.
","BitOr","wgpu::api::blas::AccelerationStructureFlags"],["
§

impl BitOrAssign for AccelerationStructureFlags

§

fn bitor_assign(&mut self, other: AccelerationStructureFlags)

The bitwise or (|) of the bits in two flags values.

\n
","BitOrAssign","wgpu::api::blas::AccelerationStructureFlags"],["
§

impl Debug for AccelerationStructureFlags

§

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

Formats the value using the given formatter. Read more
","Debug","wgpu::api::blas::AccelerationStructureFlags"],["
§

impl LowerHex for AccelerationStructureFlags

§

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

Formats the value using the given formatter.
","LowerHex","wgpu::api::blas::AccelerationStructureFlags"],["
§

impl Extend<AccelerationStructureFlags> for AccelerationStructureFlags

§

fn extend<T>(&mut self, iterator: T)
where\n T: IntoIterator<Item = AccelerationStructureFlags>,

The bitwise or (|) of the bits in each flags value.

\n
source§

fn extend_one(&mut self, item: A)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
","Extend","wgpu::api::blas::AccelerationStructureFlags"],["
§

impl Not for AccelerationStructureFlags

§

fn not(self) -> AccelerationStructureFlags

The bitwise negation (!) of the bits in a flags value, truncating the result.

\n
§

type Output = AccelerationStructureFlags

The resulting type after applying the ! operator.
","Not","wgpu::api::blas::AccelerationStructureFlags"],["
§

impl IntoIterator for AccelerationStructureFlags

§

type Item = AccelerationStructureFlags

The type of the elements being iterated over.
§

type IntoIter = Iter<AccelerationStructureFlags>

Which kind of iterator are we turning this into?
§

fn into_iter(self) -> <AccelerationStructureFlags as IntoIterator>::IntoIter

Creates an iterator from a value. Read more
","IntoIterator","wgpu::api::blas::AccelerationStructureFlags"],["
§

impl BitXor for AccelerationStructureFlags

§

fn bitxor(self, other: AccelerationStructureFlags) -> AccelerationStructureFlags

The bitwise exclusive-or (^) of the bits in two flags values.

\n
§

type Output = AccelerationStructureFlags

The resulting type after applying the ^ operator.
","BitXor","wgpu::api::blas::AccelerationStructureFlags"],["
§

impl Flags for AccelerationStructureFlags

§

const FLAGS: &'static [Flag<AccelerationStructureFlags>] = _

The set of defined flags.
§

type Bits = u8

The underlying bits type.
§

fn bits(&self) -> u8

Get the underlying bits value. Read more
§

fn from_bits_retain(bits: u8) -> AccelerationStructureFlags

Convert from a bits value exactly.
§

fn empty() -> Self

Get a flags value with all bits unset.
§

fn all() -> Self

Get a flags value with all known bits set.
§

fn from_bits(bits: Self::Bits) -> Option<Self>

Convert from a bits value. Read more
§

fn from_bits_truncate(bits: Self::Bits) -> Self

Convert from a bits value, unsetting any unknown bits.
§

fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set. Read more
§

fn iter(&self) -> Iter<Self>

Yield a set of contained flags values. Read more
§

fn iter_names(&self) -> IterNames<Self>

Yield a set of contained named flags values. Read more
§

fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.
§

fn is_all(&self) -> bool

Whether all known bits in this flags value are set.
§

fn intersects(&self, other: Self) -> bool
where\n Self: Sized,

Whether any set bits in a source flags value are also set in a target flags value.
§

fn contains(&self, other: Self) -> bool
where\n Self: Sized,

Whether all set bits in a source flags value are also set in a target flags value.
§

fn insert(&mut self, other: Self)
where\n Self: Sized,

The bitwise or (|) of the bits in two flags values.
§

fn remove(&mut self, other: Self)
where\n Self: Sized,

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn toggle(&mut self, other: Self)
where\n Self: Sized,

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn set(&mut self, other: Self, value: bool)
where\n Self: Sized,

Call [Flags::insert] when value is true or [Flags::remove] when value is false.
§

fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.
§

fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.
§

fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.
","Flags","wgpu::api::blas::AccelerationStructureFlags"],["
§

impl Sub for AccelerationStructureFlags

§

fn sub(self, other: AccelerationStructureFlags) -> AccelerationStructureFlags

The intersection of a source flags value with the complement of a target flags value (&!).

\n

This method is not equivalent to self & !other when other has unknown bits set.\ndifference won’t truncate other, but the ! operator will.

\n
§

type Output = AccelerationStructureFlags

The resulting type after applying the - operator.
","Sub","wgpu::api::blas::AccelerationStructureFlags"],["
§

impl StructuralPartialEq for AccelerationStructureFlags

","StructuralPartialEq","wgpu::api::blas::AccelerationStructureFlags"],["
§

impl Octal for AccelerationStructureFlags

§

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

Formats the value using the given formatter.
","Octal","wgpu::api::blas::AccelerationStructureFlags"],["
§

impl Eq for AccelerationStructureFlags

","Eq","wgpu::api::blas::AccelerationStructureFlags"],["
§

impl Binary for AccelerationStructureFlags

§

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

Formats the value using the given formatter.
","Binary","wgpu::api::blas::AccelerationStructureFlags"],["
§

impl BitAndAssign for AccelerationStructureFlags

§

fn bitand_assign(&mut self, other: AccelerationStructureFlags)

The bitwise and (&) of the bits in two flags values.

\n
","BitAndAssign","wgpu::api::blas::AccelerationStructureFlags"],["
§

impl Hash for AccelerationStructureFlags

§

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

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

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

Feeds a slice of this type into the given Hasher. Read more
","Hash","wgpu::api::blas::AccelerationStructureFlags"],["
§

impl SubAssign for AccelerationStructureFlags

§

fn sub_assign(&mut self, other: AccelerationStructureFlags)

The intersection of a source flags value with the complement of a target flags value (&!).

\n

This method is not equivalent to self & !other when other has unknown bits set.\ndifference won’t truncate other, but the ! operator will.

\n
","SubAssign","wgpu::api::blas::AccelerationStructureFlags"]] };if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file diff --git a/doc/type.impl/wgpu_types/struct.AccelerationStructureGeometryFlags.js b/doc/type.impl/wgpu_types/struct.AccelerationStructureGeometryFlags.js index 3cb5f54fd098..19e907267130 100644 --- a/doc/type.impl/wgpu_types/struct.AccelerationStructureGeometryFlags.js +++ b/doc/type.impl/wgpu_types/struct.AccelerationStructureGeometryFlags.js @@ -1,3 +1,3 @@ (function() {var type_impls = { -"wgpu":[["
source§

impl AccelerationStructureGeometryFlags

source

pub const OPAQUE: AccelerationStructureGeometryFlags = _

Is OPAQUE (is there no alpha test) recommended as currently in naga there is no\ncandidate intersections yet so currently BLASes without this flag will not have hits.\nNot enabling this makes the BLAS unable to be interacted with in WGSL.

\n
source

pub const NO_DUPLICATE_ANY_HIT_INVOCATION: AccelerationStructureGeometryFlags = _

NO_DUPLICATE_ANY_HIT_INVOCATION, not useful unless using hal with wgpu, ray-tracing\npipelines are not supported in wgpu so any-hit shaders do not exist. For when any-hit\nshaders are implemented (or experienced users who combine this with an underlying library:\nfor any primitive (triangle or AABB) multiple any-hit shaders sometimes may be invoked\n(especially in AABBs like a sphere), if this flag in present only one hit on a primitive may\ninvoke an any-hit shader.

\n
",0,"wgpu::api::blas::AccelerationStructureGeometryFlags"],["
source§

impl AccelerationStructureGeometryFlags

source

pub const fn empty() -> AccelerationStructureGeometryFlags

Get a flags value with all bits unset.

\n
source

pub const fn all() -> AccelerationStructureGeometryFlags

Get a flags value with all known bits set.

\n
source

pub const fn bits(&self) -> u8

Get the underlying bits value.

\n

The returned value is exactly the bits set in this flags value.

\n
source

pub const fn from_bits(bits: u8) -> Option<AccelerationStructureGeometryFlags>

Convert from a bits value.

\n

This method will return None if any unknown bits are set.

\n
source

pub const fn from_bits_truncate(bits: u8) -> AccelerationStructureGeometryFlags

Convert from a bits value, unsetting any unknown bits.

\n
source

pub const fn from_bits_retain(bits: u8) -> AccelerationStructureGeometryFlags

Convert from a bits value exactly.

\n
source

pub fn from_name(name: &str) -> Option<AccelerationStructureGeometryFlags>

Get a flags value with the bits of a flag with the given name set.

\n

This method will return None if name is empty or doesn’t\ncorrespond to any named flag.

\n
source

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

\n
source

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

\n
source

pub const fn intersects(\n &self,\n other: AccelerationStructureGeometryFlags\n) -> bool

Whether any set bits in a source flags value are also set in a target flags value.

\n
source

pub const fn contains(&self, other: AccelerationStructureGeometryFlags) -> bool

Whether all set bits in a source flags value are also set in a target flags value.

\n
source

pub fn insert(&mut self, other: AccelerationStructureGeometryFlags)

The bitwise or (|) of the bits in two flags values.

\n
source

pub fn remove(&mut self, other: AccelerationStructureGeometryFlags)

The intersection of a source flags value with the complement of a target flags value (&!).

\n

This method is not equivalent to self & !other when other has unknown bits set.\nremove won’t truncate other, but the ! operator will.

\n
source

pub fn toggle(&mut self, other: AccelerationStructureGeometryFlags)

The bitwise exclusive-or (^) of the bits in two flags values.

\n
source

pub fn set(&mut self, other: AccelerationStructureGeometryFlags, value: bool)

Call insert when value is true or remove when value is false.

\n
source

pub const fn intersection(\n self,\n other: AccelerationStructureGeometryFlags\n) -> AccelerationStructureGeometryFlags

The bitwise and (&) of the bits in two flags values.

\n
source

pub const fn union(\n self,\n other: AccelerationStructureGeometryFlags\n) -> AccelerationStructureGeometryFlags

The bitwise or (|) of the bits in two flags values.

\n
source

pub const fn difference(\n self,\n other: AccelerationStructureGeometryFlags\n) -> AccelerationStructureGeometryFlags

The intersection of a source flags value with the complement of a target flags value (&!).

\n

This method is not equivalent to self & !other when other has unknown bits set.\ndifference won’t truncate other, but the ! operator will.

\n
source

pub const fn symmetric_difference(\n self,\n other: AccelerationStructureGeometryFlags\n) -> AccelerationStructureGeometryFlags

The bitwise exclusive-or (^) of the bits in two flags values.

\n
source

pub const fn complement(self) -> AccelerationStructureGeometryFlags

The bitwise negation (!) of the bits in a flags value, truncating the result.

\n
",0,"wgpu::api::blas::AccelerationStructureGeometryFlags"],["
source§

impl AccelerationStructureGeometryFlags

source

pub const fn iter(&self) -> Iter<AccelerationStructureGeometryFlags>

Yield a set of contained flags values.

\n

Each yielded flags value will correspond to a defined named flag. Any unknown bits\nwill be yielded together as a final flags value.

\n
source

pub const fn iter_names(&self) -> IterNames<AccelerationStructureGeometryFlags>

Yield a set of contained named flags values.

\n

This method is like iter, except only yields bits in contained named flags.\nAny unknown bits, or bits not corresponding to a contained flag will not be yielded.

\n
",0,"wgpu::api::blas::AccelerationStructureGeometryFlags"],["
source§

impl BitXorAssign for AccelerationStructureGeometryFlags

source§

fn bitxor_assign(&mut self, other: AccelerationStructureGeometryFlags)

The bitwise exclusive-or (^) of the bits in two flags values.

\n
","BitXorAssign","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
source§

impl<'de> Deserialize<'de> for AccelerationStructureGeometryFlags

source§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<AccelerationStructureGeometryFlags, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
source§

impl PartialEq for AccelerationStructureGeometryFlags

source§

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

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
source§

impl StructuralEq for AccelerationStructureGeometryFlags

","StructuralEq","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
source§

impl Clone for AccelerationStructureGeometryFlags

source§

fn clone(&self) -> AccelerationStructureGeometryFlags

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
source§

impl FromIterator<AccelerationStructureGeometryFlags> for AccelerationStructureGeometryFlags

source§

fn from_iter<T>(iterator: T) -> AccelerationStructureGeometryFlags

The bitwise or (|) of the bits in each flags value.

\n
","FromIterator","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
source§

impl UpperHex for AccelerationStructureGeometryFlags

source§

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

Formats the value using the given formatter.
","UpperHex","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
source§

impl Serialize for AccelerationStructureGeometryFlags

source§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
source§

impl BitAnd for AccelerationStructureGeometryFlags

source§

fn bitand(\n self,\n other: AccelerationStructureGeometryFlags\n) -> AccelerationStructureGeometryFlags

The bitwise and (&) of the bits in two flags values.

\n
§

type Output = AccelerationStructureGeometryFlags

The resulting type after applying the & operator.
","BitAnd","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
source§

impl Copy for AccelerationStructureGeometryFlags

","Copy","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
source§

impl BitOr for AccelerationStructureGeometryFlags

source§

fn bitor(\n self,\n other: AccelerationStructureGeometryFlags\n) -> AccelerationStructureGeometryFlags

The bitwise or (|) of the bits in two flags values.

\n
§

type Output = AccelerationStructureGeometryFlags

The resulting type after applying the | operator.
","BitOr","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
source§

impl BitOrAssign for AccelerationStructureGeometryFlags

source§

fn bitor_assign(&mut self, other: AccelerationStructureGeometryFlags)

The bitwise or (|) of the bits in two flags values.

\n
","BitOrAssign","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
source§

impl Debug for AccelerationStructureGeometryFlags

source§

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

Formats the value using the given formatter. Read more
","Debug","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
source§

impl LowerHex for AccelerationStructureGeometryFlags

source§

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

Formats the value using the given formatter.
","LowerHex","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
source§

impl Extend<AccelerationStructureGeometryFlags> for AccelerationStructureGeometryFlags

source§

fn extend<T>(&mut self, iterator: T)

The bitwise or (|) of the bits in each flags value.

\n
source§

fn extend_one(&mut self, item: A)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
","Extend","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
source§

impl Not for AccelerationStructureGeometryFlags

source§

fn not(self) -> AccelerationStructureGeometryFlags

The bitwise negation (!) of the bits in a flags value, truncating the result.

\n
§

type Output = AccelerationStructureGeometryFlags

The resulting type after applying the ! operator.
","Not","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
source§

impl IntoIterator for AccelerationStructureGeometryFlags

§

type Item = AccelerationStructureGeometryFlags

The type of the elements being iterated over.
§

type IntoIter = Iter<AccelerationStructureGeometryFlags>

Which kind of iterator are we turning this into?
source§

fn into_iter(\n self\n) -> <AccelerationStructureGeometryFlags as IntoIterator>::IntoIter

Creates an iterator from a value. Read more
","IntoIterator","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
source§

impl BitXor for AccelerationStructureGeometryFlags

source§

fn bitxor(\n self,\n other: AccelerationStructureGeometryFlags\n) -> AccelerationStructureGeometryFlags

The bitwise exclusive-or (^) of the bits in two flags values.

\n
§

type Output = AccelerationStructureGeometryFlags

The resulting type after applying the ^ operator.
","BitXor","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
source§

impl Flags for AccelerationStructureGeometryFlags

source§

const FLAGS: &'static [Flag<AccelerationStructureGeometryFlags>] = _

The set of defined flags.
§

type Bits = u8

The underlying bits type.
source§

fn bits(&self) -> u8

Get the underlying bits value. Read more
source§

fn from_bits_retain(bits: u8) -> AccelerationStructureGeometryFlags

Convert from a bits value exactly.
§

fn empty() -> Self

Get a flags value with all bits unset.
§

fn all() -> Self

Get a flags value with all known bits set.
§

fn from_bits(bits: Self::Bits) -> Option<Self>

Convert from a bits value. Read more
§

fn from_bits_truncate(bits: Self::Bits) -> Self

Convert from a bits value, unsetting any unknown bits.
§

fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set. Read more
§

fn iter(&self) -> Iter<Self>

Yield a set of contained flags values. Read more
§

fn iter_names(&self) -> IterNames<Self>

Yield a set of contained named flags values. Read more
§

fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.
§

fn is_all(&self) -> bool

Whether all known bits in this flags value are set.
§

fn intersects(&self, other: Self) -> bool
where\n Self: Sized,

Whether any set bits in a source flags value are also set in a target flags value.
§

fn contains(&self, other: Self) -> bool
where\n Self: Sized,

Whether all set bits in a source flags value are also set in a target flags value.
§

fn insert(&mut self, other: Self)
where\n Self: Sized,

The bitwise or (|) of the bits in two flags values.
§

fn remove(&mut self, other: Self)
where\n Self: Sized,

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn toggle(&mut self, other: Self)
where\n Self: Sized,

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn set(&mut self, other: Self, value: bool)
where\n Self: Sized,

Call [Flags::insert] when value is true or [Flags::remove] when value is false.
§

fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.
§

fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.
§

fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.
","Flags","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
source§

impl Sub for AccelerationStructureGeometryFlags

source§

fn sub(\n self,\n other: AccelerationStructureGeometryFlags\n) -> AccelerationStructureGeometryFlags

The intersection of a source flags value with the complement of a target flags value (&!).

\n

This method is not equivalent to self & !other when other has unknown bits set.\ndifference won’t truncate other, but the ! operator will.

\n
§

type Output = AccelerationStructureGeometryFlags

The resulting type after applying the - operator.
","Sub","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
source§

impl StructuralPartialEq for AccelerationStructureGeometryFlags

","StructuralPartialEq","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
source§

impl Octal for AccelerationStructureGeometryFlags

source§

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

Formats the value using the given formatter.
","Octal","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
source§

impl Eq for AccelerationStructureGeometryFlags

","Eq","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
source§

impl Binary for AccelerationStructureGeometryFlags

source§

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

Formats the value using the given formatter.
","Binary","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
source§

impl BitAndAssign for AccelerationStructureGeometryFlags

source§

fn bitand_assign(&mut self, other: AccelerationStructureGeometryFlags)

The bitwise and (&) of the bits in two flags values.

\n
","BitAndAssign","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
source§

impl Hash for AccelerationStructureGeometryFlags

source§

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

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

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

Feeds a slice of this type into the given Hasher. Read more
","Hash","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
source§

impl SubAssign for AccelerationStructureGeometryFlags

source§

fn sub_assign(&mut self, other: AccelerationStructureGeometryFlags)

The intersection of a source flags value with the complement of a target flags value (&!).

\n

This method is not equivalent to self & !other when other has unknown bits set.\ndifference won’t truncate other, but the ! operator will.

\n
","SubAssign","wgpu::api::blas::AccelerationStructureGeometryFlags"]] +"wgpu":[["
§

impl AccelerationStructureGeometryFlags

pub const OPAQUE: AccelerationStructureGeometryFlags = _

Is OPAQUE (is there no alpha test) recommended as currently in naga there is no\ncandidate intersections yet so currently BLASes without this flag will not have hits.\nNot enabling this makes the BLAS unable to be interacted with in WGSL.

\n

pub const NO_DUPLICATE_ANY_HIT_INVOCATION: AccelerationStructureGeometryFlags = _

NO_DUPLICATE_ANY_HIT_INVOCATION, not useful unless using hal with wgpu, ray-tracing\npipelines are not supported in wgpu so any-hit shaders do not exist. For when any-hit\nshaders are implemented (or experienced users who combine this with an underlying library:\nfor any primitive (triangle or AABB) multiple any-hit shaders sometimes may be invoked\n(especially in AABBs like a sphere), if this flag in present only one hit on a primitive may\ninvoke an any-hit shader.

\n
",0,"wgpu::api::blas::AccelerationStructureGeometryFlags"],["
§

impl AccelerationStructureGeometryFlags

pub const fn empty() -> AccelerationStructureGeometryFlags

Get a flags value with all bits unset.

\n

pub const fn all() -> AccelerationStructureGeometryFlags

Get a flags value with all known bits set.

\n

pub const fn bits(&self) -> u8

Get the underlying bits value.

\n

The returned value is exactly the bits set in this flags value.

\n

pub const fn from_bits(bits: u8) -> Option<AccelerationStructureGeometryFlags>

Convert from a bits value.

\n

This method will return None if any unknown bits are set.

\n

pub const fn from_bits_truncate(bits: u8) -> AccelerationStructureGeometryFlags

Convert from a bits value, unsetting any unknown bits.

\n

pub const fn from_bits_retain(bits: u8) -> AccelerationStructureGeometryFlags

Convert from a bits value exactly.

\n

pub fn from_name(name: &str) -> Option<AccelerationStructureGeometryFlags>

Get a flags value with the bits of a flag with the given name set.

\n

This method will return None if name is empty or doesn’t\ncorrespond to any named flag.

\n

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

\n

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

\n

pub const fn intersects(\n &self,\n other: AccelerationStructureGeometryFlags\n) -> bool

Whether any set bits in a source flags value are also set in a target flags value.

\n

pub const fn contains(&self, other: AccelerationStructureGeometryFlags) -> bool

Whether all set bits in a source flags value are also set in a target flags value.

\n

pub fn insert(&mut self, other: AccelerationStructureGeometryFlags)

The bitwise or (|) of the bits in two flags values.

\n

pub fn remove(&mut self, other: AccelerationStructureGeometryFlags)

The intersection of a source flags value with the complement of a target flags value (&!).

\n

This method is not equivalent to self & !other when other has unknown bits set.\nremove won’t truncate other, but the ! operator will.

\n

pub fn toggle(&mut self, other: AccelerationStructureGeometryFlags)

The bitwise exclusive-or (^) of the bits in two flags values.

\n

pub fn set(&mut self, other: AccelerationStructureGeometryFlags, value: bool)

Call insert when value is true or remove when value is false.

\n

pub const fn intersection(\n self,\n other: AccelerationStructureGeometryFlags\n) -> AccelerationStructureGeometryFlags

The bitwise and (&) of the bits in two flags values.

\n

pub const fn union(\n self,\n other: AccelerationStructureGeometryFlags\n) -> AccelerationStructureGeometryFlags

The bitwise or (|) of the bits in two flags values.

\n

pub const fn difference(\n self,\n other: AccelerationStructureGeometryFlags\n) -> AccelerationStructureGeometryFlags

The intersection of a source flags value with the complement of a target flags value (&!).

\n

This method is not equivalent to self & !other when other has unknown bits set.\ndifference won’t truncate other, but the ! operator will.

\n

pub const fn symmetric_difference(\n self,\n other: AccelerationStructureGeometryFlags\n) -> AccelerationStructureGeometryFlags

The bitwise exclusive-or (^) of the bits in two flags values.

\n

pub const fn complement(self) -> AccelerationStructureGeometryFlags

The bitwise negation (!) of the bits in a flags value, truncating the result.

\n
",0,"wgpu::api::blas::AccelerationStructureGeometryFlags"],["
§

impl AccelerationStructureGeometryFlags

pub const fn iter(&self) -> Iter<AccelerationStructureGeometryFlags>

Yield a set of contained flags values.

\n

Each yielded flags value will correspond to a defined named flag. Any unknown bits\nwill be yielded together as a final flags value.

\n

pub const fn iter_names(&self) -> IterNames<AccelerationStructureGeometryFlags>

Yield a set of contained named flags values.

\n

This method is like iter, except only yields bits in contained named flags.\nAny unknown bits, or bits not corresponding to a contained flag will not be yielded.

\n
",0,"wgpu::api::blas::AccelerationStructureGeometryFlags"],["
§

impl BitXorAssign for AccelerationStructureGeometryFlags

§

fn bitxor_assign(&mut self, other: AccelerationStructureGeometryFlags)

The bitwise exclusive-or (^) of the bits in two flags values.

\n
","BitXorAssign","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
§

impl<'de> Deserialize<'de> for AccelerationStructureGeometryFlags

§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<AccelerationStructureGeometryFlags, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
§

impl PartialEq for AccelerationStructureGeometryFlags

§

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

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
§

impl StructuralEq for AccelerationStructureGeometryFlags

","StructuralEq","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
§

impl Clone for AccelerationStructureGeometryFlags

§

fn clone(&self) -> AccelerationStructureGeometryFlags

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
§

impl FromIterator<AccelerationStructureGeometryFlags> for AccelerationStructureGeometryFlags

§

fn from_iter<T>(iterator: T) -> AccelerationStructureGeometryFlags
where\n T: IntoIterator<Item = AccelerationStructureGeometryFlags>,

The bitwise or (|) of the bits in each flags value.

\n
","FromIterator","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
§

impl UpperHex for AccelerationStructureGeometryFlags

§

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

Formats the value using the given formatter.
","UpperHex","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
§

impl Serialize for AccelerationStructureGeometryFlags

§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
§

impl BitAnd for AccelerationStructureGeometryFlags

§

fn bitand(\n self,\n other: AccelerationStructureGeometryFlags\n) -> AccelerationStructureGeometryFlags

The bitwise and (&) of the bits in two flags values.

\n
§

type Output = AccelerationStructureGeometryFlags

The resulting type after applying the & operator.
","BitAnd","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
§

impl Copy for AccelerationStructureGeometryFlags

","Copy","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
§

impl BitOr for AccelerationStructureGeometryFlags

§

fn bitor(\n self,\n other: AccelerationStructureGeometryFlags\n) -> AccelerationStructureGeometryFlags

The bitwise or (|) of the bits in two flags values.

\n
§

type Output = AccelerationStructureGeometryFlags

The resulting type after applying the | operator.
","BitOr","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
§

impl BitOrAssign for AccelerationStructureGeometryFlags

§

fn bitor_assign(&mut self, other: AccelerationStructureGeometryFlags)

The bitwise or (|) of the bits in two flags values.

\n
","BitOrAssign","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
§

impl Debug for AccelerationStructureGeometryFlags

§

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

Formats the value using the given formatter. Read more
","Debug","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
§

impl LowerHex for AccelerationStructureGeometryFlags

§

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

Formats the value using the given formatter.
","LowerHex","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
§

impl Extend<AccelerationStructureGeometryFlags> for AccelerationStructureGeometryFlags

§

fn extend<T>(&mut self, iterator: T)
where\n T: IntoIterator<Item = AccelerationStructureGeometryFlags>,

The bitwise or (|) of the bits in each flags value.

\n
source§

fn extend_one(&mut self, item: A)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
","Extend","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
§

impl Not for AccelerationStructureGeometryFlags

§

fn not(self) -> AccelerationStructureGeometryFlags

The bitwise negation (!) of the bits in a flags value, truncating the result.

\n
§

type Output = AccelerationStructureGeometryFlags

The resulting type after applying the ! operator.
","Not","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
§

impl IntoIterator for AccelerationStructureGeometryFlags

§

type Item = AccelerationStructureGeometryFlags

The type of the elements being iterated over.
§

type IntoIter = Iter<AccelerationStructureGeometryFlags>

Which kind of iterator are we turning this into?
§

fn into_iter(\n self\n) -> <AccelerationStructureGeometryFlags as IntoIterator>::IntoIter

Creates an iterator from a value. Read more
","IntoIterator","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
§

impl BitXor for AccelerationStructureGeometryFlags

§

fn bitxor(\n self,\n other: AccelerationStructureGeometryFlags\n) -> AccelerationStructureGeometryFlags

The bitwise exclusive-or (^) of the bits in two flags values.

\n
§

type Output = AccelerationStructureGeometryFlags

The resulting type after applying the ^ operator.
","BitXor","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
§

impl Flags for AccelerationStructureGeometryFlags

§

const FLAGS: &'static [Flag<AccelerationStructureGeometryFlags>] = _

The set of defined flags.
§

type Bits = u8

The underlying bits type.
§

fn bits(&self) -> u8

Get the underlying bits value. Read more
§

fn from_bits_retain(bits: u8) -> AccelerationStructureGeometryFlags

Convert from a bits value exactly.
§

fn empty() -> Self

Get a flags value with all bits unset.
§

fn all() -> Self

Get a flags value with all known bits set.
§

fn from_bits(bits: Self::Bits) -> Option<Self>

Convert from a bits value. Read more
§

fn from_bits_truncate(bits: Self::Bits) -> Self

Convert from a bits value, unsetting any unknown bits.
§

fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set. Read more
§

fn iter(&self) -> Iter<Self>

Yield a set of contained flags values. Read more
§

fn iter_names(&self) -> IterNames<Self>

Yield a set of contained named flags values. Read more
§

fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.
§

fn is_all(&self) -> bool

Whether all known bits in this flags value are set.
§

fn intersects(&self, other: Self) -> bool
where\n Self: Sized,

Whether any set bits in a source flags value are also set in a target flags value.
§

fn contains(&self, other: Self) -> bool
where\n Self: Sized,

Whether all set bits in a source flags value are also set in a target flags value.
§

fn insert(&mut self, other: Self)
where\n Self: Sized,

The bitwise or (|) of the bits in two flags values.
§

fn remove(&mut self, other: Self)
where\n Self: Sized,

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn toggle(&mut self, other: Self)
where\n Self: Sized,

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn set(&mut self, other: Self, value: bool)
where\n Self: Sized,

Call [Flags::insert] when value is true or [Flags::remove] when value is false.
§

fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.
§

fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.
§

fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.
","Flags","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
§

impl Sub for AccelerationStructureGeometryFlags

§

fn sub(\n self,\n other: AccelerationStructureGeometryFlags\n) -> AccelerationStructureGeometryFlags

The intersection of a source flags value with the complement of a target flags value (&!).

\n

This method is not equivalent to self & !other when other has unknown bits set.\ndifference won’t truncate other, but the ! operator will.

\n
§

type Output = AccelerationStructureGeometryFlags

The resulting type after applying the - operator.
","Sub","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
§

impl StructuralPartialEq for AccelerationStructureGeometryFlags

","StructuralPartialEq","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
§

impl Octal for AccelerationStructureGeometryFlags

§

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

Formats the value using the given formatter.
","Octal","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
§

impl Eq for AccelerationStructureGeometryFlags

","Eq","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
§

impl Binary for AccelerationStructureGeometryFlags

§

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

Formats the value using the given formatter.
","Binary","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
§

impl BitAndAssign for AccelerationStructureGeometryFlags

§

fn bitand_assign(&mut self, other: AccelerationStructureGeometryFlags)

The bitwise and (&) of the bits in two flags values.

\n
","BitAndAssign","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
§

impl Hash for AccelerationStructureGeometryFlags

§

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

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

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

Feeds a slice of this type into the given Hasher. Read more
","Hash","wgpu::api::blas::AccelerationStructureGeometryFlags"],["
§

impl SubAssign for AccelerationStructureGeometryFlags

§

fn sub_assign(&mut self, other: AccelerationStructureGeometryFlags)

The intersection of a source flags value with the complement of a target flags value (&!).

\n

This method is not equivalent to self & !other when other has unknown bits set.\ndifference won’t truncate other, but the ! operator will.

\n
","SubAssign","wgpu::api::blas::AccelerationStructureGeometryFlags"]] };if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file diff --git a/doc/type.impl/wgpu_types/struct.BlasTriangleGeometrySizeDescriptor.js b/doc/type.impl/wgpu_types/struct.BlasTriangleGeometrySizeDescriptor.js index 1af002e2837a..4a3685f0c1c2 100644 --- a/doc/type.impl/wgpu_types/struct.BlasTriangleGeometrySizeDescriptor.js +++ b/doc/type.impl/wgpu_types/struct.BlasTriangleGeometrySizeDescriptor.js @@ -1,3 +1,3 @@ (function() {var type_impls = { -"wgpu":[["
source§

impl<'de> Deserialize<'de> for BlasTriangleGeometrySizeDescriptor

source§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<BlasTriangleGeometrySizeDescriptor, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu::api::blas::BlasTriangleGeometrySizeDescriptor"],["
source§

impl PartialEq for BlasTriangleGeometrySizeDescriptor

source§

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

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","wgpu::api::blas::BlasTriangleGeometrySizeDescriptor"],["
source§

impl StructuralEq for BlasTriangleGeometrySizeDescriptor

","StructuralEq","wgpu::api::blas::BlasTriangleGeometrySizeDescriptor"],["
source§

impl Clone for BlasTriangleGeometrySizeDescriptor

source§

fn clone(&self) -> BlasTriangleGeometrySizeDescriptor

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu::api::blas::BlasTriangleGeometrySizeDescriptor"],["
source§

impl Serialize for BlasTriangleGeometrySizeDescriptor

source§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu::api::blas::BlasTriangleGeometrySizeDescriptor"],["
source§

impl Debug for BlasTriangleGeometrySizeDescriptor

source§

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

Formats the value using the given formatter. Read more
","Debug","wgpu::api::blas::BlasTriangleGeometrySizeDescriptor"],["
source§

impl StructuralPartialEq for BlasTriangleGeometrySizeDescriptor

","StructuralPartialEq","wgpu::api::blas::BlasTriangleGeometrySizeDescriptor"],["
source§

impl Eq for BlasTriangleGeometrySizeDescriptor

","Eq","wgpu::api::blas::BlasTriangleGeometrySizeDescriptor"]] +"wgpu":[["
§

impl<'de> Deserialize<'de> for BlasTriangleGeometrySizeDescriptor

§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<BlasTriangleGeometrySizeDescriptor, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu::api::blas::BlasTriangleGeometrySizeDescriptor"],["
§

impl PartialEq for BlasTriangleGeometrySizeDescriptor

§

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

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","wgpu::api::blas::BlasTriangleGeometrySizeDescriptor"],["
§

impl StructuralEq for BlasTriangleGeometrySizeDescriptor

","StructuralEq","wgpu::api::blas::BlasTriangleGeometrySizeDescriptor"],["
§

impl Clone for BlasTriangleGeometrySizeDescriptor

§

fn clone(&self) -> BlasTriangleGeometrySizeDescriptor

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu::api::blas::BlasTriangleGeometrySizeDescriptor"],["
§

impl Serialize for BlasTriangleGeometrySizeDescriptor

§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu::api::blas::BlasTriangleGeometrySizeDescriptor"],["
§

impl Debug for BlasTriangleGeometrySizeDescriptor

§

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

Formats the value using the given formatter. Read more
","Debug","wgpu::api::blas::BlasTriangleGeometrySizeDescriptor"],["
§

impl StructuralPartialEq for BlasTriangleGeometrySizeDescriptor

","StructuralPartialEq","wgpu::api::blas::BlasTriangleGeometrySizeDescriptor"],["
§

impl Eq for BlasTriangleGeometrySizeDescriptor

","Eq","wgpu::api::blas::BlasTriangleGeometrySizeDescriptor"]] };if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file diff --git a/doc/type.impl/wgpu_types/struct.BufferDescriptor.js b/doc/type.impl/wgpu_types/struct.BufferDescriptor.js index 82c4ec21adf1..2a1ea1e19c7a 100644 --- a/doc/type.impl/wgpu_types/struct.BufferDescriptor.js +++ b/doc/type.impl/wgpu_types/struct.BufferDescriptor.js @@ -1,4 +1,4 @@ (function() {var type_impls = { -"wgpu":[["
source§

impl<L> BufferDescriptor<L>

source

pub fn map_label<K>(&self, fun: impl FnOnce(&L) -> K) -> BufferDescriptor<K>

Takes a closure and maps the label of the buffer descriptor into another.

\n
",0,"wgpu::api::buffer::BufferDescriptor"],["
source§

impl<'de, L> Deserialize<'de> for BufferDescriptor<L>
where\n L: Deserialize<'de>,

source§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<BufferDescriptor<L>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu::api::buffer::BufferDescriptor"],["
source§

impl<L> PartialEq for BufferDescriptor<L>
where\n L: PartialEq,

source§

fn eq(&self, other: &BufferDescriptor<L>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","wgpu::api::buffer::BufferDescriptor"],["
source§

impl<L> StructuralEq for BufferDescriptor<L>

","StructuralEq","wgpu::api::buffer::BufferDescriptor"],["
source§

impl<L> Clone for BufferDescriptor<L>
where\n L: Clone,

source§

fn clone(&self) -> BufferDescriptor<L>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu::api::buffer::BufferDescriptor"],["
source§

impl<L> Serialize for BufferDescriptor<L>
where\n L: Serialize,

source§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu::api::buffer::BufferDescriptor"],["
source§

impl<L> Debug for BufferDescriptor<L>
where\n L: Debug,

source§

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

Formats the value using the given formatter. Read more
","Debug","wgpu::api::buffer::BufferDescriptor"],["
source§

impl<L> StructuralPartialEq for BufferDescriptor<L>

","StructuralPartialEq","wgpu::api::buffer::BufferDescriptor"],["
source§

impl<L> Eq for BufferDescriptor<L>
where\n L: Eq,

","Eq","wgpu::api::buffer::BufferDescriptor"],["
source§

impl<L> Hash for BufferDescriptor<L>
where\n L: Hash,

source§

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

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

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

Feeds a slice of this type into the given Hasher. Read more
","Hash","wgpu::api::buffer::BufferDescriptor"]], -"wgpu_core":[["
source§

impl<L> BufferDescriptor<L>

source

pub fn map_label<K>(&self, fun: impl FnOnce(&L) -> K) -> BufferDescriptor<K>

Takes a closure and maps the label of the buffer descriptor into another.

\n
",0,"wgpu_core::resource::BufferDescriptor"],["
source§

impl<'de, L> Deserialize<'de> for BufferDescriptor<L>
where\n L: Deserialize<'de>,

source§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<BufferDescriptor<L>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu_core::resource::BufferDescriptor"],["
source§

impl<L> PartialEq for BufferDescriptor<L>
where\n L: PartialEq,

source§

fn eq(&self, other: &BufferDescriptor<L>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","wgpu_core::resource::BufferDescriptor"],["
source§

impl<L> StructuralEq for BufferDescriptor<L>

","StructuralEq","wgpu_core::resource::BufferDescriptor"],["
source§

impl<L> Clone for BufferDescriptor<L>
where\n L: Clone,

source§

fn clone(&self) -> BufferDescriptor<L>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu_core::resource::BufferDescriptor"],["
source§

impl<L> Serialize for BufferDescriptor<L>
where\n L: Serialize,

source§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu_core::resource::BufferDescriptor"],["
source§

impl<L> Debug for BufferDescriptor<L>
where\n L: Debug,

source§

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

Formats the value using the given formatter. Read more
","Debug","wgpu_core::resource::BufferDescriptor"],["
source§

impl<L> StructuralPartialEq for BufferDescriptor<L>

","StructuralPartialEq","wgpu_core::resource::BufferDescriptor"],["
source§

impl<L> Eq for BufferDescriptor<L>
where\n L: Eq,

","Eq","wgpu_core::resource::BufferDescriptor"],["
source§

impl<L> Hash for BufferDescriptor<L>
where\n L: Hash,

source§

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

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

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

Feeds a slice of this type into the given Hasher. Read more
","Hash","wgpu_core::resource::BufferDescriptor"]] +"wgpu":[["
§

impl<L> BufferDescriptor<L>

pub fn map_label<K>(&self, fun: impl FnOnce(&L) -> K) -> BufferDescriptor<K>

Takes a closure and maps the label of the buffer descriptor into another.

\n
",0,"wgpu::api::buffer::BufferDescriptor"],["
§

impl<'de, L> Deserialize<'de> for BufferDescriptor<L>
where\n L: Deserialize<'de>,

§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<BufferDescriptor<L>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu::api::buffer::BufferDescriptor"],["
§

impl<L> PartialEq for BufferDescriptor<L>
where\n L: PartialEq,

§

fn eq(&self, other: &BufferDescriptor<L>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","wgpu::api::buffer::BufferDescriptor"],["
§

impl<L> StructuralEq for BufferDescriptor<L>

","StructuralEq","wgpu::api::buffer::BufferDescriptor"],["
§

impl<L> Clone for BufferDescriptor<L>
where\n L: Clone,

§

fn clone(&self) -> BufferDescriptor<L>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu::api::buffer::BufferDescriptor"],["
§

impl<L> Serialize for BufferDescriptor<L>
where\n L: Serialize,

§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu::api::buffer::BufferDescriptor"],["
§

impl<L> Debug for BufferDescriptor<L>
where\n L: Debug,

§

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

Formats the value using the given formatter. Read more
","Debug","wgpu::api::buffer::BufferDescriptor"],["
§

impl<L> StructuralPartialEq for BufferDescriptor<L>

","StructuralPartialEq","wgpu::api::buffer::BufferDescriptor"],["
§

impl<L> Eq for BufferDescriptor<L>
where\n L: Eq,

","Eq","wgpu::api::buffer::BufferDescriptor"],["
§

impl<L> Hash for BufferDescriptor<L>
where\n L: Hash,

§

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

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

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

Feeds a slice of this type into the given Hasher. Read more
","Hash","wgpu::api::buffer::BufferDescriptor"]], +"wgpu_core":[["
§

impl<L> BufferDescriptor<L>

pub fn map_label<K>(&self, fun: impl FnOnce(&L) -> K) -> BufferDescriptor<K>

Takes a closure and maps the label of the buffer descriptor into another.

\n
",0,"wgpu_core::resource::BufferDescriptor"],["
§

impl<'de, L> Deserialize<'de> for BufferDescriptor<L>
where\n L: Deserialize<'de>,

§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<BufferDescriptor<L>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu_core::resource::BufferDescriptor"],["
§

impl<L> PartialEq for BufferDescriptor<L>
where\n L: PartialEq,

§

fn eq(&self, other: &BufferDescriptor<L>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","wgpu_core::resource::BufferDescriptor"],["
§

impl<L> StructuralEq for BufferDescriptor<L>

","StructuralEq","wgpu_core::resource::BufferDescriptor"],["
§

impl<L> Clone for BufferDescriptor<L>
where\n L: Clone,

§

fn clone(&self) -> BufferDescriptor<L>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu_core::resource::BufferDescriptor"],["
§

impl<L> Serialize for BufferDescriptor<L>
where\n L: Serialize,

§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu_core::resource::BufferDescriptor"],["
§

impl<L> Debug for BufferDescriptor<L>
where\n L: Debug,

§

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

Formats the value using the given formatter. Read more
","Debug","wgpu_core::resource::BufferDescriptor"],["
§

impl<L> StructuralPartialEq for BufferDescriptor<L>

","StructuralPartialEq","wgpu_core::resource::BufferDescriptor"],["
§

impl<L> Eq for BufferDescriptor<L>
where\n L: Eq,

","Eq","wgpu_core::resource::BufferDescriptor"],["
§

impl<L> Hash for BufferDescriptor<L>
where\n L: Hash,

§

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

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

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

Feeds a slice of this type into the given Hasher. Read more
","Hash","wgpu_core::resource::BufferDescriptor"]] };if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file diff --git a/doc/type.impl/wgpu_types/struct.CommandEncoderDescriptor.js b/doc/type.impl/wgpu_types/struct.CommandEncoderDescriptor.js index 888bfa8c11e9..5645ede1b351 100644 --- a/doc/type.impl/wgpu_types/struct.CommandEncoderDescriptor.js +++ b/doc/type.impl/wgpu_types/struct.CommandEncoderDescriptor.js @@ -1,3 +1,3 @@ (function() {var type_impls = { -"wgpu":[["
source§

impl<L> CommandEncoderDescriptor<L>

source

pub fn map_label<K>(\n &self,\n fun: impl FnOnce(&L) -> K\n) -> CommandEncoderDescriptor<K>

Takes a closure and maps the label of the command encoder descriptor into another.

\n
",0,"wgpu::api::command_encoder::CommandEncoderDescriptor"],["
source§

impl<'de, L> Deserialize<'de> for CommandEncoderDescriptor<L>
where\n L: Deserialize<'de>,

source§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<CommandEncoderDescriptor<L>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu::api::command_encoder::CommandEncoderDescriptor"],["
source§

impl<L> PartialEq for CommandEncoderDescriptor<L>
where\n L: PartialEq,

source§

fn eq(&self, other: &CommandEncoderDescriptor<L>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","wgpu::api::command_encoder::CommandEncoderDescriptor"],["
source§

impl<L> StructuralEq for CommandEncoderDescriptor<L>

","StructuralEq","wgpu::api::command_encoder::CommandEncoderDescriptor"],["
source§

impl<L> Clone for CommandEncoderDescriptor<L>
where\n L: Clone,

source§

fn clone(&self) -> CommandEncoderDescriptor<L>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu::api::command_encoder::CommandEncoderDescriptor"],["
source§

impl<L> Serialize for CommandEncoderDescriptor<L>
where\n L: Serialize,

source§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu::api::command_encoder::CommandEncoderDescriptor"],["
source§

impl<L> Debug for CommandEncoderDescriptor<L>
where\n L: Debug,

source§

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

Formats the value using the given formatter. Read more
","Debug","wgpu::api::command_encoder::CommandEncoderDescriptor"],["
source§

impl<T> Default for CommandEncoderDescriptor<Option<T>>

source§

fn default() -> CommandEncoderDescriptor<Option<T>>

Returns the “default value” for a type. Read more
","Default","wgpu::api::command_encoder::CommandEncoderDescriptor"],["
source§

impl<L> StructuralPartialEq for CommandEncoderDescriptor<L>

","StructuralPartialEq","wgpu::api::command_encoder::CommandEncoderDescriptor"],["
source§

impl<L> Eq for CommandEncoderDescriptor<L>
where\n L: Eq,

","Eq","wgpu::api::command_encoder::CommandEncoderDescriptor"],["
source§

impl<L> Hash for CommandEncoderDescriptor<L>
where\n L: Hash,

source§

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

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

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

Feeds a slice of this type into the given Hasher. Read more
","Hash","wgpu::api::command_encoder::CommandEncoderDescriptor"]] +"wgpu":[["
§

impl<L> CommandEncoderDescriptor<L>

pub fn map_label<K>(\n &self,\n fun: impl FnOnce(&L) -> K\n) -> CommandEncoderDescriptor<K>

Takes a closure and maps the label of the command encoder descriptor into another.

\n
",0,"wgpu::api::command_encoder::CommandEncoderDescriptor"],["
§

impl<'de, L> Deserialize<'de> for CommandEncoderDescriptor<L>
where\n L: Deserialize<'de>,

§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<CommandEncoderDescriptor<L>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu::api::command_encoder::CommandEncoderDescriptor"],["
§

impl<L> PartialEq for CommandEncoderDescriptor<L>
where\n L: PartialEq,

§

fn eq(&self, other: &CommandEncoderDescriptor<L>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","wgpu::api::command_encoder::CommandEncoderDescriptor"],["
§

impl<L> StructuralEq for CommandEncoderDescriptor<L>

","StructuralEq","wgpu::api::command_encoder::CommandEncoderDescriptor"],["
§

impl<L> Clone for CommandEncoderDescriptor<L>
where\n L: Clone,

§

fn clone(&self) -> CommandEncoderDescriptor<L>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu::api::command_encoder::CommandEncoderDescriptor"],["
§

impl<L> Serialize for CommandEncoderDescriptor<L>
where\n L: Serialize,

§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu::api::command_encoder::CommandEncoderDescriptor"],["
§

impl<L> Debug for CommandEncoderDescriptor<L>
where\n L: Debug,

§

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

Formats the value using the given formatter. Read more
","Debug","wgpu::api::command_encoder::CommandEncoderDescriptor"],["
§

impl<T> Default for CommandEncoderDescriptor<Option<T>>

§

fn default() -> CommandEncoderDescriptor<Option<T>>

Returns the “default value” for a type. Read more
","Default","wgpu::api::command_encoder::CommandEncoderDescriptor"],["
§

impl<L> StructuralPartialEq for CommandEncoderDescriptor<L>

","StructuralPartialEq","wgpu::api::command_encoder::CommandEncoderDescriptor"],["
§

impl<L> Eq for CommandEncoderDescriptor<L>
where\n L: Eq,

","Eq","wgpu::api::command_encoder::CommandEncoderDescriptor"],["
§

impl<L> Hash for CommandEncoderDescriptor<L>
where\n L: Hash,

§

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

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

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

Feeds a slice of this type into the given Hasher. Read more
","Hash","wgpu::api::command_encoder::CommandEncoderDescriptor"]] };if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file diff --git a/doc/type.impl/wgpu_types/struct.CopyExternalImageDestInfo.js b/doc/type.impl/wgpu_types/struct.CopyExternalImageDestInfo.js index 774cb4835e7d..8741d8814a89 100644 --- a/doc/type.impl/wgpu_types/struct.CopyExternalImageDestInfo.js +++ b/doc/type.impl/wgpu_types/struct.CopyExternalImageDestInfo.js @@ -1,5 +1,5 @@ (function() {var type_impls = { -"wgpu":[["
source§

impl<T> CopyExternalImageDestInfo<T>

source

pub fn to_untagged(self) -> TexelCopyTextureInfo<T>

Removes the colorspace information from the type.

\n
",0,"wgpu::ImageCopyTextureTagged"],["
source§

impl<'de, T> Deserialize<'de> for CopyExternalImageDestInfo<T>
where\n T: Deserialize<'de>,

source§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<CopyExternalImageDestInfo<T>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu::ImageCopyTextureTagged"],["
source§

impl<T> Clone for CopyExternalImageDestInfo<T>
where\n T: Clone,

source§

fn clone(&self) -> CopyExternalImageDestInfo<T>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu::ImageCopyTextureTagged"],["
source§

impl<T> Serialize for CopyExternalImageDestInfo<T>
where\n T: Serialize,

source§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu::ImageCopyTextureTagged"],["
source§

impl<T> Copy for CopyExternalImageDestInfo<T>
where\n T: Copy,

","Copy","wgpu::ImageCopyTextureTagged"],["
source§

impl<T> Debug for CopyExternalImageDestInfo<T>
where\n T: Debug,

source§

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

Formats the value using the given formatter. Read more
","Debug","wgpu::ImageCopyTextureTagged"]], -"wgpu_core":[["
source§

impl<T> CopyExternalImageDestInfo<T>

source

pub fn to_untagged(self) -> TexelCopyTextureInfo<T>

Removes the colorspace information from the type.

\n
",0,"wgpu_core::command::transfer::CopyExternalImageDestInfo","wgpu_core::command::transfer::ImageCopyTextureTagged"],["
source§

impl<'de, T> Deserialize<'de> for CopyExternalImageDestInfo<T>
where\n T: Deserialize<'de>,

source§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<CopyExternalImageDestInfo<T>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu_core::command::transfer::CopyExternalImageDestInfo","wgpu_core::command::transfer::ImageCopyTextureTagged"],["
source§

impl<T> Clone for CopyExternalImageDestInfo<T>
where\n T: Clone,

source§

fn clone(&self) -> CopyExternalImageDestInfo<T>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu_core::command::transfer::CopyExternalImageDestInfo","wgpu_core::command::transfer::ImageCopyTextureTagged"],["
source§

impl<T> Serialize for CopyExternalImageDestInfo<T>
where\n T: Serialize,

source§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu_core::command::transfer::CopyExternalImageDestInfo","wgpu_core::command::transfer::ImageCopyTextureTagged"],["
source§

impl<T> Copy for CopyExternalImageDestInfo<T>
where\n T: Copy,

","Copy","wgpu_core::command::transfer::CopyExternalImageDestInfo","wgpu_core::command::transfer::ImageCopyTextureTagged"],["
source§

impl<T> Debug for CopyExternalImageDestInfo<T>
where\n T: Debug,

source§

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

Formats the value using the given formatter. Read more
","Debug","wgpu_core::command::transfer::CopyExternalImageDestInfo","wgpu_core::command::transfer::ImageCopyTextureTagged"]], +"wgpu":[["
§

impl<T> CopyExternalImageDestInfo<T>

pub fn to_untagged(self) -> TexelCopyTextureInfo<T>

Removes the colorspace information from the type.

\n
",0,"wgpu::ImageCopyTextureTagged"],["
§

impl<'de, T> Deserialize<'de> for CopyExternalImageDestInfo<T>
where\n T: Deserialize<'de>,

§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<CopyExternalImageDestInfo<T>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu::ImageCopyTextureTagged"],["
§

impl<T> Clone for CopyExternalImageDestInfo<T>
where\n T: Clone,

§

fn clone(&self) -> CopyExternalImageDestInfo<T>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu::ImageCopyTextureTagged"],["
§

impl<T> Serialize for CopyExternalImageDestInfo<T>
where\n T: Serialize,

§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu::ImageCopyTextureTagged"],["
§

impl<T> Copy for CopyExternalImageDestInfo<T>
where\n T: Copy,

","Copy","wgpu::ImageCopyTextureTagged"],["
§

impl<T> Debug for CopyExternalImageDestInfo<T>
where\n T: Debug,

§

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

Formats the value using the given formatter. Read more
","Debug","wgpu::ImageCopyTextureTagged"]], +"wgpu_core":[["
§

impl<T> CopyExternalImageDestInfo<T>

pub fn to_untagged(self) -> TexelCopyTextureInfo<T>

Removes the colorspace information from the type.

\n
",0,"wgpu_core::command::transfer::CopyExternalImageDestInfo","wgpu_core::command::transfer::ImageCopyTextureTagged"],["
§

impl<'de, T> Deserialize<'de> for CopyExternalImageDestInfo<T>
where\n T: Deserialize<'de>,

§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<CopyExternalImageDestInfo<T>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu_core::command::transfer::CopyExternalImageDestInfo","wgpu_core::command::transfer::ImageCopyTextureTagged"],["
§

impl<T> Clone for CopyExternalImageDestInfo<T>
where\n T: Clone,

§

fn clone(&self) -> CopyExternalImageDestInfo<T>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu_core::command::transfer::CopyExternalImageDestInfo","wgpu_core::command::transfer::ImageCopyTextureTagged"],["
§

impl<T> Serialize for CopyExternalImageDestInfo<T>
where\n T: Serialize,

§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu_core::command::transfer::CopyExternalImageDestInfo","wgpu_core::command::transfer::ImageCopyTextureTagged"],["
§

impl<T> Copy for CopyExternalImageDestInfo<T>
where\n T: Copy,

","Copy","wgpu_core::command::transfer::CopyExternalImageDestInfo","wgpu_core::command::transfer::ImageCopyTextureTagged"],["
§

impl<T> Debug for CopyExternalImageDestInfo<T>
where\n T: Debug,

§

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

Formats the value using the given formatter. Read more
","Debug","wgpu_core::command::transfer::CopyExternalImageDestInfo","wgpu_core::command::transfer::ImageCopyTextureTagged"]], "wgpu_types":[["
source§

impl<T> CopyExternalImageDestInfo<T>

source

pub fn to_untagged(self) -> TexelCopyTextureInfo<T>

Removes the colorspace information from the type.

\n
",0,"wgpu_types::ImageCopyTextureTagged"],["
source§

impl<T> Serialize for CopyExternalImageDestInfo<T>
where\n T: Serialize,

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu_types::ImageCopyTextureTagged"],["
source§

impl<'de, T> Deserialize<'de> for CopyExternalImageDestInfo<T>
where\n T: Deserialize<'de>,

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu_types::ImageCopyTextureTagged"],["
source§

impl<T: Debug> Debug for CopyExternalImageDestInfo<T>

source§

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

Formats the value using the given formatter. Read more
","Debug","wgpu_types::ImageCopyTextureTagged"],["
source§

impl<T: Clone> Clone for CopyExternalImageDestInfo<T>

source§

fn clone(&self) -> CopyExternalImageDestInfo<T>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu_types::ImageCopyTextureTagged"],["
source§

impl<T: Copy> Copy for CopyExternalImageDestInfo<T>

","Copy","wgpu_types::ImageCopyTextureTagged"]] };if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file diff --git a/doc/type.impl/wgpu_types/struct.CreateBlasDescriptor.js b/doc/type.impl/wgpu_types/struct.CreateBlasDescriptor.js index 82f145f89cae..8521b9f8188b 100644 --- a/doc/type.impl/wgpu_types/struct.CreateBlasDescriptor.js +++ b/doc/type.impl/wgpu_types/struct.CreateBlasDescriptor.js @@ -1,4 +1,4 @@ (function() {var type_impls = { -"wgpu":[["
source§

impl<L> CreateBlasDescriptor<L>

source

pub fn map_label<K>(&self, fun: impl FnOnce(&L) -> K) -> CreateBlasDescriptor<K>

Takes a closure and maps the label of the blas descriptor into another.

\n
",0,"wgpu::api::blas::CreateBlasDescriptor"],["
source§

impl<'de, L> Deserialize<'de> for CreateBlasDescriptor<L>
where\n L: Deserialize<'de>,

source§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<CreateBlasDescriptor<L>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu::api::blas::CreateBlasDescriptor"],["
source§

impl<L> PartialEq for CreateBlasDescriptor<L>
where\n L: PartialEq,

source§

fn eq(&self, other: &CreateBlasDescriptor<L>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","wgpu::api::blas::CreateBlasDescriptor"],["
source§

impl<L> StructuralEq for CreateBlasDescriptor<L>

","StructuralEq","wgpu::api::blas::CreateBlasDescriptor"],["
source§

impl<L> Clone for CreateBlasDescriptor<L>
where\n L: Clone,

source§

fn clone(&self) -> CreateBlasDescriptor<L>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu::api::blas::CreateBlasDescriptor"],["
source§

impl<L> Serialize for CreateBlasDescriptor<L>
where\n L: Serialize,

source§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu::api::blas::CreateBlasDescriptor"],["
source§

impl<L> Debug for CreateBlasDescriptor<L>
where\n L: Debug,

source§

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

Formats the value using the given formatter. Read more
","Debug","wgpu::api::blas::CreateBlasDescriptor"],["
source§

impl<L> StructuralPartialEq for CreateBlasDescriptor<L>

","StructuralPartialEq","wgpu::api::blas::CreateBlasDescriptor"],["
source§

impl<L> Eq for CreateBlasDescriptor<L>
where\n L: Eq,

","Eq","wgpu::api::blas::CreateBlasDescriptor"],["
source§

impl<L> Hash for CreateBlasDescriptor<L>
where\n L: Hash,

source§

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

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

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

Feeds a slice of this type into the given Hasher. Read more
","Hash","wgpu::api::blas::CreateBlasDescriptor"]], -"wgpu_core":[["
source§

impl<L> CreateBlasDescriptor<L>

source

pub fn map_label<K>(&self, fun: impl FnOnce(&L) -> K) -> CreateBlasDescriptor<K>

Takes a closure and maps the label of the blas descriptor into another.

\n
",0,"wgpu_core::resource::BlasDescriptor"],["
source§

impl<'de, L> Deserialize<'de> for CreateBlasDescriptor<L>
where\n L: Deserialize<'de>,

source§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<CreateBlasDescriptor<L>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu_core::resource::BlasDescriptor"],["
source§

impl<L> PartialEq for CreateBlasDescriptor<L>
where\n L: PartialEq,

source§

fn eq(&self, other: &CreateBlasDescriptor<L>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","wgpu_core::resource::BlasDescriptor"],["
source§

impl<L> StructuralEq for CreateBlasDescriptor<L>

","StructuralEq","wgpu_core::resource::BlasDescriptor"],["
source§

impl<L> Clone for CreateBlasDescriptor<L>
where\n L: Clone,

source§

fn clone(&self) -> CreateBlasDescriptor<L>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu_core::resource::BlasDescriptor"],["
source§

impl<L> Serialize for CreateBlasDescriptor<L>
where\n L: Serialize,

source§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu_core::resource::BlasDescriptor"],["
source§

impl<L> Debug for CreateBlasDescriptor<L>
where\n L: Debug,

source§

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

Formats the value using the given formatter. Read more
","Debug","wgpu_core::resource::BlasDescriptor"],["
source§

impl<L> StructuralPartialEq for CreateBlasDescriptor<L>

","StructuralPartialEq","wgpu_core::resource::BlasDescriptor"],["
source§

impl<L> Eq for CreateBlasDescriptor<L>
where\n L: Eq,

","Eq","wgpu_core::resource::BlasDescriptor"],["
source§

impl<L> Hash for CreateBlasDescriptor<L>
where\n L: Hash,

source§

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

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

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

Feeds a slice of this type into the given Hasher. Read more
","Hash","wgpu_core::resource::BlasDescriptor"]] +"wgpu":[["
§

impl<L> CreateBlasDescriptor<L>

pub fn map_label<K>(&self, fun: impl FnOnce(&L) -> K) -> CreateBlasDescriptor<K>

Takes a closure and maps the label of the blas descriptor into another.

\n
",0,"wgpu::api::blas::CreateBlasDescriptor"],["
§

impl<'de, L> Deserialize<'de> for CreateBlasDescriptor<L>
where\n L: Deserialize<'de>,

§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<CreateBlasDescriptor<L>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu::api::blas::CreateBlasDescriptor"],["
§

impl<L> PartialEq for CreateBlasDescriptor<L>
where\n L: PartialEq,

§

fn eq(&self, other: &CreateBlasDescriptor<L>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","wgpu::api::blas::CreateBlasDescriptor"],["
§

impl<L> StructuralEq for CreateBlasDescriptor<L>

","StructuralEq","wgpu::api::blas::CreateBlasDescriptor"],["
§

impl<L> Clone for CreateBlasDescriptor<L>
where\n L: Clone,

§

fn clone(&self) -> CreateBlasDescriptor<L>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu::api::blas::CreateBlasDescriptor"],["
§

impl<L> Serialize for CreateBlasDescriptor<L>
where\n L: Serialize,

§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu::api::blas::CreateBlasDescriptor"],["
§

impl<L> Debug for CreateBlasDescriptor<L>
where\n L: Debug,

§

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

Formats the value using the given formatter. Read more
","Debug","wgpu::api::blas::CreateBlasDescriptor"],["
§

impl<L> StructuralPartialEq for CreateBlasDescriptor<L>

","StructuralPartialEq","wgpu::api::blas::CreateBlasDescriptor"],["
§

impl<L> Eq for CreateBlasDescriptor<L>
where\n L: Eq,

","Eq","wgpu::api::blas::CreateBlasDescriptor"],["
§

impl<L> Hash for CreateBlasDescriptor<L>
where\n L: Hash,

§

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

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

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

Feeds a slice of this type into the given Hasher. Read more
","Hash","wgpu::api::blas::CreateBlasDescriptor"]], +"wgpu_core":[["
§

impl<L> CreateBlasDescriptor<L>

pub fn map_label<K>(&self, fun: impl FnOnce(&L) -> K) -> CreateBlasDescriptor<K>

Takes a closure and maps the label of the blas descriptor into another.

\n
",0,"wgpu_core::resource::BlasDescriptor"],["
§

impl<'de, L> Deserialize<'de> for CreateBlasDescriptor<L>
where\n L: Deserialize<'de>,

§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<CreateBlasDescriptor<L>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu_core::resource::BlasDescriptor"],["
§

impl<L> PartialEq for CreateBlasDescriptor<L>
where\n L: PartialEq,

§

fn eq(&self, other: &CreateBlasDescriptor<L>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","wgpu_core::resource::BlasDescriptor"],["
§

impl<L> StructuralEq for CreateBlasDescriptor<L>

","StructuralEq","wgpu_core::resource::BlasDescriptor"],["
§

impl<L> Clone for CreateBlasDescriptor<L>
where\n L: Clone,

§

fn clone(&self) -> CreateBlasDescriptor<L>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu_core::resource::BlasDescriptor"],["
§

impl<L> Serialize for CreateBlasDescriptor<L>
where\n L: Serialize,

§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu_core::resource::BlasDescriptor"],["
§

impl<L> Debug for CreateBlasDescriptor<L>
where\n L: Debug,

§

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

Formats the value using the given formatter. Read more
","Debug","wgpu_core::resource::BlasDescriptor"],["
§

impl<L> StructuralPartialEq for CreateBlasDescriptor<L>

","StructuralPartialEq","wgpu_core::resource::BlasDescriptor"],["
§

impl<L> Eq for CreateBlasDescriptor<L>
where\n L: Eq,

","Eq","wgpu_core::resource::BlasDescriptor"],["
§

impl<L> Hash for CreateBlasDescriptor<L>
where\n L: Hash,

§

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

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

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

Feeds a slice of this type into the given Hasher. Read more
","Hash","wgpu_core::resource::BlasDescriptor"]] };if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file diff --git a/doc/type.impl/wgpu_types/struct.CreateTlasDescriptor.js b/doc/type.impl/wgpu_types/struct.CreateTlasDescriptor.js index a89568be1dce..cd80aa34e368 100644 --- a/doc/type.impl/wgpu_types/struct.CreateTlasDescriptor.js +++ b/doc/type.impl/wgpu_types/struct.CreateTlasDescriptor.js @@ -1,4 +1,4 @@ (function() {var type_impls = { -"wgpu":[["
source§

impl<L> CreateTlasDescriptor<L>

source

pub fn map_label<K>(&self, fun: impl FnOnce(&L) -> K) -> CreateTlasDescriptor<K>

Takes a closure and maps the label of the blas descriptor into another.

\n
",0,"wgpu::api::tlas::CreateTlasDescriptor"],["
source§

impl<'de, L> Deserialize<'de> for CreateTlasDescriptor<L>
where\n L: Deserialize<'de>,

source§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<CreateTlasDescriptor<L>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu::api::tlas::CreateTlasDescriptor"],["
source§

impl<L> PartialEq for CreateTlasDescriptor<L>
where\n L: PartialEq,

source§

fn eq(&self, other: &CreateTlasDescriptor<L>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","wgpu::api::tlas::CreateTlasDescriptor"],["
source§

impl<L> StructuralEq for CreateTlasDescriptor<L>

","StructuralEq","wgpu::api::tlas::CreateTlasDescriptor"],["
source§

impl<L> Clone for CreateTlasDescriptor<L>
where\n L: Clone,

source§

fn clone(&self) -> CreateTlasDescriptor<L>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu::api::tlas::CreateTlasDescriptor"],["
source§

impl<L> Serialize for CreateTlasDescriptor<L>
where\n L: Serialize,

source§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu::api::tlas::CreateTlasDescriptor"],["
source§

impl<L> Debug for CreateTlasDescriptor<L>
where\n L: Debug,

source§

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

Formats the value using the given formatter. Read more
","Debug","wgpu::api::tlas::CreateTlasDescriptor"],["
source§

impl<L> StructuralPartialEq for CreateTlasDescriptor<L>

","StructuralPartialEq","wgpu::api::tlas::CreateTlasDescriptor"],["
source§

impl<L> Eq for CreateTlasDescriptor<L>
where\n L: Eq,

","Eq","wgpu::api::tlas::CreateTlasDescriptor"],["
source§

impl<L> Hash for CreateTlasDescriptor<L>
where\n L: Hash,

source§

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

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

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

Feeds a slice of this type into the given Hasher. Read more
","Hash","wgpu::api::tlas::CreateTlasDescriptor"]], -"wgpu_core":[["
source§

impl<L> CreateTlasDescriptor<L>

source

pub fn map_label<K>(&self, fun: impl FnOnce(&L) -> K) -> CreateTlasDescriptor<K>

Takes a closure and maps the label of the blas descriptor into another.

\n
",0,"wgpu_core::resource::TlasDescriptor"],["
source§

impl<'de, L> Deserialize<'de> for CreateTlasDescriptor<L>
where\n L: Deserialize<'de>,

source§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<CreateTlasDescriptor<L>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu_core::resource::TlasDescriptor"],["
source§

impl<L> PartialEq for CreateTlasDescriptor<L>
where\n L: PartialEq,

source§

fn eq(&self, other: &CreateTlasDescriptor<L>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","wgpu_core::resource::TlasDescriptor"],["
source§

impl<L> StructuralEq for CreateTlasDescriptor<L>

","StructuralEq","wgpu_core::resource::TlasDescriptor"],["
source§

impl<L> Clone for CreateTlasDescriptor<L>
where\n L: Clone,

source§

fn clone(&self) -> CreateTlasDescriptor<L>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu_core::resource::TlasDescriptor"],["
source§

impl<L> Serialize for CreateTlasDescriptor<L>
where\n L: Serialize,

source§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu_core::resource::TlasDescriptor"],["
source§

impl<L> Debug for CreateTlasDescriptor<L>
where\n L: Debug,

source§

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

Formats the value using the given formatter. Read more
","Debug","wgpu_core::resource::TlasDescriptor"],["
source§

impl<L> StructuralPartialEq for CreateTlasDescriptor<L>

","StructuralPartialEq","wgpu_core::resource::TlasDescriptor"],["
source§

impl<L> Eq for CreateTlasDescriptor<L>
where\n L: Eq,

","Eq","wgpu_core::resource::TlasDescriptor"],["
source§

impl<L> Hash for CreateTlasDescriptor<L>
where\n L: Hash,

source§

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

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

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

Feeds a slice of this type into the given Hasher. Read more
","Hash","wgpu_core::resource::TlasDescriptor"]] +"wgpu":[["
§

impl<L> CreateTlasDescriptor<L>

pub fn map_label<K>(&self, fun: impl FnOnce(&L) -> K) -> CreateTlasDescriptor<K>

Takes a closure and maps the label of the blas descriptor into another.

\n
",0,"wgpu::api::tlas::CreateTlasDescriptor"],["
§

impl<'de, L> Deserialize<'de> for CreateTlasDescriptor<L>
where\n L: Deserialize<'de>,

§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<CreateTlasDescriptor<L>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu::api::tlas::CreateTlasDescriptor"],["
§

impl<L> PartialEq for CreateTlasDescriptor<L>
where\n L: PartialEq,

§

fn eq(&self, other: &CreateTlasDescriptor<L>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","wgpu::api::tlas::CreateTlasDescriptor"],["
§

impl<L> StructuralEq for CreateTlasDescriptor<L>

","StructuralEq","wgpu::api::tlas::CreateTlasDescriptor"],["
§

impl<L> Clone for CreateTlasDescriptor<L>
where\n L: Clone,

§

fn clone(&self) -> CreateTlasDescriptor<L>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu::api::tlas::CreateTlasDescriptor"],["
§

impl<L> Serialize for CreateTlasDescriptor<L>
where\n L: Serialize,

§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu::api::tlas::CreateTlasDescriptor"],["
§

impl<L> Debug for CreateTlasDescriptor<L>
where\n L: Debug,

§

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

Formats the value using the given formatter. Read more
","Debug","wgpu::api::tlas::CreateTlasDescriptor"],["
§

impl<L> StructuralPartialEq for CreateTlasDescriptor<L>

","StructuralPartialEq","wgpu::api::tlas::CreateTlasDescriptor"],["
§

impl<L> Eq for CreateTlasDescriptor<L>
where\n L: Eq,

","Eq","wgpu::api::tlas::CreateTlasDescriptor"],["
§

impl<L> Hash for CreateTlasDescriptor<L>
where\n L: Hash,

§

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

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

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

Feeds a slice of this type into the given Hasher. Read more
","Hash","wgpu::api::tlas::CreateTlasDescriptor"]], +"wgpu_core":[["
§

impl<L> CreateTlasDescriptor<L>

pub fn map_label<K>(&self, fun: impl FnOnce(&L) -> K) -> CreateTlasDescriptor<K>

Takes a closure and maps the label of the blas descriptor into another.

\n
",0,"wgpu_core::resource::TlasDescriptor"],["
§

impl<'de, L> Deserialize<'de> for CreateTlasDescriptor<L>
where\n L: Deserialize<'de>,

§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<CreateTlasDescriptor<L>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu_core::resource::TlasDescriptor"],["
§

impl<L> PartialEq for CreateTlasDescriptor<L>
where\n L: PartialEq,

§

fn eq(&self, other: &CreateTlasDescriptor<L>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","wgpu_core::resource::TlasDescriptor"],["
§

impl<L> StructuralEq for CreateTlasDescriptor<L>

","StructuralEq","wgpu_core::resource::TlasDescriptor"],["
§

impl<L> Clone for CreateTlasDescriptor<L>
where\n L: Clone,

§

fn clone(&self) -> CreateTlasDescriptor<L>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu_core::resource::TlasDescriptor"],["
§

impl<L> Serialize for CreateTlasDescriptor<L>
where\n L: Serialize,

§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu_core::resource::TlasDescriptor"],["
§

impl<L> Debug for CreateTlasDescriptor<L>
where\n L: Debug,

§

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

Formats the value using the given formatter. Read more
","Debug","wgpu_core::resource::TlasDescriptor"],["
§

impl<L> StructuralPartialEq for CreateTlasDescriptor<L>

","StructuralPartialEq","wgpu_core::resource::TlasDescriptor"],["
§

impl<L> Eq for CreateTlasDescriptor<L>
where\n L: Eq,

","Eq","wgpu_core::resource::TlasDescriptor"],["
§

impl<L> Hash for CreateTlasDescriptor<L>
where\n L: Hash,

§

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

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

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

Feeds a slice of this type into the given Hasher. Read more
","Hash","wgpu_core::resource::TlasDescriptor"]] };if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file diff --git a/doc/type.impl/wgpu_types/struct.DeviceDescriptor.js b/doc/type.impl/wgpu_types/struct.DeviceDescriptor.js index ba3e89227a0b..4ada087b87df 100644 --- a/doc/type.impl/wgpu_types/struct.DeviceDescriptor.js +++ b/doc/type.impl/wgpu_types/struct.DeviceDescriptor.js @@ -1,4 +1,4 @@ (function() {var type_impls = { -"wgpu":[["
source§

impl<L> DeviceDescriptor<L>

source

pub fn map_label<K>(&self, fun: impl FnOnce(&L) -> K) -> DeviceDescriptor<K>

Takes a closure and maps the label of the device descriptor into another.

\n
",0,"wgpu::api::device::DeviceDescriptor"],["
source§

impl<'de, L> Deserialize<'de> for DeviceDescriptor<L>
where\n L: Deserialize<'de>,

source§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<DeviceDescriptor<L>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu::api::device::DeviceDescriptor"],["
source§

impl<L> Clone for DeviceDescriptor<L>
where\n L: Clone,

source§

fn clone(&self) -> DeviceDescriptor<L>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu::api::device::DeviceDescriptor"],["
source§

impl<L> Serialize for DeviceDescriptor<L>
where\n L: Serialize,

source§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu::api::device::DeviceDescriptor"],["
source§

impl<L> Debug for DeviceDescriptor<L>
where\n L: Debug,

source§

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

Formats the value using the given formatter. Read more
","Debug","wgpu::api::device::DeviceDescriptor"],["
source§

impl<L> Default for DeviceDescriptor<L>
where\n L: Default,

source§

fn default() -> DeviceDescriptor<L>

Returns the “default value” for a type. Read more
","Default","wgpu::api::device::DeviceDescriptor"]], -"wgpu_core":[["
source§

impl<L> DeviceDescriptor<L>

source

pub fn map_label<K>(&self, fun: impl FnOnce(&L) -> K) -> DeviceDescriptor<K>

Takes a closure and maps the label of the device descriptor into another.

\n
",0,"wgpu_core::device::DeviceDescriptor"],["
source§

impl<'de, L> Deserialize<'de> for DeviceDescriptor<L>
where\n L: Deserialize<'de>,

source§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<DeviceDescriptor<L>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu_core::device::DeviceDescriptor"],["
source§

impl<L> Clone for DeviceDescriptor<L>
where\n L: Clone,

source§

fn clone(&self) -> DeviceDescriptor<L>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu_core::device::DeviceDescriptor"],["
source§

impl<L> Serialize for DeviceDescriptor<L>
where\n L: Serialize,

source§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu_core::device::DeviceDescriptor"],["
source§

impl<L> Debug for DeviceDescriptor<L>
where\n L: Debug,

source§

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

Formats the value using the given formatter. Read more
","Debug","wgpu_core::device::DeviceDescriptor"],["
source§

impl<L> Default for DeviceDescriptor<L>
where\n L: Default,

source§

fn default() -> DeviceDescriptor<L>

Returns the “default value” for a type. Read more
","Default","wgpu_core::device::DeviceDescriptor"]] +"wgpu":[["
§

impl<L> DeviceDescriptor<L>

pub fn map_label<K>(&self, fun: impl FnOnce(&L) -> K) -> DeviceDescriptor<K>

Takes a closure and maps the label of the device descriptor into another.

\n
",0,"wgpu::api::device::DeviceDescriptor"],["
§

impl<'de, L> Deserialize<'de> for DeviceDescriptor<L>
where\n L: Deserialize<'de>,

§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<DeviceDescriptor<L>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu::api::device::DeviceDescriptor"],["
§

impl<L> Clone for DeviceDescriptor<L>
where\n L: Clone,

§

fn clone(&self) -> DeviceDescriptor<L>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu::api::device::DeviceDescriptor"],["
§

impl<L> Serialize for DeviceDescriptor<L>
where\n L: Serialize,

§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu::api::device::DeviceDescriptor"],["
§

impl<L> Debug for DeviceDescriptor<L>
where\n L: Debug,

§

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

Formats the value using the given formatter. Read more
","Debug","wgpu::api::device::DeviceDescriptor"],["
§

impl<L> Default for DeviceDescriptor<L>
where\n L: Default,

§

fn default() -> DeviceDescriptor<L>

Returns the “default value” for a type. Read more
","Default","wgpu::api::device::DeviceDescriptor"]], +"wgpu_core":[["
§

impl<L> DeviceDescriptor<L>

pub fn map_label<K>(&self, fun: impl FnOnce(&L) -> K) -> DeviceDescriptor<K>

Takes a closure and maps the label of the device descriptor into another.

\n
",0,"wgpu_core::device::DeviceDescriptor"],["
§

impl<'de, L> Deserialize<'de> for DeviceDescriptor<L>
where\n L: Deserialize<'de>,

§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<DeviceDescriptor<L>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu_core::device::DeviceDescriptor"],["
§

impl<L> Clone for DeviceDescriptor<L>
where\n L: Clone,

§

fn clone(&self) -> DeviceDescriptor<L>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu_core::device::DeviceDescriptor"],["
§

impl<L> Serialize for DeviceDescriptor<L>
where\n L: Serialize,

§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu_core::device::DeviceDescriptor"],["
§

impl<L> Debug for DeviceDescriptor<L>
where\n L: Debug,

§

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

Formats the value using the given formatter. Read more
","Debug","wgpu_core::device::DeviceDescriptor"],["
§

impl<L> Default for DeviceDescriptor<L>
where\n L: Default,

§

fn default() -> DeviceDescriptor<L>

Returns the “default value” for a type. Read more
","Default","wgpu_core::device::DeviceDescriptor"]] };if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file diff --git a/doc/type.impl/wgpu_types/struct.QuerySetDescriptor.js b/doc/type.impl/wgpu_types/struct.QuerySetDescriptor.js index 9e0c003a9f6a..833ded130ee4 100644 --- a/doc/type.impl/wgpu_types/struct.QuerySetDescriptor.js +++ b/doc/type.impl/wgpu_types/struct.QuerySetDescriptor.js @@ -1,4 +1,4 @@ (function() {var type_impls = { -"wgpu":[["
source§

impl<L> QuerySetDescriptor<L>

source

pub fn map_label<'a, K>(\n &'a self,\n fun: impl FnOnce(&'a L) -> K\n) -> QuerySetDescriptor<K>

Takes a closure and maps the label of the query set descriptor into another.

\n
",0,"wgpu::api::query_set::QuerySetDescriptor"],["
source§

impl<'de, L> Deserialize<'de> for QuerySetDescriptor<L>
where\n L: Deserialize<'de>,

source§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<QuerySetDescriptor<L>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu::api::query_set::QuerySetDescriptor"],["
source§

impl<L> Clone for QuerySetDescriptor<L>
where\n L: Clone,

source§

fn clone(&self) -> QuerySetDescriptor<L>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu::api::query_set::QuerySetDescriptor"],["
source§

impl<L> Serialize for QuerySetDescriptor<L>
where\n L: Serialize,

source§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu::api::query_set::QuerySetDescriptor"],["
source§

impl<L> Debug for QuerySetDescriptor<L>
where\n L: Debug,

source§

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

Formats the value using the given formatter. Read more
","Debug","wgpu::api::query_set::QuerySetDescriptor"]], -"wgpu_core":[["
source§

impl<L> QuerySetDescriptor<L>

source

pub fn map_label<'a, K>(\n &'a self,\n fun: impl FnOnce(&'a L) -> K\n) -> QuerySetDescriptor<K>

Takes a closure and maps the label of the query set descriptor into another.

\n
",0,"wgpu_core::resource::QuerySetDescriptor"],["
source§

impl<'de, L> Deserialize<'de> for QuerySetDescriptor<L>
where\n L: Deserialize<'de>,

source§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<QuerySetDescriptor<L>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu_core::resource::QuerySetDescriptor"],["
source§

impl<L> Clone for QuerySetDescriptor<L>
where\n L: Clone,

source§

fn clone(&self) -> QuerySetDescriptor<L>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu_core::resource::QuerySetDescriptor"],["
source§

impl<L> Serialize for QuerySetDescriptor<L>
where\n L: Serialize,

source§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu_core::resource::QuerySetDescriptor"],["
source§

impl<L> Debug for QuerySetDescriptor<L>
where\n L: Debug,

source§

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

Formats the value using the given formatter. Read more
","Debug","wgpu_core::resource::QuerySetDescriptor"]] +"wgpu":[["
§

impl<L> QuerySetDescriptor<L>

pub fn map_label<'a, K>(\n &'a self,\n fun: impl FnOnce(&'a L) -> K\n) -> QuerySetDescriptor<K>

Takes a closure and maps the label of the query set descriptor into another.

\n
",0,"wgpu::api::query_set::QuerySetDescriptor"],["
§

impl<'de, L> Deserialize<'de> for QuerySetDescriptor<L>
where\n L: Deserialize<'de>,

§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<QuerySetDescriptor<L>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu::api::query_set::QuerySetDescriptor"],["
§

impl<L> Clone for QuerySetDescriptor<L>
where\n L: Clone,

§

fn clone(&self) -> QuerySetDescriptor<L>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu::api::query_set::QuerySetDescriptor"],["
§

impl<L> Serialize for QuerySetDescriptor<L>
where\n L: Serialize,

§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu::api::query_set::QuerySetDescriptor"],["
§

impl<L> Debug for QuerySetDescriptor<L>
where\n L: Debug,

§

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

Formats the value using the given formatter. Read more
","Debug","wgpu::api::query_set::QuerySetDescriptor"]], +"wgpu_core":[["
§

impl<L> QuerySetDescriptor<L>

pub fn map_label<'a, K>(\n &'a self,\n fun: impl FnOnce(&'a L) -> K\n) -> QuerySetDescriptor<K>

Takes a closure and maps the label of the query set descriptor into another.

\n
",0,"wgpu_core::resource::QuerySetDescriptor"],["
§

impl<'de, L> Deserialize<'de> for QuerySetDescriptor<L>
where\n L: Deserialize<'de>,

§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<QuerySetDescriptor<L>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu_core::resource::QuerySetDescriptor"],["
§

impl<L> Clone for QuerySetDescriptor<L>
where\n L: Clone,

§

fn clone(&self) -> QuerySetDescriptor<L>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu_core::resource::QuerySetDescriptor"],["
§

impl<L> Serialize for QuerySetDescriptor<L>
where\n L: Serialize,

§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu_core::resource::QuerySetDescriptor"],["
§

impl<L> Debug for QuerySetDescriptor<L>
where\n L: Debug,

§

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

Formats the value using the given formatter. Read more
","Debug","wgpu_core::resource::QuerySetDescriptor"]] };if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file diff --git a/doc/type.impl/wgpu_types/struct.RenderBundleDescriptor.js b/doc/type.impl/wgpu_types/struct.RenderBundleDescriptor.js index 3d219727362d..9c5b913986dc 100644 --- a/doc/type.impl/wgpu_types/struct.RenderBundleDescriptor.js +++ b/doc/type.impl/wgpu_types/struct.RenderBundleDescriptor.js @@ -1,4 +1,4 @@ (function() {var type_impls = { -"wgpu":[["
source§

impl<L> RenderBundleDescriptor<L>

source

pub fn map_label<K>(\n &self,\n fun: impl FnOnce(&L) -> K\n) -> RenderBundleDescriptor<K>

Takes a closure and maps the label of the render bundle descriptor into another.

\n
",0,"wgpu::api::render_bundle::RenderBundleDescriptor"],["
source§

impl<'de, L> Deserialize<'de> for RenderBundleDescriptor<L>
where\n L: Deserialize<'de>,

source§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<RenderBundleDescriptor<L>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu::api::render_bundle::RenderBundleDescriptor"],["
source§

impl<L> PartialEq for RenderBundleDescriptor<L>
where\n L: PartialEq,

source§

fn eq(&self, other: &RenderBundleDescriptor<L>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","wgpu::api::render_bundle::RenderBundleDescriptor"],["
source§

impl<L> StructuralEq for RenderBundleDescriptor<L>

","StructuralEq","wgpu::api::render_bundle::RenderBundleDescriptor"],["
source§

impl<L> Clone for RenderBundleDescriptor<L>
where\n L: Clone,

source§

fn clone(&self) -> RenderBundleDescriptor<L>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu::api::render_bundle::RenderBundleDescriptor"],["
source§

impl<L> Serialize for RenderBundleDescriptor<L>
where\n L: Serialize,

source§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu::api::render_bundle::RenderBundleDescriptor"],["
source§

impl<L> Debug for RenderBundleDescriptor<L>
where\n L: Debug,

source§

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

Formats the value using the given formatter. Read more
","Debug","wgpu::api::render_bundle::RenderBundleDescriptor"],["
source§

impl<T> Default for RenderBundleDescriptor<Option<T>>

source§

fn default() -> RenderBundleDescriptor<Option<T>>

Returns the “default value” for a type. Read more
","Default","wgpu::api::render_bundle::RenderBundleDescriptor"],["
source§

impl<L> StructuralPartialEq for RenderBundleDescriptor<L>

","StructuralPartialEq","wgpu::api::render_bundle::RenderBundleDescriptor"],["
source§

impl<L> Eq for RenderBundleDescriptor<L>
where\n L: Eq,

","Eq","wgpu::api::render_bundle::RenderBundleDescriptor"],["
source§

impl<L> Hash for RenderBundleDescriptor<L>
where\n L: Hash,

source§

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

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

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

Feeds a slice of this type into the given Hasher. Read more
","Hash","wgpu::api::render_bundle::RenderBundleDescriptor"]], -"wgpu_core":[["
source§

impl<L> RenderBundleDescriptor<L>

source

pub fn map_label<K>(\n &self,\n fun: impl FnOnce(&L) -> K\n) -> RenderBundleDescriptor<K>

Takes a closure and maps the label of the render bundle descriptor into another.

\n
",0,"wgpu_core::command::bundle::RenderBundleDescriptor"],["
source§

impl<'de, L> Deserialize<'de> for RenderBundleDescriptor<L>
where\n L: Deserialize<'de>,

source§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<RenderBundleDescriptor<L>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu_core::command::bundle::RenderBundleDescriptor"],["
source§

impl<L> PartialEq for RenderBundleDescriptor<L>
where\n L: PartialEq,

source§

fn eq(&self, other: &RenderBundleDescriptor<L>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","wgpu_core::command::bundle::RenderBundleDescriptor"],["
source§

impl<L> StructuralEq for RenderBundleDescriptor<L>

","StructuralEq","wgpu_core::command::bundle::RenderBundleDescriptor"],["
source§

impl<L> Clone for RenderBundleDescriptor<L>
where\n L: Clone,

source§

fn clone(&self) -> RenderBundleDescriptor<L>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu_core::command::bundle::RenderBundleDescriptor"],["
source§

impl<L> Serialize for RenderBundleDescriptor<L>
where\n L: Serialize,

source§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu_core::command::bundle::RenderBundleDescriptor"],["
source§

impl<L> Debug for RenderBundleDescriptor<L>
where\n L: Debug,

source§

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

Formats the value using the given formatter. Read more
","Debug","wgpu_core::command::bundle::RenderBundleDescriptor"],["
source§

impl<T> Default for RenderBundleDescriptor<Option<T>>

source§

fn default() -> RenderBundleDescriptor<Option<T>>

Returns the “default value” for a type. Read more
","Default","wgpu_core::command::bundle::RenderBundleDescriptor"],["
source§

impl<L> StructuralPartialEq for RenderBundleDescriptor<L>

","StructuralPartialEq","wgpu_core::command::bundle::RenderBundleDescriptor"],["
source§

impl<L> Eq for RenderBundleDescriptor<L>
where\n L: Eq,

","Eq","wgpu_core::command::bundle::RenderBundleDescriptor"],["
source§

impl<L> Hash for RenderBundleDescriptor<L>
where\n L: Hash,

source§

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

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

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

Feeds a slice of this type into the given Hasher. Read more
","Hash","wgpu_core::command::bundle::RenderBundleDescriptor"]] +"wgpu":[["
§

impl<L> RenderBundleDescriptor<L>

pub fn map_label<K>(\n &self,\n fun: impl FnOnce(&L) -> K\n) -> RenderBundleDescriptor<K>

Takes a closure and maps the label of the render bundle descriptor into another.

\n
",0,"wgpu::api::render_bundle::RenderBundleDescriptor"],["
§

impl<'de, L> Deserialize<'de> for RenderBundleDescriptor<L>
where\n L: Deserialize<'de>,

§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<RenderBundleDescriptor<L>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu::api::render_bundle::RenderBundleDescriptor"],["
§

impl<L> PartialEq for RenderBundleDescriptor<L>
where\n L: PartialEq,

§

fn eq(&self, other: &RenderBundleDescriptor<L>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","wgpu::api::render_bundle::RenderBundleDescriptor"],["
§

impl<L> StructuralEq for RenderBundleDescriptor<L>

","StructuralEq","wgpu::api::render_bundle::RenderBundleDescriptor"],["
§

impl<L> Clone for RenderBundleDescriptor<L>
where\n L: Clone,

§

fn clone(&self) -> RenderBundleDescriptor<L>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu::api::render_bundle::RenderBundleDescriptor"],["
§

impl<L> Serialize for RenderBundleDescriptor<L>
where\n L: Serialize,

§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu::api::render_bundle::RenderBundleDescriptor"],["
§

impl<L> Debug for RenderBundleDescriptor<L>
where\n L: Debug,

§

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

Formats the value using the given formatter. Read more
","Debug","wgpu::api::render_bundle::RenderBundleDescriptor"],["
§

impl<T> Default for RenderBundleDescriptor<Option<T>>

§

fn default() -> RenderBundleDescriptor<Option<T>>

Returns the “default value” for a type. Read more
","Default","wgpu::api::render_bundle::RenderBundleDescriptor"],["
§

impl<L> StructuralPartialEq for RenderBundleDescriptor<L>

","StructuralPartialEq","wgpu::api::render_bundle::RenderBundleDescriptor"],["
§

impl<L> Eq for RenderBundleDescriptor<L>
where\n L: Eq,

","Eq","wgpu::api::render_bundle::RenderBundleDescriptor"],["
§

impl<L> Hash for RenderBundleDescriptor<L>
where\n L: Hash,

§

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

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

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

Feeds a slice of this type into the given Hasher. Read more
","Hash","wgpu::api::render_bundle::RenderBundleDescriptor"]], +"wgpu_core":[["
§

impl<L> RenderBundleDescriptor<L>

pub fn map_label<K>(\n &self,\n fun: impl FnOnce(&L) -> K\n) -> RenderBundleDescriptor<K>

Takes a closure and maps the label of the render bundle descriptor into another.

\n
",0,"wgpu_core::command::bundle::RenderBundleDescriptor"],["
§

impl<'de, L> Deserialize<'de> for RenderBundleDescriptor<L>
where\n L: Deserialize<'de>,

§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<RenderBundleDescriptor<L>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu_core::command::bundle::RenderBundleDescriptor"],["
§

impl<L> PartialEq for RenderBundleDescriptor<L>
where\n L: PartialEq,

§

fn eq(&self, other: &RenderBundleDescriptor<L>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","wgpu_core::command::bundle::RenderBundleDescriptor"],["
§

impl<L> StructuralEq for RenderBundleDescriptor<L>

","StructuralEq","wgpu_core::command::bundle::RenderBundleDescriptor"],["
§

impl<L> Clone for RenderBundleDescriptor<L>
where\n L: Clone,

§

fn clone(&self) -> RenderBundleDescriptor<L>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu_core::command::bundle::RenderBundleDescriptor"],["
§

impl<L> Serialize for RenderBundleDescriptor<L>
where\n L: Serialize,

§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu_core::command::bundle::RenderBundleDescriptor"],["
§

impl<L> Debug for RenderBundleDescriptor<L>
where\n L: Debug,

§

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

Formats the value using the given formatter. Read more
","Debug","wgpu_core::command::bundle::RenderBundleDescriptor"],["
§

impl<T> Default for RenderBundleDescriptor<Option<T>>

§

fn default() -> RenderBundleDescriptor<Option<T>>

Returns the “default value” for a type. Read more
","Default","wgpu_core::command::bundle::RenderBundleDescriptor"],["
§

impl<L> StructuralPartialEq for RenderBundleDescriptor<L>

","StructuralPartialEq","wgpu_core::command::bundle::RenderBundleDescriptor"],["
§

impl<L> Eq for RenderBundleDescriptor<L>
where\n L: Eq,

","Eq","wgpu_core::command::bundle::RenderBundleDescriptor"],["
§

impl<L> Hash for RenderBundleDescriptor<L>
where\n L: Hash,

§

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

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

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

Feeds a slice of this type into the given Hasher. Read more
","Hash","wgpu_core::command::bundle::RenderBundleDescriptor"]] };if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file diff --git a/doc/type.impl/wgpu_types/struct.RequestAdapterOptions.js b/doc/type.impl/wgpu_types/struct.RequestAdapterOptions.js index 77ef387bd626..3d1ada847246 100644 --- a/doc/type.impl/wgpu_types/struct.RequestAdapterOptions.js +++ b/doc/type.impl/wgpu_types/struct.RequestAdapterOptions.js @@ -1,3 +1,3 @@ (function() {var type_impls = { -"wgpu_core":[["
source§

impl<'de, S> Deserialize<'de> for RequestAdapterOptions<S>
where\n S: Deserialize<'de>,

source§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<RequestAdapterOptions<S>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu_core::instance::RequestAdapterOptions"],["
source§

impl<S> PartialEq for RequestAdapterOptions<S>
where\n S: PartialEq,

source§

fn eq(&self, other: &RequestAdapterOptions<S>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","wgpu_core::instance::RequestAdapterOptions"],["
source§

impl<S> StructuralEq for RequestAdapterOptions<S>

","StructuralEq","wgpu_core::instance::RequestAdapterOptions"],["
source§

impl<S> Clone for RequestAdapterOptions<S>
where\n S: Clone,

source§

fn clone(&self) -> RequestAdapterOptions<S>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu_core::instance::RequestAdapterOptions"],["
source§

impl<S> Serialize for RequestAdapterOptions<S>
where\n S: Serialize,

source§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu_core::instance::RequestAdapterOptions"],["
source§

impl<S> Debug for RequestAdapterOptions<S>
where\n S: Debug,

source§

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

Formats the value using the given formatter. Read more
","Debug","wgpu_core::instance::RequestAdapterOptions"],["
source§

impl<S> Default for RequestAdapterOptions<S>

source§

fn default() -> RequestAdapterOptions<S>

Returns the “default value” for a type. Read more
","Default","wgpu_core::instance::RequestAdapterOptions"],["
source§

impl<S> StructuralPartialEq for RequestAdapterOptions<S>

","StructuralPartialEq","wgpu_core::instance::RequestAdapterOptions"],["
source§

impl<S> Eq for RequestAdapterOptions<S>
where\n S: Eq,

","Eq","wgpu_core::instance::RequestAdapterOptions"],["
source§

impl<S> Hash for RequestAdapterOptions<S>
where\n S: Hash,

source§

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

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

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

Feeds a slice of this type into the given Hasher. Read more
","Hash","wgpu_core::instance::RequestAdapterOptions"]] +"wgpu_core":[["
§

impl<'de, S> Deserialize<'de> for RequestAdapterOptions<S>
where\n S: Deserialize<'de>,

§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<RequestAdapterOptions<S>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu_core::instance::RequestAdapterOptions"],["
§

impl<S> PartialEq for RequestAdapterOptions<S>
where\n S: PartialEq,

§

fn eq(&self, other: &RequestAdapterOptions<S>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","wgpu_core::instance::RequestAdapterOptions"],["
§

impl<S> StructuralEq for RequestAdapterOptions<S>

","StructuralEq","wgpu_core::instance::RequestAdapterOptions"],["
§

impl<S> Clone for RequestAdapterOptions<S>
where\n S: Clone,

§

fn clone(&self) -> RequestAdapterOptions<S>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu_core::instance::RequestAdapterOptions"],["
§

impl<S> Serialize for RequestAdapterOptions<S>
where\n S: Serialize,

§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu_core::instance::RequestAdapterOptions"],["
§

impl<S> Debug for RequestAdapterOptions<S>
where\n S: Debug,

§

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

Formats the value using the given formatter. Read more
","Debug","wgpu_core::instance::RequestAdapterOptions"],["
§

impl<S> Default for RequestAdapterOptions<S>

§

fn default() -> RequestAdapterOptions<S>

Returns the “default value” for a type. Read more
","Default","wgpu_core::instance::RequestAdapterOptions"],["
§

impl<S> StructuralPartialEq for RequestAdapterOptions<S>

","StructuralPartialEq","wgpu_core::instance::RequestAdapterOptions"],["
§

impl<S> Eq for RequestAdapterOptions<S>
where\n S: Eq,

","Eq","wgpu_core::instance::RequestAdapterOptions"],["
§

impl<S> Hash for RequestAdapterOptions<S>
where\n S: Hash,

§

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

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

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

Feeds a slice of this type into the given Hasher. Read more
","Hash","wgpu_core::instance::RequestAdapterOptions"]] };if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file diff --git a/doc/type.impl/wgpu_types/struct.SamplerDescriptor.js b/doc/type.impl/wgpu_types/struct.SamplerDescriptor.js index 9b85337352d1..80f5bdcce024 100644 --- a/doc/type.impl/wgpu_types/struct.SamplerDescriptor.js +++ b/doc/type.impl/wgpu_types/struct.SamplerDescriptor.js @@ -1,3 +1,3 @@ (function() {var type_impls = { -"wgpu":[["
source§

impl<'de, L> Deserialize<'de> for SamplerDescriptor<L>
where\n L: Deserialize<'de>,

source§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<SamplerDescriptor<L>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu::api::sampler::SamplerDescriptor"],["
source§

impl<L> PartialEq for SamplerDescriptor<L>
where\n L: PartialEq,

source§

fn eq(&self, other: &SamplerDescriptor<L>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","wgpu::api::sampler::SamplerDescriptor"],["
source§

impl<L> Clone for SamplerDescriptor<L>
where\n L: Clone,

source§

fn clone(&self) -> SamplerDescriptor<L>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu::api::sampler::SamplerDescriptor"],["
source§

impl<L> Serialize for SamplerDescriptor<L>
where\n L: Serialize,

source§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu::api::sampler::SamplerDescriptor"],["
source§

impl<L> Debug for SamplerDescriptor<L>
where\n L: Debug,

source§

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

Formats the value using the given formatter. Read more
","Debug","wgpu::api::sampler::SamplerDescriptor"],["
source§

impl<L> Default for SamplerDescriptor<L>
where\n L: Default,

source§

fn default() -> SamplerDescriptor<L>

Returns the “default value” for a type. Read more
","Default","wgpu::api::sampler::SamplerDescriptor"],["
source§

impl<L> StructuralPartialEq for SamplerDescriptor<L>

","StructuralPartialEq","wgpu::api::sampler::SamplerDescriptor"]] +"wgpu":[["
§

impl<'de, L> Deserialize<'de> for SamplerDescriptor<L>
where\n L: Deserialize<'de>,

§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<SamplerDescriptor<L>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu::api::sampler::SamplerDescriptor"],["
§

impl<L> PartialEq for SamplerDescriptor<L>
where\n L: PartialEq,

§

fn eq(&self, other: &SamplerDescriptor<L>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","wgpu::api::sampler::SamplerDescriptor"],["
§

impl<L> Clone for SamplerDescriptor<L>
where\n L: Clone,

§

fn clone(&self) -> SamplerDescriptor<L>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu::api::sampler::SamplerDescriptor"],["
§

impl<L> Serialize for SamplerDescriptor<L>
where\n L: Serialize,

§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu::api::sampler::SamplerDescriptor"],["
§

impl<L> Debug for SamplerDescriptor<L>
where\n L: Debug,

§

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

Formats the value using the given formatter. Read more
","Debug","wgpu::api::sampler::SamplerDescriptor"],["
§

impl<L> Default for SamplerDescriptor<L>
where\n L: Default,

§

fn default() -> SamplerDescriptor<L>

Returns the “default value” for a type. Read more
","Default","wgpu::api::sampler::SamplerDescriptor"],["
§

impl<L> StructuralPartialEq for SamplerDescriptor<L>

","StructuralPartialEq","wgpu::api::sampler::SamplerDescriptor"]] };if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file diff --git a/doc/type.impl/wgpu_types/struct.SurfaceConfiguration.js b/doc/type.impl/wgpu_types/struct.SurfaceConfiguration.js index 661eca5db470..79bea1e0a936 100644 --- a/doc/type.impl/wgpu_types/struct.SurfaceConfiguration.js +++ b/doc/type.impl/wgpu_types/struct.SurfaceConfiguration.js @@ -1,3 +1,3 @@ (function() {var type_impls = { -"wgpu":[["
source§

impl<V> SurfaceConfiguration<V>
where\n V: Clone,

source

pub fn map_view_formats<M>(\n &self,\n fun: impl FnOnce(V) -> M\n) -> SurfaceConfiguration<M>

Map view_formats of the texture descriptor into another.

\n
",0,"wgpu::api::surface::SurfaceConfiguration"],["
source§

impl<'de, V> Deserialize<'de> for SurfaceConfiguration<V>
where\n V: Deserialize<'de>,

source§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<SurfaceConfiguration<V>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu::api::surface::SurfaceConfiguration"],["
source§

impl<V> PartialEq for SurfaceConfiguration<V>
where\n V: PartialEq,

source§

fn eq(&self, other: &SurfaceConfiguration<V>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","wgpu::api::surface::SurfaceConfiguration"],["
source§

impl<V> StructuralEq for SurfaceConfiguration<V>

","StructuralEq","wgpu::api::surface::SurfaceConfiguration"],["
source§

impl<V> Clone for SurfaceConfiguration<V>
where\n V: Clone,

source§

fn clone(&self) -> SurfaceConfiguration<V>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu::api::surface::SurfaceConfiguration"],["
source§

impl<V> Serialize for SurfaceConfiguration<V>
where\n V: Serialize,

source§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu::api::surface::SurfaceConfiguration"],["
source§

impl<V> Debug for SurfaceConfiguration<V>
where\n V: Debug,

source§

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

Formats the value using the given formatter. Read more
","Debug","wgpu::api::surface::SurfaceConfiguration"],["
source§

impl<V> StructuralPartialEq for SurfaceConfiguration<V>

","StructuralPartialEq","wgpu::api::surface::SurfaceConfiguration"],["
source§

impl<V> Eq for SurfaceConfiguration<V>
where\n V: Eq,

","Eq","wgpu::api::surface::SurfaceConfiguration"],["
source§

impl<V> Hash for SurfaceConfiguration<V>
where\n V: Hash,

source§

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

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

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

Feeds a slice of this type into the given Hasher. Read more
","Hash","wgpu::api::surface::SurfaceConfiguration"]] +"wgpu":[["
§

impl<V> SurfaceConfiguration<V>
where\n V: Clone,

pub fn map_view_formats<M>(\n &self,\n fun: impl FnOnce(V) -> M\n) -> SurfaceConfiguration<M>

Map view_formats of the texture descriptor into another.

\n
",0,"wgpu::api::surface::SurfaceConfiguration"],["
§

impl<'de, V> Deserialize<'de> for SurfaceConfiguration<V>
where\n V: Deserialize<'de>,

§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<SurfaceConfiguration<V>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu::api::surface::SurfaceConfiguration"],["
§

impl<V> PartialEq for SurfaceConfiguration<V>
where\n V: PartialEq,

§

fn eq(&self, other: &SurfaceConfiguration<V>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","wgpu::api::surface::SurfaceConfiguration"],["
§

impl<V> StructuralEq for SurfaceConfiguration<V>

","StructuralEq","wgpu::api::surface::SurfaceConfiguration"],["
§

impl<V> Clone for SurfaceConfiguration<V>
where\n V: Clone,

§

fn clone(&self) -> SurfaceConfiguration<V>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu::api::surface::SurfaceConfiguration"],["
§

impl<V> Serialize for SurfaceConfiguration<V>
where\n V: Serialize,

§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu::api::surface::SurfaceConfiguration"],["
§

impl<V> Debug for SurfaceConfiguration<V>
where\n V: Debug,

§

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

Formats the value using the given formatter. Read more
","Debug","wgpu::api::surface::SurfaceConfiguration"],["
§

impl<V> StructuralPartialEq for SurfaceConfiguration<V>

","StructuralPartialEq","wgpu::api::surface::SurfaceConfiguration"],["
§

impl<V> Eq for SurfaceConfiguration<V>
where\n V: Eq,

","Eq","wgpu::api::surface::SurfaceConfiguration"],["
§

impl<V> Hash for SurfaceConfiguration<V>
where\n V: Hash,

§

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

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

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

Feeds a slice of this type into the given Hasher. Read more
","Hash","wgpu::api::surface::SurfaceConfiguration"]] };if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file diff --git a/doc/type.impl/wgpu_types/struct.TexelCopyBufferInfo.js b/doc/type.impl/wgpu_types/struct.TexelCopyBufferInfo.js index 299694dc62e5..4a32f608b2e9 100644 --- a/doc/type.impl/wgpu_types/struct.TexelCopyBufferInfo.js +++ b/doc/type.impl/wgpu_types/struct.TexelCopyBufferInfo.js @@ -1,4 +1,4 @@ (function() {var type_impls = { -"wgpu_core":[["
source§

impl<'de, B> Deserialize<'de> for TexelCopyBufferInfo<B>
where\n B: Deserialize<'de>,

source§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<TexelCopyBufferInfo<B>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu_core::command::transfer::TexelCopyBufferInfo","wgpu_core::command::transfer::ImageCopyBuffer"],["
source§

impl<B> Clone for TexelCopyBufferInfo<B>
where\n B: Clone,

source§

fn clone(&self) -> TexelCopyBufferInfo<B>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu_core::command::transfer::TexelCopyBufferInfo","wgpu_core::command::transfer::ImageCopyBuffer"],["
source§

impl<B> Serialize for TexelCopyBufferInfo<B>
where\n B: Serialize,

source§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu_core::command::transfer::TexelCopyBufferInfo","wgpu_core::command::transfer::ImageCopyBuffer"],["
source§

impl<B> Copy for TexelCopyBufferInfo<B>
where\n B: Copy,

","Copy","wgpu_core::command::transfer::TexelCopyBufferInfo","wgpu_core::command::transfer::ImageCopyBuffer"],["
source§

impl<B> Debug for TexelCopyBufferInfo<B>
where\n B: Debug,

source§

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

Formats the value using the given formatter. Read more
","Debug","wgpu_core::command::transfer::TexelCopyBufferInfo","wgpu_core::command::transfer::ImageCopyBuffer"]], +"wgpu_core":[["
§

impl<'de, B> Deserialize<'de> for TexelCopyBufferInfo<B>
where\n B: Deserialize<'de>,

§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<TexelCopyBufferInfo<B>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu_core::command::transfer::TexelCopyBufferInfo","wgpu_core::command::transfer::ImageCopyBuffer"],["
§

impl<B> Clone for TexelCopyBufferInfo<B>
where\n B: Clone,

§

fn clone(&self) -> TexelCopyBufferInfo<B>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu_core::command::transfer::TexelCopyBufferInfo","wgpu_core::command::transfer::ImageCopyBuffer"],["
§

impl<B> Serialize for TexelCopyBufferInfo<B>
where\n B: Serialize,

§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu_core::command::transfer::TexelCopyBufferInfo","wgpu_core::command::transfer::ImageCopyBuffer"],["
§

impl<B> Copy for TexelCopyBufferInfo<B>
where\n B: Copy,

","Copy","wgpu_core::command::transfer::TexelCopyBufferInfo","wgpu_core::command::transfer::ImageCopyBuffer"],["
§

impl<B> Debug for TexelCopyBufferInfo<B>
where\n B: Debug,

§

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

Formats the value using the given formatter. Read more
","Debug","wgpu_core::command::transfer::TexelCopyBufferInfo","wgpu_core::command::transfer::ImageCopyBuffer"]], "wgpu_types":[["
source§

impl<'de, B> Deserialize<'de> for TexelCopyBufferInfo<B>
where\n B: Deserialize<'de>,

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu_types::ImageCopyBuffer"],["
source§

impl<B: Clone> Clone for TexelCopyBufferInfo<B>

source§

fn clone(&self) -> TexelCopyBufferInfo<B>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu_types::ImageCopyBuffer"],["
source§

impl<B: Debug> Debug for TexelCopyBufferInfo<B>

source§

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

Formats the value using the given formatter. Read more
","Debug","wgpu_types::ImageCopyBuffer"],["
source§

impl<B: Copy> Copy for TexelCopyBufferInfo<B>

","Copy","wgpu_types::ImageCopyBuffer"],["
source§

impl<B> Serialize for TexelCopyBufferInfo<B>
where\n B: Serialize,

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu_types::ImageCopyBuffer"]] };if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file diff --git a/doc/type.impl/wgpu_types/struct.TexelCopyTextureInfo.js b/doc/type.impl/wgpu_types/struct.TexelCopyTextureInfo.js index 48beadcffe1c..cc74bcbd861e 100644 --- a/doc/type.impl/wgpu_types/struct.TexelCopyTextureInfo.js +++ b/doc/type.impl/wgpu_types/struct.TexelCopyTextureInfo.js @@ -1,4 +1,4 @@ (function() {var type_impls = { -"wgpu_core":[["
source§

impl<T> TexelCopyTextureInfo<T>

source

pub fn to_tagged(\n self,\n color_space: PredefinedColorSpace,\n premultiplied_alpha: bool\n) -> CopyExternalImageDestInfo<T>

Adds color space and premultiplied alpha information to make this\ndescriptor tagged.

\n
",0,"wgpu_core::command::transfer::TexelCopyTextureInfo","wgpu_core::command::transfer::ImageCopyTexture"],["
source§

impl<'de, T> Deserialize<'de> for TexelCopyTextureInfo<T>
where\n T: Deserialize<'de>,

source§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<TexelCopyTextureInfo<T>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu_core::command::transfer::TexelCopyTextureInfo","wgpu_core::command::transfer::ImageCopyTexture"],["
source§

impl<T> Clone for TexelCopyTextureInfo<T>
where\n T: Clone,

source§

fn clone(&self) -> TexelCopyTextureInfo<T>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu_core::command::transfer::TexelCopyTextureInfo","wgpu_core::command::transfer::ImageCopyTexture"],["
source§

impl<T> Serialize for TexelCopyTextureInfo<T>
where\n T: Serialize,

source§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu_core::command::transfer::TexelCopyTextureInfo","wgpu_core::command::transfer::ImageCopyTexture"],["
source§

impl<T> Copy for TexelCopyTextureInfo<T>
where\n T: Copy,

","Copy","wgpu_core::command::transfer::TexelCopyTextureInfo","wgpu_core::command::transfer::ImageCopyTexture"],["
source§

impl<T> Debug for TexelCopyTextureInfo<T>
where\n T: Debug,

source§

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

Formats the value using the given formatter. Read more
","Debug","wgpu_core::command::transfer::TexelCopyTextureInfo","wgpu_core::command::transfer::ImageCopyTexture"]], +"wgpu_core":[["
§

impl<T> TexelCopyTextureInfo<T>

pub fn to_tagged(\n self,\n color_space: PredefinedColorSpace,\n premultiplied_alpha: bool\n) -> CopyExternalImageDestInfo<T>

Adds color space and premultiplied alpha information to make this\ndescriptor tagged.

\n
",0,"wgpu_core::command::transfer::TexelCopyTextureInfo","wgpu_core::command::transfer::ImageCopyTexture"],["
§

impl<'de, T> Deserialize<'de> for TexelCopyTextureInfo<T>
where\n T: Deserialize<'de>,

§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<TexelCopyTextureInfo<T>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu_core::command::transfer::TexelCopyTextureInfo","wgpu_core::command::transfer::ImageCopyTexture"],["
§

impl<T> Clone for TexelCopyTextureInfo<T>
where\n T: Clone,

§

fn clone(&self) -> TexelCopyTextureInfo<T>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu_core::command::transfer::TexelCopyTextureInfo","wgpu_core::command::transfer::ImageCopyTexture"],["
§

impl<T> Serialize for TexelCopyTextureInfo<T>
where\n T: Serialize,

§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu_core::command::transfer::TexelCopyTextureInfo","wgpu_core::command::transfer::ImageCopyTexture"],["
§

impl<T> Copy for TexelCopyTextureInfo<T>
where\n T: Copy,

","Copy","wgpu_core::command::transfer::TexelCopyTextureInfo","wgpu_core::command::transfer::ImageCopyTexture"],["
§

impl<T> Debug for TexelCopyTextureInfo<T>
where\n T: Debug,

§

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

Formats the value using the given formatter. Read more
","Debug","wgpu_core::command::transfer::TexelCopyTextureInfo","wgpu_core::command::transfer::ImageCopyTexture"]], "wgpu_types":[["
source§

impl<T> TexelCopyTextureInfo<T>

source

pub fn to_tagged(\n self,\n color_space: PredefinedColorSpace,\n premultiplied_alpha: bool\n) -> CopyExternalImageDestInfo<T>

Adds color space and premultiplied alpha information to make this\ndescriptor tagged.

\n
",0,"wgpu_types::ImageCopyTexture"],["
source§

impl<'de, T> Deserialize<'de> for TexelCopyTextureInfo<T>
where\n T: Deserialize<'de>,

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu_types::ImageCopyTexture"],["
source§

impl<T> Serialize for TexelCopyTextureInfo<T>
where\n T: Serialize,

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu_types::ImageCopyTexture"],["
source§

impl<T: Clone> Clone for TexelCopyTextureInfo<T>

source§

fn clone(&self) -> TexelCopyTextureInfo<T>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu_types::ImageCopyTexture"],["
source§

impl<T: Copy> Copy for TexelCopyTextureInfo<T>

","Copy","wgpu_types::ImageCopyTexture"],["
source§

impl<T: Debug> Debug for TexelCopyTextureInfo<T>

source§

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

Formats the value using the given formatter. Read more
","Debug","wgpu_types::ImageCopyTexture"]] };if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file diff --git a/doc/type.impl/wgpu_types/struct.TextureDescriptor.js b/doc/type.impl/wgpu_types/struct.TextureDescriptor.js index 8ae74ebdad18..33615e73733d 100644 --- a/doc/type.impl/wgpu_types/struct.TextureDescriptor.js +++ b/doc/type.impl/wgpu_types/struct.TextureDescriptor.js @@ -1,4 +1,4 @@ (function() {var type_impls = { -"wgpu":[["
source§

impl<L, V> TextureDescriptor<L, V>

source

pub fn map_label<K>(&self, fun: impl FnOnce(&L) -> K) -> TextureDescriptor<K, V>
where\n V: Clone,

Takes a closure and maps the label of the texture descriptor into another.

\n
source

pub fn map_label_and_view_formats<K, M>(\n &self,\n l_fun: impl FnOnce(&L) -> K,\n v_fun: impl FnOnce(V) -> M\n) -> TextureDescriptor<K, M>
where\n V: Clone,

Maps the label and view_formats of the texture descriptor into another.

\n
source

pub fn mip_level_size(&self, level: u32) -> Option<Extent3d>

Calculates the extent at a given mip level.

\n

If the given mip level is larger than possible, returns None.

\n

Treats the depth as part of the mipmaps. If calculating\nfor a 2DArray texture, which does not mipmap depth, set depth to 1.

\n\n
let desc  = TextureDescriptor {\n  label: (),\n  size: wgpu::Extent3d { width: 100, height: 60, depth_or_array_layers: 1 },\n  mip_level_count: 7,\n  sample_count: 1,\n  dimension: wgpu::TextureDimension::D3,\n  format: wgpu::TextureFormat::Rgba8Sint,\n  usage: wgpu::TextureUsages::empty(),\n  view_formats: &[],\n};\n\nassert_eq!(desc.mip_level_size(0), Some(wgpu::Extent3d { width: 100, height: 60, depth_or_array_layers: 1 }));\nassert_eq!(desc.mip_level_size(1), Some(wgpu::Extent3d { width: 50, height: 30, depth_or_array_layers: 1 }));\nassert_eq!(desc.mip_level_size(2), Some(wgpu::Extent3d { width: 25, height: 15, depth_or_array_layers: 1 }));\nassert_eq!(desc.mip_level_size(3), Some(wgpu::Extent3d { width: 12, height: 7, depth_or_array_layers: 1 }));\nassert_eq!(desc.mip_level_size(4), Some(wgpu::Extent3d { width: 6, height: 3, depth_or_array_layers: 1 }));\nassert_eq!(desc.mip_level_size(5), Some(wgpu::Extent3d { width: 3, height: 1, depth_or_array_layers: 1 }));\nassert_eq!(desc.mip_level_size(6), Some(wgpu::Extent3d { width: 1, height: 1, depth_or_array_layers: 1 }));\nassert_eq!(desc.mip_level_size(7), None);
\n
source

pub fn compute_render_extent(&self, mip_level: u32) -> Extent3d

Computes the render extent of this texture.

\n

https://gpuweb.github.io/gpuweb/#abstract-opdef-compute-render-extent

\n
source

pub fn array_layer_count(&self) -> u32

",0,"wgpu::api::texture::TextureDescriptor"],["
source§

impl<'de, L, V> Deserialize<'de> for TextureDescriptor<L, V>
where\n L: Deserialize<'de>,\n V: Deserialize<'de>,

source§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<TextureDescriptor<L, V>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu::api::texture::TextureDescriptor"],["
source§

impl<L, V> PartialEq for TextureDescriptor<L, V>
where\n L: PartialEq,\n V: PartialEq,

source§

fn eq(&self, other: &TextureDescriptor<L, V>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","wgpu::api::texture::TextureDescriptor"],["
source§

impl<L, V> StructuralEq for TextureDescriptor<L, V>

","StructuralEq","wgpu::api::texture::TextureDescriptor"],["
source§

impl<L, V> Clone for TextureDescriptor<L, V>
where\n L: Clone,\n V: Clone,

source§

fn clone(&self) -> TextureDescriptor<L, V>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu::api::texture::TextureDescriptor"],["
source§

impl<L, V> Serialize for TextureDescriptor<L, V>
where\n L: Serialize,\n V: Serialize,

source§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu::api::texture::TextureDescriptor"],["
source§

impl<L, V> Debug for TextureDescriptor<L, V>
where\n L: Debug,\n V: Debug,

source§

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

Formats the value using the given formatter. Read more
","Debug","wgpu::api::texture::TextureDescriptor"],["
source§

impl<L, V> StructuralPartialEq for TextureDescriptor<L, V>

","StructuralPartialEq","wgpu::api::texture::TextureDescriptor"],["
source§

impl<L, V> Eq for TextureDescriptor<L, V>
where\n L: Eq,\n V: Eq,

","Eq","wgpu::api::texture::TextureDescriptor"],["
source§

impl<L, V> Hash for TextureDescriptor<L, V>
where\n L: Hash,\n V: Hash,

source§

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

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

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

Feeds a slice of this type into the given Hasher. Read more
","Hash","wgpu::api::texture::TextureDescriptor"]], -"wgpu_core":[["
source§

impl<L, V> TextureDescriptor<L, V>

source

pub fn map_label<K>(&self, fun: impl FnOnce(&L) -> K) -> TextureDescriptor<K, V>
where\n V: Clone,

Takes a closure and maps the label of the texture descriptor into another.

\n
source

pub fn map_label_and_view_formats<K, M>(\n &self,\n l_fun: impl FnOnce(&L) -> K,\n v_fun: impl FnOnce(V) -> M\n) -> TextureDescriptor<K, M>
where\n V: Clone,

Maps the label and view_formats of the texture descriptor into another.

\n
source

pub fn mip_level_size(&self, level: u32) -> Option<Extent3d>

Calculates the extent at a given mip level.

\n

If the given mip level is larger than possible, returns None.

\n

Treats the depth as part of the mipmaps. If calculating\nfor a 2DArray texture, which does not mipmap depth, set depth to 1.

\n\n
let desc  = TextureDescriptor {\n  label: (),\n  size: wgpu::Extent3d { width: 100, height: 60, depth_or_array_layers: 1 },\n  mip_level_count: 7,\n  sample_count: 1,\n  dimension: wgpu::TextureDimension::D3,\n  format: wgpu::TextureFormat::Rgba8Sint,\n  usage: wgpu::TextureUsages::empty(),\n  view_formats: &[],\n};\n\nassert_eq!(desc.mip_level_size(0), Some(wgpu::Extent3d { width: 100, height: 60, depth_or_array_layers: 1 }));\nassert_eq!(desc.mip_level_size(1), Some(wgpu::Extent3d { width: 50, height: 30, depth_or_array_layers: 1 }));\nassert_eq!(desc.mip_level_size(2), Some(wgpu::Extent3d { width: 25, height: 15, depth_or_array_layers: 1 }));\nassert_eq!(desc.mip_level_size(3), Some(wgpu::Extent3d { width: 12, height: 7, depth_or_array_layers: 1 }));\nassert_eq!(desc.mip_level_size(4), Some(wgpu::Extent3d { width: 6, height: 3, depth_or_array_layers: 1 }));\nassert_eq!(desc.mip_level_size(5), Some(wgpu::Extent3d { width: 3, height: 1, depth_or_array_layers: 1 }));\nassert_eq!(desc.mip_level_size(6), Some(wgpu::Extent3d { width: 1, height: 1, depth_or_array_layers: 1 }));\nassert_eq!(desc.mip_level_size(7), None);
\n
source

pub fn compute_render_extent(&self, mip_level: u32) -> Extent3d

Computes the render extent of this texture.

\n

https://gpuweb.github.io/gpuweb/#abstract-opdef-compute-render-extent

\n
source

pub fn array_layer_count(&self) -> u32

",0,"wgpu_core::resource::TextureDescriptor"],["
source§

impl<'de, L, V> Deserialize<'de> for TextureDescriptor<L, V>
where\n L: Deserialize<'de>,\n V: Deserialize<'de>,

source§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<TextureDescriptor<L, V>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu_core::resource::TextureDescriptor"],["
source§

impl<L, V> PartialEq for TextureDescriptor<L, V>
where\n L: PartialEq,\n V: PartialEq,

source§

fn eq(&self, other: &TextureDescriptor<L, V>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","wgpu_core::resource::TextureDescriptor"],["
source§

impl<L, V> StructuralEq for TextureDescriptor<L, V>

","StructuralEq","wgpu_core::resource::TextureDescriptor"],["
source§

impl<L, V> Clone for TextureDescriptor<L, V>
where\n L: Clone,\n V: Clone,

source§

fn clone(&self) -> TextureDescriptor<L, V>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu_core::resource::TextureDescriptor"],["
source§

impl<L, V> Serialize for TextureDescriptor<L, V>
where\n L: Serialize,\n V: Serialize,

source§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu_core::resource::TextureDescriptor"],["
source§

impl<L, V> Debug for TextureDescriptor<L, V>
where\n L: Debug,\n V: Debug,

source§

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

Formats the value using the given formatter. Read more
","Debug","wgpu_core::resource::TextureDescriptor"],["
source§

impl<L, V> StructuralPartialEq for TextureDescriptor<L, V>

","StructuralPartialEq","wgpu_core::resource::TextureDescriptor"],["
source§

impl<L, V> Eq for TextureDescriptor<L, V>
where\n L: Eq,\n V: Eq,

","Eq","wgpu_core::resource::TextureDescriptor"],["
source§

impl<L, V> Hash for TextureDescriptor<L, V>
where\n L: Hash,\n V: Hash,

source§

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

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

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

Feeds a slice of this type into the given Hasher. Read more
","Hash","wgpu_core::resource::TextureDescriptor"]] +"wgpu":[["
§

impl<L, V> TextureDescriptor<L, V>

pub fn map_label<K>(&self, fun: impl FnOnce(&L) -> K) -> TextureDescriptor<K, V>
where\n V: Clone,

Takes a closure and maps the label of the texture descriptor into another.

\n

pub fn map_label_and_view_formats<K, M>(\n &self,\n l_fun: impl FnOnce(&L) -> K,\n v_fun: impl FnOnce(V) -> M\n) -> TextureDescriptor<K, M>
where\n V: Clone,

Maps the label and view_formats of the texture descriptor into another.

\n

pub fn mip_level_size(&self, level: u32) -> Option<Extent3d>

Calculates the extent at a given mip level.

\n

If the given mip level is larger than possible, returns None.

\n

Treats the depth as part of the mipmaps. If calculating\nfor a 2DArray texture, which does not mipmap depth, set depth to 1.

\n\n
let desc  = TextureDescriptor {\n  label: (),\n  size: wgpu::Extent3d { width: 100, height: 60, depth_or_array_layers: 1 },\n  mip_level_count: 7,\n  sample_count: 1,\n  dimension: wgpu::TextureDimension::D3,\n  format: wgpu::TextureFormat::Rgba8Sint,\n  usage: wgpu::TextureUsages::empty(),\n  view_formats: &[],\n};\n\nassert_eq!(desc.mip_level_size(0), Some(wgpu::Extent3d { width: 100, height: 60, depth_or_array_layers: 1 }));\nassert_eq!(desc.mip_level_size(1), Some(wgpu::Extent3d { width: 50, height: 30, depth_or_array_layers: 1 }));\nassert_eq!(desc.mip_level_size(2), Some(wgpu::Extent3d { width: 25, height: 15, depth_or_array_layers: 1 }));\nassert_eq!(desc.mip_level_size(3), Some(wgpu::Extent3d { width: 12, height: 7, depth_or_array_layers: 1 }));\nassert_eq!(desc.mip_level_size(4), Some(wgpu::Extent3d { width: 6, height: 3, depth_or_array_layers: 1 }));\nassert_eq!(desc.mip_level_size(5), Some(wgpu::Extent3d { width: 3, height: 1, depth_or_array_layers: 1 }));\nassert_eq!(desc.mip_level_size(6), Some(wgpu::Extent3d { width: 1, height: 1, depth_or_array_layers: 1 }));\nassert_eq!(desc.mip_level_size(7), None);
\n

pub fn compute_render_extent(&self, mip_level: u32) -> Extent3d

Computes the render extent of this texture.

\n

https://gpuweb.github.io/gpuweb/#abstract-opdef-compute-render-extent

\n

pub fn array_layer_count(&self) -> u32

",0,"wgpu::api::texture::TextureDescriptor"],["
§

impl<'de, L, V> Deserialize<'de> for TextureDescriptor<L, V>
where\n L: Deserialize<'de>,\n V: Deserialize<'de>,

§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<TextureDescriptor<L, V>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu::api::texture::TextureDescriptor"],["
§

impl<L, V> PartialEq for TextureDescriptor<L, V>
where\n L: PartialEq,\n V: PartialEq,

§

fn eq(&self, other: &TextureDescriptor<L, V>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","wgpu::api::texture::TextureDescriptor"],["
§

impl<L, V> StructuralEq for TextureDescriptor<L, V>

","StructuralEq","wgpu::api::texture::TextureDescriptor"],["
§

impl<L, V> Clone for TextureDescriptor<L, V>
where\n L: Clone,\n V: Clone,

§

fn clone(&self) -> TextureDescriptor<L, V>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu::api::texture::TextureDescriptor"],["
§

impl<L, V> Serialize for TextureDescriptor<L, V>
where\n L: Serialize,\n V: Serialize,

§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu::api::texture::TextureDescriptor"],["
§

impl<L, V> Debug for TextureDescriptor<L, V>
where\n L: Debug,\n V: Debug,

§

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

Formats the value using the given formatter. Read more
","Debug","wgpu::api::texture::TextureDescriptor"],["
§

impl<L, V> StructuralPartialEq for TextureDescriptor<L, V>

","StructuralPartialEq","wgpu::api::texture::TextureDescriptor"],["
§

impl<L, V> Eq for TextureDescriptor<L, V>
where\n L: Eq,\n V: Eq,

","Eq","wgpu::api::texture::TextureDescriptor"],["
§

impl<L, V> Hash for TextureDescriptor<L, V>
where\n L: Hash,\n V: Hash,

§

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

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

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

Feeds a slice of this type into the given Hasher. Read more
","Hash","wgpu::api::texture::TextureDescriptor"]], +"wgpu_core":[["
§

impl<L, V> TextureDescriptor<L, V>

pub fn map_label<K>(&self, fun: impl FnOnce(&L) -> K) -> TextureDescriptor<K, V>
where\n V: Clone,

Takes a closure and maps the label of the texture descriptor into another.

\n

pub fn map_label_and_view_formats<K, M>(\n &self,\n l_fun: impl FnOnce(&L) -> K,\n v_fun: impl FnOnce(V) -> M\n) -> TextureDescriptor<K, M>
where\n V: Clone,

Maps the label and view_formats of the texture descriptor into another.

\n

pub fn mip_level_size(&self, level: u32) -> Option<Extent3d>

Calculates the extent at a given mip level.

\n

If the given mip level is larger than possible, returns None.

\n

Treats the depth as part of the mipmaps. If calculating\nfor a 2DArray texture, which does not mipmap depth, set depth to 1.

\n\n
let desc  = TextureDescriptor {\n  label: (),\n  size: wgpu::Extent3d { width: 100, height: 60, depth_or_array_layers: 1 },\n  mip_level_count: 7,\n  sample_count: 1,\n  dimension: wgpu::TextureDimension::D3,\n  format: wgpu::TextureFormat::Rgba8Sint,\n  usage: wgpu::TextureUsages::empty(),\n  view_formats: &[],\n};\n\nassert_eq!(desc.mip_level_size(0), Some(wgpu::Extent3d { width: 100, height: 60, depth_or_array_layers: 1 }));\nassert_eq!(desc.mip_level_size(1), Some(wgpu::Extent3d { width: 50, height: 30, depth_or_array_layers: 1 }));\nassert_eq!(desc.mip_level_size(2), Some(wgpu::Extent3d { width: 25, height: 15, depth_or_array_layers: 1 }));\nassert_eq!(desc.mip_level_size(3), Some(wgpu::Extent3d { width: 12, height: 7, depth_or_array_layers: 1 }));\nassert_eq!(desc.mip_level_size(4), Some(wgpu::Extent3d { width: 6, height: 3, depth_or_array_layers: 1 }));\nassert_eq!(desc.mip_level_size(5), Some(wgpu::Extent3d { width: 3, height: 1, depth_or_array_layers: 1 }));\nassert_eq!(desc.mip_level_size(6), Some(wgpu::Extent3d { width: 1, height: 1, depth_or_array_layers: 1 }));\nassert_eq!(desc.mip_level_size(7), None);
\n

pub fn compute_render_extent(&self, mip_level: u32) -> Extent3d

Computes the render extent of this texture.

\n

https://gpuweb.github.io/gpuweb/#abstract-opdef-compute-render-extent

\n

pub fn array_layer_count(&self) -> u32

",0,"wgpu_core::resource::TextureDescriptor"],["
§

impl<'de, L, V> Deserialize<'de> for TextureDescriptor<L, V>
where\n L: Deserialize<'de>,\n V: Deserialize<'de>,

§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<TextureDescriptor<L, V>, <__D as Deserializer<'de>>::Error>
where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","wgpu_core::resource::TextureDescriptor"],["
§

impl<L, V> PartialEq for TextureDescriptor<L, V>
where\n L: PartialEq,\n V: PartialEq,

§

fn eq(&self, other: &TextureDescriptor<L, V>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","wgpu_core::resource::TextureDescriptor"],["
§

impl<L, V> StructuralEq for TextureDescriptor<L, V>

","StructuralEq","wgpu_core::resource::TextureDescriptor"],["
§

impl<L, V> Clone for TextureDescriptor<L, V>
where\n L: Clone,\n V: Clone,

§

fn clone(&self) -> TextureDescriptor<L, V>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu_core::resource::TextureDescriptor"],["
§

impl<L, V> Serialize for TextureDescriptor<L, V>
where\n L: Serialize,\n V: Serialize,

§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","wgpu_core::resource::TextureDescriptor"],["
§

impl<L, V> Debug for TextureDescriptor<L, V>
where\n L: Debug,\n V: Debug,

§

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

Formats the value using the given formatter. Read more
","Debug","wgpu_core::resource::TextureDescriptor"],["
§

impl<L, V> StructuralPartialEq for TextureDescriptor<L, V>

","StructuralPartialEq","wgpu_core::resource::TextureDescriptor"],["
§

impl<L, V> Eq for TextureDescriptor<L, V>
where\n L: Eq,\n V: Eq,

","Eq","wgpu_core::resource::TextureDescriptor"],["
§

impl<L, V> Hash for TextureDescriptor<L, V>
where\n L: Hash,\n V: Hash,

§

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

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

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

Feeds a slice of this type into the given Hasher. Read more
","Hash","wgpu_core::resource::TextureDescriptor"]] };if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file diff --git a/doc/type.impl/wgpu_types/struct.TextureViewDescriptor.js b/doc/type.impl/wgpu_types/struct.TextureViewDescriptor.js index 03b96cc68ed0..804b033cde04 100644 --- a/doc/type.impl/wgpu_types/struct.TextureViewDescriptor.js +++ b/doc/type.impl/wgpu_types/struct.TextureViewDescriptor.js @@ -1,3 +1,3 @@ (function() {var type_impls = { -"wgpu":[["
source§

impl<L> PartialEq for TextureViewDescriptor<L>
where\n L: PartialEq,

source§

fn eq(&self, other: &TextureViewDescriptor<L>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","wgpu::api::texture_view::TextureViewDescriptor"],["
source§

impl<L> StructuralEq for TextureViewDescriptor<L>

","StructuralEq","wgpu::api::texture_view::TextureViewDescriptor"],["
source§

impl<L> Clone for TextureViewDescriptor<L>
where\n L: Clone,

source§

fn clone(&self) -> TextureViewDescriptor<L>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu::api::texture_view::TextureViewDescriptor"],["
source§

impl<L> Debug for TextureViewDescriptor<L>
where\n L: Debug,

source§

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

Formats the value using the given formatter. Read more
","Debug","wgpu::api::texture_view::TextureViewDescriptor"],["
source§

impl<L> Default for TextureViewDescriptor<L>
where\n L: Default,

source§

fn default() -> TextureViewDescriptor<L>

Returns the “default value” for a type. Read more
","Default","wgpu::api::texture_view::TextureViewDescriptor"],["
source§

impl<L> StructuralPartialEq for TextureViewDescriptor<L>

","StructuralPartialEq","wgpu::api::texture_view::TextureViewDescriptor"],["
source§

impl<L> Eq for TextureViewDescriptor<L>
where\n L: Eq,

","Eq","wgpu::api::texture_view::TextureViewDescriptor"]] +"wgpu":[["
§

impl<L> PartialEq for TextureViewDescriptor<L>
where\n L: PartialEq,

§

fn eq(&self, other: &TextureViewDescriptor<L>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","wgpu::api::texture_view::TextureViewDescriptor"],["
§

impl<L> StructuralEq for TextureViewDescriptor<L>

","StructuralEq","wgpu::api::texture_view::TextureViewDescriptor"],["
§

impl<L> Clone for TextureViewDescriptor<L>
where\n L: Clone,

§

fn clone(&self) -> TextureViewDescriptor<L>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
","Clone","wgpu::api::texture_view::TextureViewDescriptor"],["
§

impl<L> Debug for TextureViewDescriptor<L>
where\n L: Debug,

§

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

Formats the value using the given formatter. Read more
","Debug","wgpu::api::texture_view::TextureViewDescriptor"],["
§

impl<L> Default for TextureViewDescriptor<L>
where\n L: Default,

§

fn default() -> TextureViewDescriptor<L>

Returns the “default value” for a type. Read more
","Default","wgpu::api::texture_view::TextureViewDescriptor"],["
§

impl<L> StructuralPartialEq for TextureViewDescriptor<L>

","StructuralPartialEq","wgpu::api::texture_view::TextureViewDescriptor"],["
§

impl<L> Eq for TextureViewDescriptor<L>
where\n L: Eq,

","Eq","wgpu::api::texture_view::TextureViewDescriptor"]] };if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file diff --git a/doc/wgpu/constant.COPY_BUFFER_ALIGNMENT.html b/doc/wgpu/constant.COPY_BUFFER_ALIGNMENT.html index df72c9cbafb9..11bbb9247d77 100644 --- a/doc/wgpu/constant.COPY_BUFFER_ALIGNMENT.html +++ b/doc/wgpu/constant.COPY_BUFFER_ALIGNMENT.html @@ -1,3 +1,3 @@ COPY_BUFFER_ALIGNMENT in wgpu - Rust -
pub const COPY_BUFFER_ALIGNMENT: u64 = 4; // 4u64
Expand description

Buffer to buffer copy as well as buffer clear offsets and sizes must be aligned to this number.

+
pub const COPY_BUFFER_ALIGNMENT: u64 = 4; // 4u64
Expand description

Buffer to buffer copy as well as buffer clear offsets and sizes must be aligned to this number.

\ No newline at end of file diff --git a/doc/wgpu/constant.COPY_BYTES_PER_ROW_ALIGNMENT.html b/doc/wgpu/constant.COPY_BYTES_PER_ROW_ALIGNMENT.html index 2510cd18030c..a1d9f7d36c07 100644 --- a/doc/wgpu/constant.COPY_BYTES_PER_ROW_ALIGNMENT.html +++ b/doc/wgpu/constant.COPY_BYTES_PER_ROW_ALIGNMENT.html @@ -1,4 +1,4 @@ COPY_BYTES_PER_ROW_ALIGNMENT in wgpu - Rust -
pub const COPY_BYTES_PER_ROW_ALIGNMENT: u32 = 256; // 256u32
Expand description

Buffer-Texture copies must have bytes_per_row aligned to this number.

+
pub const COPY_BYTES_PER_ROW_ALIGNMENT: u32 = 256; // 256u32
Expand description

Buffer-Texture copies must have bytes_per_row aligned to this number.

This doesn’t apply to Queue::write_texture.

\ No newline at end of file diff --git a/doc/wgpu/constant.MAP_ALIGNMENT.html b/doc/wgpu/constant.MAP_ALIGNMENT.html index b5975271c408..cd61fd3e44fc 100644 --- a/doc/wgpu/constant.MAP_ALIGNMENT.html +++ b/doc/wgpu/constant.MAP_ALIGNMENT.html @@ -1,3 +1,3 @@ MAP_ALIGNMENT in wgpu - Rust -

Constant wgpu::MAP_ALIGNMENT

source ·
pub const MAP_ALIGNMENT: u64 = 8; // 8u64
Expand description

Size to align mappings.

+

Constant wgpu::MAP_ALIGNMENT

pub const MAP_ALIGNMENT: u64 = 8; // 8u64
Expand description

Size to align mappings.

\ No newline at end of file diff --git a/doc/wgpu/constant.PUSH_CONSTANT_ALIGNMENT.html b/doc/wgpu/constant.PUSH_CONSTANT_ALIGNMENT.html index 178e0038d86f..2aa8a6afcede 100644 --- a/doc/wgpu/constant.PUSH_CONSTANT_ALIGNMENT.html +++ b/doc/wgpu/constant.PUSH_CONSTANT_ALIGNMENT.html @@ -1,3 +1,3 @@ PUSH_CONSTANT_ALIGNMENT in wgpu - Rust -
pub const PUSH_CONSTANT_ALIGNMENT: u32 = 4; // 4u32
Expand description

Alignment all push constants need

+
pub const PUSH_CONSTANT_ALIGNMENT: u32 = 4; // 4u32
Expand description

Alignment all push constants need

\ No newline at end of file diff --git a/doc/wgpu/constant.QUERY_RESOLVE_BUFFER_ALIGNMENT.html b/doc/wgpu/constant.QUERY_RESOLVE_BUFFER_ALIGNMENT.html index 04decf036dbd..f2979c12c727 100644 --- a/doc/wgpu/constant.QUERY_RESOLVE_BUFFER_ALIGNMENT.html +++ b/doc/wgpu/constant.QUERY_RESOLVE_BUFFER_ALIGNMENT.html @@ -1,3 +1,3 @@ QUERY_RESOLVE_BUFFER_ALIGNMENT in wgpu - Rust -
pub const QUERY_RESOLVE_BUFFER_ALIGNMENT: u64 = 256; // 256u64
Expand description

An offset into the query resolve buffer has to be aligned to this.

+
pub const QUERY_RESOLVE_BUFFER_ALIGNMENT: u64 = 256; // 256u64
Expand description

An offset into the query resolve buffer has to be aligned to this.

\ No newline at end of file diff --git a/doc/wgpu/constant.QUERY_SET_MAX_QUERIES.html b/doc/wgpu/constant.QUERY_SET_MAX_QUERIES.html index 0e904add9df2..8b500599f3c8 100644 --- a/doc/wgpu/constant.QUERY_SET_MAX_QUERIES.html +++ b/doc/wgpu/constant.QUERY_SET_MAX_QUERIES.html @@ -1,3 +1,3 @@ QUERY_SET_MAX_QUERIES in wgpu - Rust -
pub const QUERY_SET_MAX_QUERIES: u32 = 4096; // 4_096u32
Expand description

Maximum queries in a query set

+
pub const QUERY_SET_MAX_QUERIES: u32 = 4096; // 4_096u32
Expand description

Maximum queries in a query set

\ No newline at end of file diff --git a/doc/wgpu/constant.QUERY_SIZE.html b/doc/wgpu/constant.QUERY_SIZE.html index debdb79ca75b..80364be4d593 100644 --- a/doc/wgpu/constant.QUERY_SIZE.html +++ b/doc/wgpu/constant.QUERY_SIZE.html @@ -1,3 +1,3 @@ QUERY_SIZE in wgpu - Rust -

Constant wgpu::QUERY_SIZE

source ·
pub const QUERY_SIZE: u32 = 8; // 8u32
Expand description

Size of a single piece of query data.

+

Constant wgpu::QUERY_SIZE

pub const QUERY_SIZE: u32 = 8; // 8u32
Expand description

Size of a single piece of query data.

\ No newline at end of file diff --git a/doc/wgpu/constant.VERTEX_STRIDE_ALIGNMENT.html b/doc/wgpu/constant.VERTEX_STRIDE_ALIGNMENT.html index ec4f3c908cf4..051e61fc27ce 100644 --- a/doc/wgpu/constant.VERTEX_STRIDE_ALIGNMENT.html +++ b/doc/wgpu/constant.VERTEX_STRIDE_ALIGNMENT.html @@ -1,3 +1,3 @@ VERTEX_STRIDE_ALIGNMENT in wgpu - Rust -
pub const VERTEX_STRIDE_ALIGNMENT: u64 = 4; // 4u64
Expand description

Vertex buffer strides have to be aligned to this number.

+
pub const VERTEX_STRIDE_ALIGNMENT: u64 = 4; // 4u64
Expand description

Vertex buffer strides have to be aligned to this number.

\ No newline at end of file diff --git a/doc/wgpu/enum.AddressMode.html b/doc/wgpu/enum.AddressMode.html index 01d029e7d526..19ca52d4ebd4 100644 --- a/doc/wgpu/enum.AddressMode.html +++ b/doc/wgpu/enum.AddressMode.html @@ -1,5 +1,5 @@ AddressMode in wgpu - Rust -

Enum wgpu::AddressMode

source ·
#[repr(C)]
pub enum AddressMode { +

Enum wgpu::AddressMode

#[repr(C)]
pub enum AddressMode { ClampToEdge = 0, Repeat = 1, MirrorRepeat = 2, @@ -19,19 +19,19 @@ Requires feature Features::ADDRESS_MODE_CLAMP_TO_BORDER

-0.25 -> border 1.25 -> border

-

Trait Implementations§

source§

impl Clone for AddressMode

source§

fn clone(&self) -> AddressMode

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl Debug for AddressMode

source§

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

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

impl Default for AddressMode

source§

fn default() -> AddressMode

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for AddressMode

Trait Implementations§

§

impl Clone for AddressMode

§

fn clone(&self) -> AddressMode

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
§

impl Debug for AddressMode

§

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

Formats the value using the given formatter. Read more
§

impl Default for AddressMode

§

fn default() -> AddressMode

Returns the “default value” for a type. Read more
§

impl<'de> Deserialize<'de> for AddressMode

§

fn deserialize<__D>( __deserializer: __D ) -> Result<AddressMode, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for AddressMode

source§

fn hash<__H>(&self, state: &mut __H)
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Hash for AddressMode

§

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

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

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

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

impl PartialEq for AddressMode

source§

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

This method tests for self and other values to be equal, and is used + Self: Sized,
Feeds a slice of this type into the given Hasher. Read more
§

impl PartialEq for AddressMode

§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for AddressMode

source§

fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

§

impl Serialize for AddressMode

§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for AddressMode

source§

impl Eq for AddressMode

source§

impl StructuralEq for AddressMode

source§

impl StructuralPartialEq for AddressMode

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl Copy for AddressMode

§

impl Eq for AddressMode

§

impl StructuralEq for AddressMode

§

impl StructuralPartialEq for AddressMode

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

§

impl<Q, K> Equivalent<K> for Q
where @@ -47,7 +47,7 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

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

§

type Error = Infallible

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

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

Performs the conversion.
source§

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

§

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

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

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

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.AstcBlock.html b/doc/wgpu/enum.AstcBlock.html index 219b4a7d518e..de7dbde6bc87 100644 --- a/doc/wgpu/enum.AstcBlock.html +++ b/doc/wgpu/enum.AstcBlock.html @@ -1,5 +1,5 @@ AstcBlock in wgpu - Rust -

Enum wgpu::AstcBlock

source ·
#[repr(C)]
pub enum AstcBlock { +

Enum wgpu::AstcBlock

#[repr(C)]
pub enum AstcBlock {
Show 14 variants B4x4 = 0, B5x4 = 1, B5x5 = 2, @@ -29,19 +29,19 @@
§

B10x10 = 11

10x10 block compressed texture. 16 bytes per block (1.28 bit/px).

§

B12x10 = 12

12x10 block compressed texture. 16 bytes per block (1.07 bit/px).

§

B12x12 = 13

12x12 block compressed texture. 16 bytes per block (0.89 bit/px).

-

Trait Implementations§

source§

impl Clone for AstcBlock

source§

fn clone(&self) -> AstcBlock

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl Debug for AstcBlock

source§

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

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

impl<'de> Deserialize<'de> for AstcBlock

Trait Implementations§

§

impl Clone for AstcBlock

§

fn clone(&self) -> AstcBlock

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
§

impl Debug for AstcBlock

§

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

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for AstcBlock

§

fn deserialize<__D>( __deserializer: __D ) -> Result<AstcBlock, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for AstcBlock

source§

fn hash<__H>(&self, state: &mut __H)
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Hash for AstcBlock

§

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

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

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

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

impl PartialEq for AstcBlock

source§

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

This method tests for self and other values to be equal, and is used + Self: Sized,
Feeds a slice of this type into the given Hasher. Read more
§

impl PartialEq for AstcBlock

§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for AstcBlock

source§

fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

§

impl Serialize for AstcBlock

§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for AstcBlock

source§

impl Eq for AstcBlock

source§

impl StructuralEq for AstcBlock

source§

impl StructuralPartialEq for AstcBlock

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl Copy for AstcBlock

§

impl Eq for AstcBlock

§

impl StructuralEq for AstcBlock

§

impl StructuralPartialEq for AstcBlock

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

§

impl<Q, K> Equivalent<K> for Q
where @@ -57,7 +57,7 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

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

§

type Error = Infallible

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

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

Performs the conversion.
source§

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

§

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

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

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

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.AstcChannel.html b/doc/wgpu/enum.AstcChannel.html index 1eaa32c1120f..58bd99663ae3 100644 --- a/doc/wgpu/enum.AstcChannel.html +++ b/doc/wgpu/enum.AstcChannel.html @@ -1,5 +1,5 @@ AstcChannel in wgpu - Rust -

Enum wgpu::AstcChannel

source ·
#[repr(C)]
pub enum AstcChannel { +

Enum wgpu::AstcChannel

#[repr(C)]
pub enum AstcChannel { Unorm = 0, UnormSrgb = 1, Hdr = 2, @@ -10,19 +10,19 @@

Features::TEXTURE_COMPRESSION_ASTC must be enabled to use this channel.

§

Hdr = 2

floating-point RGBA, linear-color float can be outside of the [0, 1] range.

Features::TEXTURE_COMPRESSION_ASTC_HDR must be enabled to use this channel.

-

Trait Implementations§

source§

impl Clone for AstcChannel

source§

fn clone(&self) -> AstcChannel

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl Debug for AstcChannel

source§

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

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

impl<'de> Deserialize<'de> for AstcChannel

Trait Implementations§

§

impl Clone for AstcChannel

§

fn clone(&self) -> AstcChannel

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
§

impl Debug for AstcChannel

§

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

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for AstcChannel

§

fn deserialize<__D>( __deserializer: __D ) -> Result<AstcChannel, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for AstcChannel

source§

fn hash<__H>(&self, state: &mut __H)
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Hash for AstcChannel

§

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

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

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

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

impl PartialEq for AstcChannel

source§

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

This method tests for self and other values to be equal, and is used + Self: Sized,
Feeds a slice of this type into the given Hasher. Read more
§

impl PartialEq for AstcChannel

§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for AstcChannel

source§

fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

§

impl Serialize for AstcChannel

§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for AstcChannel

source§

impl Eq for AstcChannel

source§

impl StructuralEq for AstcChannel

source§

impl StructuralPartialEq for AstcChannel

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl Copy for AstcChannel

§

impl Eq for AstcChannel

§

impl StructuralEq for AstcChannel

§

impl StructuralPartialEq for AstcChannel

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

§

impl<Q, K> Equivalent<K> for Q
where @@ -38,7 +38,7 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

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

§

type Error = Infallible

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

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

Performs the conversion.
source§

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

§

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

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

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

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.Backend.html b/doc/wgpu/enum.Backend.html index efc9c09f9e66..17777d288a4f 100644 --- a/doc/wgpu/enum.Backend.html +++ b/doc/wgpu/enum.Backend.html @@ -1,5 +1,5 @@ Backend in wgpu - Rust -

Enum wgpu::Backend

source ·
#[repr(u8)]
pub enum Backend { +

Enum wgpu::Backend

#[repr(u8)]
pub enum Backend { Empty = 0, Vulkan = 1, Metal = 2, @@ -13,20 +13,20 @@
§

Dx12 = 3

Direct3D-12 (Windows)

§

Gl = 4

OpenGL 3.3+ (Windows), OpenGL ES 3.0+ (Linux, Android, MacOS via Angle), and WebGL2

§

BrowserWebGpu = 5

WebGPU in the browser

-

Implementations§

source§

impl Backend

source

pub const fn to_str(self) -> &'static str

Returns the string name of the backend.

-

Trait Implementations§

source§

impl Clone for Backend

source§

fn clone(&self) -> Backend

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl Debug for Backend

source§

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

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

impl<'de> Deserialize<'de> for Backend

Implementations§

§

impl Backend

pub const fn to_str(self) -> &'static str

Returns the string name of the backend.

+

Trait Implementations§

§

impl Clone for Backend

§

fn clone(&self) -> Backend

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
§

impl Debug for Backend

§

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

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for Backend

§

fn deserialize<__D>( __deserializer: __D ) -> Result<Backend, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Backend

source§

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

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

impl From<Backend> for Backends

source§

fn from(backend: Backend) -> Backends

Converts to this type from the input type.
source§

impl Hash for Backend

source§

fn hash<__H>(&self, state: &mut __H)
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Display for Backend

§

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

Formats the value using the given formatter. Read more
§

impl From<Backend> for Backends

§

fn from(backend: Backend) -> Backends

Converts to this type from the input type.
§

impl Hash for Backend

§

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

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

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

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

impl PartialEq for Backend

source§

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

This method tests for self and other values to be equal, and is used + Self: Sized,
Feeds a slice of this type into the given Hasher. Read more
§

impl PartialEq for Backend

§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Backend

source§

fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

§

impl Serialize for Backend

§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for Backend

source§

impl Eq for Backend

source§

impl StructuralEq for Backend

source§

impl StructuralPartialEq for Backend

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl Copy for Backend

§

impl Eq for Backend

§

impl StructuralEq for Backend

§

impl StructuralPartialEq for Backend

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

§

impl<Q, K> Equivalent<K> for Q
where @@ -43,7 +43,7 @@ T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

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

§

type Error = Infallible

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

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

Performs the conversion.
source§

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

§

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

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

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

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.BindingResource.html b/doc/wgpu/enum.BindingResource.html index 43ed8b76ceb9..a172f0911ed8 100644 --- a/doc/wgpu/enum.BindingResource.html +++ b/doc/wgpu/enum.BindingResource.html @@ -51,7 +51,7 @@

Validation

source§

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

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

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

§

type Error = Infallible

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

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

Performs the conversion.
source§

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

§

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

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

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

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + U: TryFrom<T>,

§

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

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

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

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.BindingType.html b/doc/wgpu/enum.BindingType.html index bdaf5400cf9e..cead7225adb6 100644 --- a/doc/wgpu/enum.BindingType.html +++ b/doc/wgpu/enum.BindingType.html @@ -1,5 +1,5 @@ BindingType in wgpu - Rust -

Enum wgpu::BindingType

source ·
pub enum BindingType {
+    

Enum wgpu::BindingType

pub enum BindingType {
     Buffer {
         ty: BufferBindingType,
         has_dynamic_offset: bool,
@@ -95,20 +95,20 @@
 

Example GLSL syntax:

layout(binding = 0)
 uniform accelerationStructureEXT as;
-

Implementations§

source§

impl BindingType

source

pub fn has_dynamic_offset(&self) -> bool

Returns true for buffer bindings with dynamic offset enabled.

-

Trait Implementations§

source§

impl Clone for BindingType

source§

fn clone(&self) -> BindingType

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl Debug for BindingType

source§

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

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

impl<'de> Deserialize<'de> for BindingType

Implementations§

§

impl BindingType

pub fn has_dynamic_offset(&self) -> bool

Returns true for buffer bindings with dynamic offset enabled.

+

Trait Implementations§

§

impl Clone for BindingType

§

fn clone(&self) -> BindingType

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
§

impl Debug for BindingType

§

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

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for BindingType

§

fn deserialize<__D>( __deserializer: __D ) -> Result<BindingType, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for BindingType

source§

fn hash<__H>(&self, state: &mut __H)
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Hash for BindingType

§

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

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

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

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

impl PartialEq for BindingType

source§

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

This method tests for self and other values to be equal, and is used + Self: Sized,
Feeds a slice of this type into the given Hasher. Read more
§

impl PartialEq for BindingType

§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for BindingType

source§

fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

§

impl Serialize for BindingType

§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for BindingType

source§

impl Eq for BindingType

source§

impl StructuralEq for BindingType

source§

impl StructuralPartialEq for BindingType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl Copy for BindingType

§

impl Eq for BindingType

§

impl StructuralEq for BindingType

§

impl StructuralPartialEq for BindingType

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

§

impl<Q, K> Equivalent<K> for Q
where @@ -124,7 +124,7 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

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

§

type Error = Infallible

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

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

Performs the conversion.
source§

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

§

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

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

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

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.BlasGeometries.html b/doc/wgpu/enum.BlasGeometries.html index c52770124f2a..5206426cf800 100644 --- a/doc/wgpu/enum.BlasGeometries.html +++ b/doc/wgpu/enum.BlasGeometries.html @@ -13,7 +13,7 @@ From<T> for U chooses to do.

source§

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

§

type Error = Infallible

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

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

Performs the conversion.
source§

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

§

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

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

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

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + U: TryFrom<T>,

§

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

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

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

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.BlendFactor.html b/doc/wgpu/enum.BlendFactor.html index c9eaba534521..30ffb1179564 100644 --- a/doc/wgpu/enum.BlendFactor.html +++ b/doc/wgpu/enum.BlendFactor.html @@ -1,5 +1,5 @@ BlendFactor in wgpu - Rust -

Enum wgpu::BlendFactor

source ·
#[repr(C)]
pub enum BlendFactor { +

Enum wgpu::BlendFactor

#[repr(C)]
pub enum BlendFactor {
Show 17 variants Zero = 0, One = 1, Src = 2, @@ -40,21 +40,21 @@
§

OneMinusSrc1 = 14

1.0 - S1.component

§

Src1Alpha = 15

S1.alpha

§

OneMinusSrc1Alpha = 16

1.0 - S1.alpha

-

Implementations§

source§

impl BlendFactor

source

pub fn ref_second_blend_source(&self) -> bool

Returns true if the blend factor references the second blend source.

+

Implementations§

§

impl BlendFactor

pub fn ref_second_blend_source(&self) -> bool

Returns true if the blend factor references the second blend source.

Note that the usage of those blend factors require Features::DUAL_SOURCE_BLENDING.

-

Trait Implementations§

source§

impl Clone for BlendFactor

source§

fn clone(&self) -> BlendFactor

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl Debug for BlendFactor

source§

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

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

impl<'de> Deserialize<'de> for BlendFactor

Trait Implementations§

§

impl Clone for BlendFactor

§

fn clone(&self) -> BlendFactor

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
§

impl Debug for BlendFactor

§

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

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for BlendFactor

§

fn deserialize<__D>( __deserializer: __D ) -> Result<BlendFactor, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for BlendFactor

source§

fn hash<__H>(&self, state: &mut __H)
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Hash for BlendFactor

§

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

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

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

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

impl PartialEq for BlendFactor

source§

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

This method tests for self and other values to be equal, and is used + Self: Sized,
Feeds a slice of this type into the given Hasher. Read more
§

impl PartialEq for BlendFactor

§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for BlendFactor

source§

fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

§

impl Serialize for BlendFactor

§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for BlendFactor

source§

impl Eq for BlendFactor

source§

impl StructuralEq for BlendFactor

source§

impl StructuralPartialEq for BlendFactor

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl Copy for BlendFactor

§

impl Eq for BlendFactor

§

impl StructuralEq for BlendFactor

§

impl StructuralPartialEq for BlendFactor

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

§

impl<Q, K> Equivalent<K> for Q
where @@ -70,7 +70,7 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

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

§

type Error = Infallible

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

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

Performs the conversion.
source§

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

§

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

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

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

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.BlendOperation.html b/doc/wgpu/enum.BlendOperation.html index 16587b1947ba..0084349456f2 100644 --- a/doc/wgpu/enum.BlendOperation.html +++ b/doc/wgpu/enum.BlendOperation.html @@ -1,5 +1,5 @@ BlendOperation in wgpu - Rust -

Enum wgpu::BlendOperation

source ·
#[repr(C)]
pub enum BlendOperation { +

Enum wgpu::BlendOperation

#[repr(C)]
pub enum BlendOperation { Add = 0, Subtract = 1, ReverseSubtract = 2, @@ -14,19 +14,19 @@
§

ReverseSubtract = 2

Dst - Src

§

Min = 3

min(Src, Dst)

§

Max = 4

max(Src, Dst)

-

Trait Implementations§

source§

impl Clone for BlendOperation

source§

fn clone(&self) -> BlendOperation

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl Debug for BlendOperation

source§

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

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

impl Default for BlendOperation

source§

fn default() -> BlendOperation

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for BlendOperation

Trait Implementations§

§

impl Clone for BlendOperation

§

fn clone(&self) -> BlendOperation

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
§

impl Debug for BlendOperation

§

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

Formats the value using the given formatter. Read more
§

impl Default for BlendOperation

§

fn default() -> BlendOperation

Returns the “default value” for a type. Read more
§

impl<'de> Deserialize<'de> for BlendOperation

§

fn deserialize<__D>( __deserializer: __D ) -> Result<BlendOperation, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for BlendOperation

source§

fn hash<__H>(&self, state: &mut __H)
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Hash for BlendOperation

§

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

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

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

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

impl PartialEq for BlendOperation

source§

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

This method tests for self and other values to be equal, and is used + Self: Sized,
Feeds a slice of this type into the given Hasher. Read more
§

impl PartialEq for BlendOperation

§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for BlendOperation

source§

fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

§

impl Serialize for BlendOperation

§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for BlendOperation

source§

impl Eq for BlendOperation

source§

impl StructuralEq for BlendOperation

source§

impl StructuralPartialEq for BlendOperation

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl Copy for BlendOperation

§

impl Eq for BlendOperation

§

impl StructuralEq for BlendOperation

§

impl StructuralPartialEq for BlendOperation

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

§

impl<Q, K> Equivalent<K> for Q
where @@ -42,7 +42,7 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

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

§

type Error = Infallible

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

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

Performs the conversion.
source§

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

§

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

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

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

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.BufferBindingType.html b/doc/wgpu/enum.BufferBindingType.html index 82689cd44ca8..45bc53a43e74 100644 --- a/doc/wgpu/enum.BufferBindingType.html +++ b/doc/wgpu/enum.BufferBindingType.html @@ -1,5 +1,5 @@ BufferBindingType in wgpu - Rust -
pub enum BufferBindingType {
+    
pub enum BufferBindingType {
     Uniform,
     Storage {
         read_only: bool,
@@ -44,19 +44,19 @@
 
layout (set=0, binding=0) buffer myStorageBuffer {
     vec4 myElement[];
 };
-

Trait Implementations§

source§

impl Clone for BufferBindingType

source§

fn clone(&self) -> BufferBindingType

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl Debug for BufferBindingType

source§

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

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

impl Default for BufferBindingType

source§

fn default() -> BufferBindingType

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for BufferBindingType

Trait Implementations§

§

impl Clone for BufferBindingType

§

fn clone(&self) -> BufferBindingType

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
§

impl Debug for BufferBindingType

§

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

Formats the value using the given formatter. Read more
§

impl Default for BufferBindingType

§

fn default() -> BufferBindingType

Returns the “default value” for a type. Read more
§

impl<'de> Deserialize<'de> for BufferBindingType

§

fn deserialize<__D>( __deserializer: __D ) -> Result<BufferBindingType, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for BufferBindingType

source§

fn hash<__H>(&self, state: &mut __H)
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Hash for BufferBindingType

§

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

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

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

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

impl PartialEq for BufferBindingType

source§

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

This method tests for self and other values to be equal, and is used + Self: Sized,
Feeds a slice of this type into the given Hasher. Read more
§

impl PartialEq for BufferBindingType

§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for BufferBindingType

source§

fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

§

impl Serialize for BufferBindingType

§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for BufferBindingType

source§

impl Eq for BufferBindingType

source§

impl StructuralEq for BufferBindingType

source§

impl StructuralPartialEq for BufferBindingType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl Copy for BufferBindingType

§

impl Eq for BufferBindingType

§

impl StructuralEq for BufferBindingType

§

impl StructuralPartialEq for BufferBindingType

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

§

impl<Q, K> Equivalent<K> for Q
where @@ -72,7 +72,7 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

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

§

type Error = Infallible

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

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

Performs the conversion.
source§

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

§

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

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

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

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.CompareFunction.html b/doc/wgpu/enum.CompareFunction.html index 16c575929bbd..f31e1e8e621e 100644 --- a/doc/wgpu/enum.CompareFunction.html +++ b/doc/wgpu/enum.CompareFunction.html @@ -1,5 +1,5 @@ CompareFunction in wgpu - Rust -
#[repr(C)]
pub enum CompareFunction { +
#[repr(C)]
pub enum CompareFunction { Never = 1, Less = 2, Equal = 3, @@ -22,20 +22,20 @@ output as @invariant to prevent artifacting.

§

GreaterEqual = 7

Function passes if new value is greater than or equal to existing value

§

Always = 8

Function always passes

-

Implementations§

source§

impl CompareFunction

source

pub fn needs_ref_value(self) -> bool

Returns true if the comparison depends on the reference value.

-

Trait Implementations§

source§

impl Clone for CompareFunction

source§

fn clone(&self) -> CompareFunction

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl Debug for CompareFunction

source§

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

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

impl<'de> Deserialize<'de> for CompareFunction

Implementations§

§

impl CompareFunction

pub fn needs_ref_value(self) -> bool

Returns true if the comparison depends on the reference value.

+

Trait Implementations§

§

impl Clone for CompareFunction

§

fn clone(&self) -> CompareFunction

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
§

impl Debug for CompareFunction

§

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

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for CompareFunction

§

fn deserialize<__D>( __deserializer: __D ) -> Result<CompareFunction, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for CompareFunction

source§

fn hash<__H>(&self, state: &mut __H)
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Hash for CompareFunction

§

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

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

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

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

impl PartialEq for CompareFunction

source§

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

This method tests for self and other values to be equal, and is used + Self: Sized,
Feeds a slice of this type into the given Hasher. Read more
§

impl PartialEq for CompareFunction

§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for CompareFunction

source§

fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

§

impl Serialize for CompareFunction

§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for CompareFunction

source§

impl Eq for CompareFunction

source§

impl StructuralEq for CompareFunction

source§

impl StructuralPartialEq for CompareFunction

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl Copy for CompareFunction

§

impl Eq for CompareFunction

§

impl StructuralEq for CompareFunction

§

impl StructuralPartialEq for CompareFunction

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

§

impl<Q, K> Equivalent<K> for Q
where @@ -51,7 +51,7 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

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

§

type Error = Infallible

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

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

Performs the conversion.
source§

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

§

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

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

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

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.CompilationMessageType.html b/doc/wgpu/enum.CompilationMessageType.html index f9cf11b9d0ec..16f4780af274 100644 --- a/doc/wgpu/enum.CompilationMessageType.html +++ b/doc/wgpu/enum.CompilationMessageType.html @@ -24,7 +24,7 @@
source§

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

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

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

§

type Error = Infallible

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

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

Performs the conversion.
source§

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

§

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

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

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

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + U: TryFrom<T>,

§

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

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

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

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.CompositeAlphaMode.html b/doc/wgpu/enum.CompositeAlphaMode.html index 1abce30d5f8e..603a0fa8fc84 100644 --- a/doc/wgpu/enum.CompositeAlphaMode.html +++ b/doc/wgpu/enum.CompositeAlphaMode.html @@ -1,5 +1,5 @@ CompositeAlphaMode in wgpu - Rust -
#[repr(C)]
pub enum CompositeAlphaMode { +
#[repr(C)]
pub enum CompositeAlphaMode { Auto = 0, Opaque = 1, PreMultiplied = 2, @@ -25,19 +25,19 @@ during compositing. Instead, the application is responsible for setting the composite alpha blending mode using native WSI command. If not set, then a platform-specific default will be used.

-

Trait Implementations§

source§

impl Clone for CompositeAlphaMode

source§

fn clone(&self) -> CompositeAlphaMode

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl Debug for CompositeAlphaMode

source§

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

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

impl Default for CompositeAlphaMode

source§

fn default() -> CompositeAlphaMode

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for CompositeAlphaMode

Trait Implementations§

§

impl Clone for CompositeAlphaMode

§

fn clone(&self) -> CompositeAlphaMode

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
§

impl Debug for CompositeAlphaMode

§

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

Formats the value using the given formatter. Read more
§

impl Default for CompositeAlphaMode

§

fn default() -> CompositeAlphaMode

Returns the “default value” for a type. Read more
§

impl<'de> Deserialize<'de> for CompositeAlphaMode

§

fn deserialize<__D>( __deserializer: __D ) -> Result<CompositeAlphaMode, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for CompositeAlphaMode

source§

fn hash<__H>(&self, state: &mut __H)
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Hash for CompositeAlphaMode

§

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

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

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

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

impl PartialEq for CompositeAlphaMode

source§

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

This method tests for self and other values to be equal, and is used + Self: Sized,
Feeds a slice of this type into the given Hasher. Read more
§

impl PartialEq for CompositeAlphaMode

§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for CompositeAlphaMode

source§

fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

§

impl Serialize for CompositeAlphaMode

§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for CompositeAlphaMode

source§

impl Eq for CompositeAlphaMode

source§

impl StructuralEq for CompositeAlphaMode

source§

impl StructuralPartialEq for CompositeAlphaMode

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl Copy for CompositeAlphaMode

§

impl Eq for CompositeAlphaMode

§

impl StructuralEq for CompositeAlphaMode

§

impl StructuralPartialEq for CompositeAlphaMode

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

§

impl<Q, K> Equivalent<K> for Q
where @@ -53,7 +53,7 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

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

§

type Error = Infallible

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

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

Performs the conversion.
source§

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

§

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

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

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

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.DeviceLostReason.html b/doc/wgpu/enum.DeviceLostReason.html index 9b2a29176dc9..b7a43525e0e4 100644 --- a/doc/wgpu/enum.DeviceLostReason.html +++ b/doc/wgpu/enum.DeviceLostReason.html @@ -1,21 +1,21 @@ DeviceLostReason in wgpu - Rust -
#[repr(u8)]
pub enum DeviceLostReason { +
#[repr(u8)]
pub enum DeviceLostReason { Unknown = 0, Destroyed = 1, }
Expand description

Reason for “lose the device”.

Corresponds to WebGPU GPUDeviceLostReason.

Variants§

§

Unknown = 0

Triggered by driver

§

Destroyed = 1

After Device::destroy

-

Trait Implementations§

source§

impl Clone for DeviceLostReason

source§

fn clone(&self) -> DeviceLostReason

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl Debug for DeviceLostReason

source§

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

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

impl<'de> Deserialize<'de> for DeviceLostReason

Trait Implementations§

§

impl Clone for DeviceLostReason

§

fn clone(&self) -> DeviceLostReason

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
§

impl Debug for DeviceLostReason

§

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

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for DeviceLostReason

§

fn deserialize<__D>( __deserializer: __D ) -> Result<DeviceLostReason, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq for DeviceLostReason

source§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§

impl PartialEq for DeviceLostReason

§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for DeviceLostReason

source§

fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

§

impl Serialize for DeviceLostReason

§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for DeviceLostReason

source§

impl Eq for DeviceLostReason

source§

impl StructuralEq for DeviceLostReason

source§

impl StructuralPartialEq for DeviceLostReason

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl Copy for DeviceLostReason

§

impl Eq for DeviceLostReason

§

impl StructuralEq for DeviceLostReason

§

impl StructuralPartialEq for DeviceLostReason

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

§

impl<Q, K> Equivalent<K> for Q
where @@ -31,7 +31,7 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

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

§

type Error = Infallible

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

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

Performs the conversion.
source§

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

§

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

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

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

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.DeviceType.html b/doc/wgpu/enum.DeviceType.html index 1a2876f42a91..4f8a624af8fa 100644 --- a/doc/wgpu/enum.DeviceType.html +++ b/doc/wgpu/enum.DeviceType.html @@ -1,5 +1,5 @@ DeviceType in wgpu - Rust -

Enum wgpu::DeviceType

source ·
#[repr(u8)]
pub enum DeviceType { +

Enum wgpu::DeviceType

#[repr(u8)]
pub enum DeviceType { Other = 0, IntegratedGpu = 1, DiscreteGpu = 2, @@ -11,16 +11,16 @@
§

DiscreteGpu = 2

Discrete GPU with separate CPU/GPU memory.

§

VirtualGpu = 3

Virtual / Hosted.

§

Cpu = 4

Cpu / Software Rendering.

-

Trait Implementations§

source§

impl Clone for DeviceType

source§

fn clone(&self) -> DeviceType

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl Debug for DeviceType

source§

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

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

impl<'de> Deserialize<'de> for DeviceType

Trait Implementations§

§

impl Clone for DeviceType

§

fn clone(&self) -> DeviceType

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
§

impl Debug for DeviceType

§

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

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for DeviceType

§

fn deserialize<__D>( __deserializer: __D ) -> Result<DeviceType, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq for DeviceType

source§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§

impl PartialEq for DeviceType

§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for DeviceType

source§

fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

§

impl Serialize for DeviceType

§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for DeviceType

source§

impl Eq for DeviceType

source§

impl StructuralEq for DeviceType

source§

impl StructuralPartialEq for DeviceType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl Copy for DeviceType

§

impl Eq for DeviceType

§

impl StructuralEq for DeviceType

§

impl StructuralPartialEq for DeviceType

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

§

impl<Q, K> Equivalent<K> for Q
where @@ -36,7 +36,7 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

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

§

type Error = Infallible

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

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

Performs the conversion.
source§

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

§

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

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

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

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.Dx12Compiler.html b/doc/wgpu/enum.Dx12Compiler.html index 149aa70e2a70..6257b0114e5b 100644 --- a/doc/wgpu/enum.Dx12Compiler.html +++ b/doc/wgpu/enum.Dx12Compiler.html @@ -1,5 +1,5 @@ Dx12Compiler in wgpu - Rust -

Enum wgpu::Dx12Compiler

source ·
pub enum Dx12Compiler {
+    

Enum wgpu::Dx12Compiler

pub enum Dx12Compiler {
     Fxc,
     DynamicDxc {
         dxc_path: PathBuf,
@@ -22,7 +22,7 @@
 

It also requires WDDM 2.1 (Windows 10 version 1607).

§

StaticDxc

The statically-linked variant of Dxc. The static-dxc feature is required to use this.

-

Trait Implementations§

source§

impl Clone for Dx12Compiler

source§

fn clone(&self) -> Dx12Compiler

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl Debug for Dx12Compiler

source§

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

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

impl Default for Dx12Compiler

source§

fn default() -> Dx12Compiler

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +

Trait Implementations§

§

impl Clone for Dx12Compiler

§

fn clone(&self) -> Dx12Compiler

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
§

impl Debug for Dx12Compiler

§

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

Formats the value using the given formatter. Read more
§

impl Default for Dx12Compiler

§

fn default() -> Dx12Compiler

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

@@ -33,7 +33,7 @@
source§

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

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

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

§

type Error = Infallible

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

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

Performs the conversion.
source§

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

§

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

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

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

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + U: TryFrom<T>,

§

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

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

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

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.Error.html b/doc/wgpu/enum.Error.html index e281b985611d..ea8a0ebebfd4 100644 --- a/doc/wgpu/enum.Error.html +++ b/doc/wgpu/enum.Error.html @@ -32,7 +32,7 @@
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

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

§

type Error = Infallible

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

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

Performs the conversion.
source§

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

§

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

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

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

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + U: TryFrom<T>,

§

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

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

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

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.ErrorFilter.html b/doc/wgpu/enum.ErrorFilter.html index b98207577465..a151eb7b1632 100644 --- a/doc/wgpu/enum.ErrorFilter.html +++ b/doc/wgpu/enum.ErrorFilter.html @@ -26,7 +26,7 @@
source§

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

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

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

§

type Error = Infallible

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

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

Performs the conversion.
source§

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

§

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

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

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

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + U: TryFrom<T>,

§

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

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

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

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.Face.html b/doc/wgpu/enum.Face.html index a0dc4c3e67e8..89b9994f940f 100644 --- a/doc/wgpu/enum.Face.html +++ b/doc/wgpu/enum.Face.html @@ -1,5 +1,5 @@ Face in wgpu - Rust -

Enum wgpu::Face

source ·
#[repr(C)]
pub enum Face { +

Enum wgpu::Face

#[repr(C)]
pub enum Face { Front = 0, Back = 1, }
Expand description

Face of a vertex.

@@ -7,19 +7,19 @@ except that the "none" value is represented using Option<Face> instead.

Variants§

§

Front = 0

Front face

§

Back = 1

Back face

-

Trait Implementations§

source§

impl Clone for Face

source§

fn clone(&self) -> Face

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl Debug for Face

source§

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

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

impl<'de> Deserialize<'de> for Face

Trait Implementations§

§

impl Clone for Face

§

fn clone(&self) -> Face

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
§

impl Debug for Face

§

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

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for Face

§

fn deserialize<__D>( __deserializer: __D ) -> Result<Face, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for Face

source§

fn hash<__H>(&self, state: &mut __H)
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Hash for Face

§

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

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

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

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

impl PartialEq for Face

source§

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

This method tests for self and other values to be equal, and is used + Self: Sized,
Feeds a slice of this type into the given Hasher. Read more
§

impl PartialEq for Face

§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Face

source§

fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

§

impl Serialize for Face

§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for Face

source§

impl Eq for Face

source§

impl StructuralEq for Face

source§

impl StructuralPartialEq for Face

Auto Trait Implementations§

§

impl RefUnwindSafe for Face

§

impl Send for Face

§

impl Sync for Face

§

impl Unpin for Face

§

impl UnwindSafe for Face

Blanket Implementations§

source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl Copy for Face

§

impl Eq for Face

§

impl StructuralEq for Face

§

impl StructuralPartialEq for Face

Auto Trait Implementations§

§

impl RefUnwindSafe for Face

§

impl Send for Face

§

impl Sync for Face

§

impl Unpin for Face

§

impl UnwindSafe for Face

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

§

impl<Q, K> Equivalent<K> for Q
where @@ -35,7 +35,7 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

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

§

type Error = Infallible

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

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

Performs the conversion.
source§

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

§

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

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

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

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.FilterMode.html b/doc/wgpu/enum.FilterMode.html index 44ee4d5c6a2a..b8e747b9c77a 100644 --- a/doc/wgpu/enum.FilterMode.html +++ b/doc/wgpu/enum.FilterMode.html @@ -1,5 +1,5 @@ FilterMode in wgpu - Rust -

Enum wgpu::FilterMode

source ·
#[repr(C)]
pub enum FilterMode { +

Enum wgpu::FilterMode

#[repr(C)]
pub enum FilterMode { Nearest = 0, Linear = 1, }
Expand description

Texel mixing mode when sampling between texels.

@@ -8,19 +8,19 @@

This creates a pixelated effect when used as a mag filter

§

Linear = 1

Linear Interpolation

This makes textures smooth but blurry when used as a mag filter.

-

Trait Implementations§

source§

impl Clone for FilterMode

source§

fn clone(&self) -> FilterMode

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl Debug for FilterMode

source§

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

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

impl Default for FilterMode

source§

fn default() -> FilterMode

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for FilterMode

Trait Implementations§

§

impl Clone for FilterMode

§

fn clone(&self) -> FilterMode

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
§

impl Debug for FilterMode

§

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

Formats the value using the given formatter. Read more
§

impl Default for FilterMode

§

fn default() -> FilterMode

Returns the “default value” for a type. Read more
§

impl<'de> Deserialize<'de> for FilterMode

§

fn deserialize<__D>( __deserializer: __D ) -> Result<FilterMode, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for FilterMode

source§

fn hash<__H>(&self, state: &mut __H)
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Hash for FilterMode

§

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

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

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

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

impl PartialEq for FilterMode

source§

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

This method tests for self and other values to be equal, and is used + Self: Sized,
Feeds a slice of this type into the given Hasher. Read more
§

impl PartialEq for FilterMode

§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for FilterMode

source§

fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

§

impl Serialize for FilterMode

§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for FilterMode

source§

impl Eq for FilterMode

source§

impl StructuralEq for FilterMode

source§

impl StructuralPartialEq for FilterMode

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl Copy for FilterMode

§

impl Eq for FilterMode

§

impl StructuralEq for FilterMode

§

impl StructuralPartialEq for FilterMode

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

§

impl<Q, K> Equivalent<K> for Q
where @@ -36,7 +36,7 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

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

§

type Error = Infallible

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

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

Performs the conversion.
source§

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

§

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

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

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

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.FrontFace.html b/doc/wgpu/enum.FrontFace.html index f06d35914d25..43a22031846e 100644 --- a/doc/wgpu/enum.FrontFace.html +++ b/doc/wgpu/enum.FrontFace.html @@ -1,5 +1,5 @@ FrontFace in wgpu - Rust -

Enum wgpu::FrontFace

source ·
#[repr(C)]
pub enum FrontFace { +

Enum wgpu::FrontFace

#[repr(C)]
pub enum FrontFace { Ccw = 0, Cw = 1, }
Expand description

Vertex winding order which classifies the “front” face of a triangle.

@@ -8,19 +8,19 @@

This is the default with right handed coordinate spaces.

§

Cw = 1

Triangles with vertices in clockwise order are considered the front face.

This is the default with left handed coordinate spaces.

-

Trait Implementations§

source§

impl Clone for FrontFace

source§

fn clone(&self) -> FrontFace

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl Debug for FrontFace

source§

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

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

impl Default for FrontFace

source§

fn default() -> FrontFace

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for FrontFace

Trait Implementations§

§

impl Clone for FrontFace

§

fn clone(&self) -> FrontFace

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
§

impl Debug for FrontFace

§

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

Formats the value using the given formatter. Read more
§

impl Default for FrontFace

§

fn default() -> FrontFace

Returns the “default value” for a type. Read more
§

impl<'de> Deserialize<'de> for FrontFace

§

fn deserialize<__D>( __deserializer: __D ) -> Result<FrontFace, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for FrontFace

source§

fn hash<__H>(&self, state: &mut __H)
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Hash for FrontFace

§

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

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

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

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

impl PartialEq for FrontFace

source§

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

This method tests for self and other values to be equal, and is used + Self: Sized,
Feeds a slice of this type into the given Hasher. Read more
§

impl PartialEq for FrontFace

§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for FrontFace

source§

fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

§

impl Serialize for FrontFace

§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for FrontFace

source§

impl Eq for FrontFace

source§

impl StructuralEq for FrontFace

source§

impl StructuralPartialEq for FrontFace

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl Copy for FrontFace

§

impl Eq for FrontFace

§

impl StructuralEq for FrontFace

§

impl StructuralPartialEq for FrontFace

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

§

impl<Q, K> Equivalent<K> for Q
where @@ -36,7 +36,7 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

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

§

type Error = Infallible

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

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

Performs the conversion.
source§

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

§

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

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

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

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.Gles3MinorVersion.html b/doc/wgpu/enum.Gles3MinorVersion.html index 0cdda0b17711..9eba4ee909c4 100644 --- a/doc/wgpu/enum.Gles3MinorVersion.html +++ b/doc/wgpu/enum.Gles3MinorVersion.html @@ -1,5 +1,5 @@ Gles3MinorVersion in wgpu - Rust -
pub enum Gles3MinorVersion {
+    
pub enum Gles3MinorVersion {
     Automatic,
     Version0,
     Version1,
@@ -10,12 +10,12 @@
 
§

Version0

Request an ES 3.0 context.

§

Version1

Request an ES 3.1 context.

§

Version2

Request an ES 3.2 context.

-

Trait Implementations§

source§

impl Clone for Gles3MinorVersion

source§

fn clone(&self) -> Gles3MinorVersion

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl Debug for Gles3MinorVersion

source§

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

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

impl Default for Gles3MinorVersion

source§

fn default() -> Gles3MinorVersion

Returns the “default value” for a type. Read more
source§

impl Hash for Gles3MinorVersion

source§

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

Trait Implementations§

§

impl Clone for Gles3MinorVersion

§

fn clone(&self) -> Gles3MinorVersion

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
§

impl Debug for Gles3MinorVersion

§

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

Formats the value using the given formatter. Read more
§

impl Default for Gles3MinorVersion

§

fn default() -> Gles3MinorVersion

Returns the “default value” for a type. Read more
§

impl Hash for Gles3MinorVersion

§

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

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

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

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

impl PartialEq for Gles3MinorVersion

source§

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

This method tests for self and other values to be equal, and is used + Self: Sized,
Feeds a slice of this type into the given Hasher. Read more
§

impl PartialEq for Gles3MinorVersion

§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Copy for Gles3MinorVersion

source§

impl Eq for Gles3MinorVersion

source§

impl StructuralEq for Gles3MinorVersion

source§

impl StructuralPartialEq for Gles3MinorVersion

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

§

impl Copy for Gles3MinorVersion

§

impl Eq for Gles3MinorVersion

§

impl StructuralEq for Gles3MinorVersion

§

impl StructuralPartialEq for Gles3MinorVersion

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

§

impl<Q, K> Equivalent<K> for Q
where @@ -30,7 +30,7 @@

source§

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

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

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

§

type Error = Infallible

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

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

Performs the conversion.
source§

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

§

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

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

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

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + U: TryFrom<T>,

§

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

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

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

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.IndexFormat.html b/doc/wgpu/enum.IndexFormat.html index d3204e3f573e..a94e27c911e9 100644 --- a/doc/wgpu/enum.IndexFormat.html +++ b/doc/wgpu/enum.IndexFormat.html @@ -1,24 +1,24 @@ IndexFormat in wgpu - Rust -

Enum wgpu::IndexFormat

source ·
#[repr(C)]
pub enum IndexFormat { +

Enum wgpu::IndexFormat

#[repr(C)]
pub enum IndexFormat { Uint16 = 0, Uint32 = 1, }
Expand description

Format of indices used with pipeline.

Corresponds to WebGPU GPUIndexFormat.

Variants§

§

Uint16 = 0

Indices are 16 bit unsigned integers.

§

Uint32 = 1

Indices are 32 bit unsigned integers.

-

Trait Implementations§

source§

impl Clone for IndexFormat

source§

fn clone(&self) -> IndexFormat

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl Debug for IndexFormat

source§

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

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

impl Default for IndexFormat

source§

fn default() -> IndexFormat

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for IndexFormat

Trait Implementations§

§

impl Clone for IndexFormat

§

fn clone(&self) -> IndexFormat

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
§

impl Debug for IndexFormat

§

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

Formats the value using the given formatter. Read more
§

impl Default for IndexFormat

§

fn default() -> IndexFormat

Returns the “default value” for a type. Read more
§

impl<'de> Deserialize<'de> for IndexFormat

§

fn deserialize<__D>( __deserializer: __D ) -> Result<IndexFormat, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for IndexFormat

source§

fn hash<__H>(&self, state: &mut __H)
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Hash for IndexFormat

§

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

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

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

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

impl PartialEq for IndexFormat

source§

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

This method tests for self and other values to be equal, and is used + Self: Sized,
Feeds a slice of this type into the given Hasher. Read more
§

impl PartialEq for IndexFormat

§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for IndexFormat

source§

fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

§

impl Serialize for IndexFormat

§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for IndexFormat

source§

impl Eq for IndexFormat

source§

impl StructuralEq for IndexFormat

source§

impl StructuralPartialEq for IndexFormat

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl Copy for IndexFormat

§

impl Eq for IndexFormat

§

impl StructuralEq for IndexFormat

§

impl StructuralPartialEq for IndexFormat

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

§

impl<Q, K> Equivalent<K> for Q
where @@ -34,7 +34,7 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

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

§

type Error = Infallible

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

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

Performs the conversion.
source§

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

§

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

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

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

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.LoadOp.html b/doc/wgpu/enum.LoadOp.html index 857a880c06ac..4427e4707839 100644 --- a/doc/wgpu/enum.LoadOp.html +++ b/doc/wgpu/enum.LoadOp.html @@ -1,5 +1,5 @@ LoadOp in wgpu - Rust -

Enum wgpu::LoadOp

source ·
#[repr(u8)]
pub enum LoadOp<V> { +

Enum wgpu::LoadOp

#[repr(u8)]
pub enum LoadOp<V> { Clear(V), Load = 1, }
Expand description

Operation to perform to the output attachment at the start of a render pass.

@@ -13,29 +13,29 @@ where the initial value doesn’t matter (e.g. the render target will be cleared using a skybox).

§

Load = 1

Loads the existing value for this attachment into the render pass.

-

Implementations§

source§

impl<V> LoadOp<V>

source

pub fn eq_variant<T>(&self, other: LoadOp<T>) -> bool

Returns true if variants are same (ignoring clear value)

-

Trait Implementations§

source§

impl<V> Clone for LoadOp<V>
where - V: Clone,

source§

fn clone(&self) -> LoadOp<V>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl<V> Debug for LoadOp<V>
where - V: Debug,

source§

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

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

impl<V> Default for LoadOp<V>
where - V: Default,

source§

fn default() -> LoadOp<V>

Returns the “default value” for a type. Read more
source§

impl<'de, V> Deserialize<'de> for LoadOp<V>
where - V: Deserialize<'de>,

Implementations§

§

impl<V> LoadOp<V>

pub fn eq_variant<T>(&self, other: LoadOp<T>) -> bool

Returns true if variants are same (ignoring clear value)

+

Trait Implementations§

§

impl<V> Clone for LoadOp<V>
where + V: Clone,

§

fn clone(&self) -> LoadOp<V>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
§

impl<V> Debug for LoadOp<V>
where + V: Debug,

§

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

Formats the value using the given formatter. Read more
§

impl<V> Default for LoadOp<V>
where + V: Default,

§

fn default() -> LoadOp<V>

Returns the “default value” for a type. Read more
§

impl<'de, V> Deserialize<'de> for LoadOp<V>
where + V: Deserialize<'de>,

§

fn deserialize<__D>( __deserializer: __D ) -> Result<LoadOp<V>, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<V> Hash for LoadOp<V>
where - V: Hash,

source§

fn hash<__H>(&self, state: &mut __H)
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl<V> Hash for LoadOp<V>
where + V: Hash,

§

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

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

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

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

impl<V> PartialEq for LoadOp<V>
where - V: PartialEq,

source§

fn eq(&self, other: &LoadOp<V>) -> bool

This method tests for self and other values to be equal, and is used + Self: Sized,
Feeds a slice of this type into the given Hasher. Read more
§

impl<V> PartialEq for LoadOp<V>
where + V: PartialEq,

§

fn eq(&self, other: &LoadOp<V>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl<V> Serialize for LoadOp<V>
where - V: Serialize,

source§

fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

§

impl<V> Serialize for LoadOp<V>
where + V: Serialize,

§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<V> Copy for LoadOp<V>
where - V: Copy,

source§

impl<V> Eq for LoadOp<V>
where - V: Eq,

source§

impl<V> StructuralEq for LoadOp<V>

source§

impl<V> StructuralPartialEq for LoadOp<V>

Auto Trait Implementations§

§

impl<V> RefUnwindSafe for LoadOp<V>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl<V> Copy for LoadOp<V>
where + V: Copy,

§

impl<V> Eq for LoadOp<V>
where + V: Eq,

§

impl<V> StructuralEq for LoadOp<V>

§

impl<V> StructuralPartialEq for LoadOp<V>

Auto Trait Implementations§

§

impl<V> RefUnwindSafe for LoadOp<V>
where V: RefUnwindSafe,

§

impl<V> Send for LoadOp<V>
where V: Send,

§

impl<V> Sync for LoadOp<V>
where V: Sync,

§

impl<V> Unpin for LoadOp<V>
where @@ -56,7 +56,7 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

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

§

type Error = Infallible

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

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

Performs the conversion.
source§

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

§

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

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

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

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.MaintainBase.html b/doc/wgpu/enum.MaintainBase.html index 7ef5ddb77d26..fe47cc52f1dd 100644 --- a/doc/wgpu/enum.MaintainBase.html +++ b/doc/wgpu/enum.MaintainBase.html @@ -1,5 +1,5 @@ MaintainBase in wgpu - Rust -

Enum wgpu::MaintainBase

source ·
pub enum MaintainBase<T> {
+    

Enum wgpu::MaintainBase

pub enum MaintainBase<T> {
     WaitForSubmissionIndex(T),
     Wait,
     Poll,
@@ -10,14 +10,14 @@
 window event loop.

§

Wait

Same as WaitForSubmissionIndex but waits for the most recent submission.

§

Poll

Check the device for a single time without blocking.

-

Implementations§

source§

impl<T> Maintain<T>

source

pub fn wait() -> Maintain<T>

Construct a wait variant

-
source

pub fn wait_for(submission_index: T) -> Maintain<T>

Construct a WaitForSubmissionIndex variant

-
source

pub fn is_wait(&self) -> bool

This maintain represents a wait of some kind.

-
source

pub fn map_index<U, F>(self, func: F) -> Maintain<U>
where +

Implementations§

§

impl<T> Maintain<T>

pub fn wait() -> Maintain<T>

Construct a wait variant

+

pub fn wait_for(submission_index: T) -> Maintain<T>

Construct a WaitForSubmissionIndex variant

+

pub fn is_wait(&self) -> bool

This maintain represents a wait of some kind.

+

pub fn map_index<U, F>(self, func: F) -> Maintain<U>
where F: FnOnce(T) -> U,

Map on the wait index type.

-

Trait Implementations§

source§

impl<T> Clone for Maintain<T>
where - T: Clone,

source§

fn clone(&self) -> Maintain<T>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl<T> Debug for Maintain<T>
where - T: Debug,

source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<T> RefUnwindSafe for Maintain<T>
where +

Trait Implementations§

§

impl<T> Clone for Maintain<T>
where + T: Clone,

§

fn clone(&self) -> Maintain<T>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
§

impl<T> Debug for Maintain<T>
where + T: Debug,

§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<T> RefUnwindSafe for Maintain<T>
where T: RefUnwindSafe,

§

impl<T> Send for Maintain<T>
where T: Send,

§

impl<T> Sync for Maintain<T>
where T: Sync,

§

impl<T> Unpin for Maintain<T>
where @@ -33,7 +33,7 @@

source§

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

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

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

§

type Error = Infallible

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

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

Performs the conversion.
source§

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

§

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

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

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

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + U: TryFrom<T>,

§

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

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

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

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.MaintainResult.html b/doc/wgpu/enum.MaintainResult.html index b3ee89cfdce6..1dbb586fe313 100644 --- a/doc/wgpu/enum.MaintainResult.html +++ b/doc/wgpu/enum.MaintainResult.html @@ -1,5 +1,5 @@ MaintainResult in wgpu - Rust -

Enum wgpu::MaintainResult

source ·
pub enum MaintainResult {
+    

Enum wgpu::MaintainResult

pub enum MaintainResult {
     SubmissionQueueEmpty,
     Ok,
 }
Expand description

Result of a maintain operation.

@@ -7,8 +7,8 @@ Other submissions may have been queued on other threads at the same time.

This implies that the given poll is complete.

§

Ok

More information coming soon https://github.com/gfx-rs/wgpu/pull/5012

-

Implementations§

source§

impl MaintainResult

source

pub fn is_queue_empty(&self) -> bool

Returns true if the result is Self::SubmissionQueueEmpty`.

-
source

pub fn panic_on_timeout(self)

Panics if the MaintainResult is not Ok.

+

Implementations§

§

impl MaintainResult

pub fn is_queue_empty(&self) -> bool

Returns true if the result is Self::SubmissionQueueEmpty`.

+

pub fn panic_on_timeout(self)

Panics if the MaintainResult is not Ok.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where @@ -19,7 +19,7 @@ From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.MapMode.html b/doc/wgpu/enum.MapMode.html index dfb0d90810b4..c962fc4d67d1 100644 --- a/doc/wgpu/enum.MapMode.html +++ b/doc/wgpu/enum.MapMode.html @@ -22,7 +22,7 @@
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.MemoryHints.html b/doc/wgpu/enum.MemoryHints.html index 4507f66aa2ec..4f2467cc0d01 100644 --- a/doc/wgpu/enum.MemoryHints.html +++ b/doc/wgpu/enum.MemoryHints.html @@ -1,5 +1,5 @@ MemoryHints in wgpu - Rust -

Enum wgpu::MemoryHints

source ·
pub enum MemoryHints {
+    

Enum wgpu::MemoryHints

pub enum MemoryHints {
     Performance,
     MemoryUsage,
     Manual {
@@ -24,10 +24,10 @@
 

Applications that have control over the content that is rendered (typically games) may find an optimal compromise between memory usage and performance by specifying the allocation configuration.

-

Trait Implementations§

source§

impl Clone for MemoryHints

source§

fn clone(&self) -> MemoryHints

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for MemoryHints

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for MemoryHints

source§

fn default() -> MemoryHints

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for MemoryHints

Trait Implementations§

§

impl Clone for MemoryHints

§

fn clone(&self) -> MemoryHints

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for MemoryHints

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for MemoryHints

§

fn default() -> MemoryHints

Returns the “default value” for a type. Read more
§

impl<'de> Deserialize<'de> for MemoryHints

§

fn deserialize<__D>( __deserializer: __D ) -> Result<MemoryHints, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for MemoryHints

source§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Serialize for MemoryHints

§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where @@ -43,7 +43,7 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.PolygonMode.html b/doc/wgpu/enum.PolygonMode.html index d52ca3ee4127..dafdf1ffebd5 100644 --- a/doc/wgpu/enum.PolygonMode.html +++ b/doc/wgpu/enum.PolygonMode.html @@ -1,5 +1,5 @@ PolygonMode in wgpu - Rust -

Enum wgpu::PolygonMode

source ·
#[repr(C)]
pub enum PolygonMode { +

Enum wgpu::PolygonMode

#[repr(C)]
pub enum PolygonMode { Fill = 0, Line = 1, Point = 2, @@ -7,19 +7,19 @@

Variants§

§

Fill = 0

Polygons are filled

§

Line = 1

Polygons are drawn as line segments

§

Point = 2

Polygons are drawn as points

-

Trait Implementations§

source§

impl Clone for PolygonMode

source§

fn clone(&self) -> PolygonMode

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PolygonMode

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for PolygonMode

source§

fn default() -> PolygonMode

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for PolygonMode

Trait Implementations§

§

impl Clone for PolygonMode

§

fn clone(&self) -> PolygonMode

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for PolygonMode

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for PolygonMode

§

fn default() -> PolygonMode

Returns the “default value” for a type. Read more
§

impl<'de> Deserialize<'de> for PolygonMode

§

fn deserialize<__D>( __deserializer: __D ) -> Result<PolygonMode, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for PolygonMode

source§

fn hash<__H>(&self, state: &mut __H)
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Hash for PolygonMode

§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for PolygonMode

source§

fn eq(&self, other: &PolygonMode) -> bool

This method tests for self and other values to be equal, and is used + Self: Sized,
Feeds a slice of this type into the given Hasher. Read more
§

impl PartialEq for PolygonMode

§

fn eq(&self, other: &PolygonMode) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for PolygonMode

source§

fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

§

impl Serialize for PolygonMode

§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for PolygonMode

source§

impl Eq for PolygonMode

source§

impl StructuralEq for PolygonMode

source§

impl StructuralPartialEq for PolygonMode

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl Copy for PolygonMode

§

impl Eq for PolygonMode

§

impl StructuralEq for PolygonMode

§

impl StructuralPartialEq for PolygonMode

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

§

impl<Q, K> Equivalent<K> for Q
where @@ -35,7 +35,7 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.PowerPreference.html b/doc/wgpu/enum.PowerPreference.html index 781271eabb51..7c361f4dc0b3 100644 --- a/doc/wgpu/enum.PowerPreference.html +++ b/doc/wgpu/enum.PowerPreference.html @@ -1,5 +1,5 @@ PowerPreference in wgpu - Rust -
#[repr(C)]
pub enum PowerPreference { +
#[repr(C)]
pub enum PowerPreference { None = 0, LowPower = 1, HighPerformance = 2, @@ -8,19 +8,19 @@

Variants§

§

None = 0

Power usage is not considered when choosing an adapter.

§

LowPower = 1

Adapter that uses the least possible power. This is often an integrated GPU.

§

HighPerformance = 2

Adapter that has the highest performance. This is often a discrete GPU.

-

Trait Implementations§

source§

impl Clone for PowerPreference

source§

fn clone(&self) -> PowerPreference

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PowerPreference

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for PowerPreference

source§

fn default() -> PowerPreference

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for PowerPreference

Trait Implementations§

§

impl Clone for PowerPreference

§

fn clone(&self) -> PowerPreference

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for PowerPreference

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for PowerPreference

§

fn default() -> PowerPreference

Returns the “default value” for a type. Read more
§

impl<'de> Deserialize<'de> for PowerPreference

§

fn deserialize<__D>( __deserializer: __D ) -> Result<PowerPreference, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for PowerPreference

source§

fn hash<__H>(&self, state: &mut __H)
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Hash for PowerPreference

§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for PowerPreference

source§

fn eq(&self, other: &PowerPreference) -> bool

This method tests for self and other values to be equal, and is used + Self: Sized,
Feeds a slice of this type into the given Hasher. Read more
§

impl PartialEq for PowerPreference

§

fn eq(&self, other: &PowerPreference) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for PowerPreference

source§

fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

§

impl Serialize for PowerPreference

§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for PowerPreference

source§

impl Eq for PowerPreference

source§

impl StructuralEq for PowerPreference

source§

impl StructuralPartialEq for PowerPreference

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl Copy for PowerPreference

§

impl Eq for PowerPreference

§

impl StructuralEq for PowerPreference

§

impl StructuralPartialEq for PowerPreference

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

§

impl<Q, K> Equivalent<K> for Q
where @@ -36,7 +36,7 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.PredefinedColorSpace.html b/doc/wgpu/enum.PredefinedColorSpace.html index 5f055dd7bd79..fa19afdac975 100644 --- a/doc/wgpu/enum.PredefinedColorSpace.html +++ b/doc/wgpu/enum.PredefinedColorSpace.html @@ -1,21 +1,21 @@ PredefinedColorSpace in wgpu - Rust -
pub enum PredefinedColorSpace {
+    
pub enum PredefinedColorSpace {
     Srgb,
     DisplayP3,
 }
Expand description

Color spaces supported on the web.

Corresponds to HTML Canvas PredefinedColorSpace.

Variants§

§

Srgb

sRGB color space

§

DisplayP3

Display-P3 color space

-

Trait Implementations§

source§

impl Clone for PredefinedColorSpace

source§

fn clone(&self) -> PredefinedColorSpace

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PredefinedColorSpace

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for PredefinedColorSpace

Trait Implementations§

§

impl Clone for PredefinedColorSpace

§

fn clone(&self) -> PredefinedColorSpace

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for PredefinedColorSpace

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for PredefinedColorSpace

§

fn deserialize<__D>( __deserializer: __D ) -> Result<PredefinedColorSpace, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq for PredefinedColorSpace

source§

fn eq(&self, other: &PredefinedColorSpace) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§

impl PartialEq for PredefinedColorSpace

§

fn eq(&self, other: &PredefinedColorSpace) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for PredefinedColorSpace

source§

fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

§

impl Serialize for PredefinedColorSpace

§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for PredefinedColorSpace

source§

impl Eq for PredefinedColorSpace

source§

impl StructuralEq for PredefinedColorSpace

source§

impl StructuralPartialEq for PredefinedColorSpace

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl Copy for PredefinedColorSpace

§

impl Eq for PredefinedColorSpace

§

impl StructuralEq for PredefinedColorSpace

§

impl StructuralPartialEq for PredefinedColorSpace

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

§

impl<Q, K> Equivalent<K> for Q
where @@ -31,7 +31,7 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.PresentMode.html b/doc/wgpu/enum.PresentMode.html index 39e5276cfd6e..dbdc295aaf9b 100644 --- a/doc/wgpu/enum.PresentMode.html +++ b/doc/wgpu/enum.PresentMode.html @@ -1,5 +1,5 @@ PresentMode in wgpu - Rust -

Enum wgpu::PresentMode

source ·
#[repr(C)]
pub enum PresentMode { +

Enum wgpu::PresentMode

#[repr(C)]
pub enum PresentMode { AutoVsync = 0, AutoNoVsync = 1, Fifo = 2, @@ -45,19 +45,19 @@

No tearing will be observed.

Supported on DX12 on Windows 10, NVidia on Vulkan and Wayland on Vulkan.

This is traditionally called “Fast Vsync”

-

Trait Implementations§

source§

impl Clone for PresentMode

source§

fn clone(&self) -> PresentMode

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PresentMode

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for PresentMode

source§

fn default() -> PresentMode

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for PresentMode

Trait Implementations§

§

impl Clone for PresentMode

§

fn clone(&self) -> PresentMode

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for PresentMode

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for PresentMode

§

fn default() -> PresentMode

Returns the “default value” for a type. Read more
§

impl<'de> Deserialize<'de> for PresentMode

§

fn deserialize<__D>( __deserializer: __D ) -> Result<PresentMode, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for PresentMode

source§

fn hash<__H>(&self, state: &mut __H)
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Hash for PresentMode

§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for PresentMode

source§

fn eq(&self, other: &PresentMode) -> bool

This method tests for self and other values to be equal, and is used + Self: Sized,
Feeds a slice of this type into the given Hasher. Read more
§

impl PartialEq for PresentMode

§

fn eq(&self, other: &PresentMode) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for PresentMode

source§

fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

§

impl Serialize for PresentMode

§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for PresentMode

source§

impl Eq for PresentMode

source§

impl StructuralEq for PresentMode

source§

impl StructuralPartialEq for PresentMode

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl Copy for PresentMode

§

impl Eq for PresentMode

§

impl StructuralEq for PresentMode

§

impl StructuralPartialEq for PresentMode

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

§

impl<Q, K> Equivalent<K> for Q
where @@ -73,7 +73,7 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.PrimitiveTopology.html b/doc/wgpu/enum.PrimitiveTopology.html index cafe33a4784e..26bf32a90dd3 100644 --- a/doc/wgpu/enum.PrimitiveTopology.html +++ b/doc/wgpu/enum.PrimitiveTopology.html @@ -1,5 +1,5 @@ PrimitiveTopology in wgpu - Rust -
#[repr(C)]
pub enum PrimitiveTopology { +
#[repr(C)]
pub enum PrimitiveTopology { PointList = 0, LineList = 1, LineStrip = 2, @@ -16,20 +16,20 @@

Vertices 0 1 2 3 4 5 create two triangles 0 1 2 and 3 4 5

§

TriangleStrip = 4

Vertex data is a triangle strip. Each set of three adjacent vertices form a triangle.

Vertices 0 1 2 3 4 5 create four triangles 0 1 2, 2 1 3, 2 3 4, and 4 3 5

-

Implementations§

source§

impl PrimitiveTopology

source

pub fn is_strip(&self) -> bool

Returns true for strip topologies.

-

Trait Implementations§

source§

impl Clone for PrimitiveTopology

source§

fn clone(&self) -> PrimitiveTopology

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PrimitiveTopology

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for PrimitiveTopology

source§

fn default() -> PrimitiveTopology

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for PrimitiveTopology

Implementations§

§

impl PrimitiveTopology

pub fn is_strip(&self) -> bool

Returns true for strip topologies.

+

Trait Implementations§

§

impl Clone for PrimitiveTopology

§

fn clone(&self) -> PrimitiveTopology

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for PrimitiveTopology

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for PrimitiveTopology

§

fn default() -> PrimitiveTopology

Returns the “default value” for a type. Read more
§

impl<'de> Deserialize<'de> for PrimitiveTopology

§

fn deserialize<__D>( __deserializer: __D ) -> Result<PrimitiveTopology, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for PrimitiveTopology

source§

fn hash<__H>(&self, state: &mut __H)
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Hash for PrimitiveTopology

§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for PrimitiveTopology

source§

fn eq(&self, other: &PrimitiveTopology) -> bool

This method tests for self and other values to be equal, and is used + Self: Sized,
Feeds a slice of this type into the given Hasher. Read more
§

impl PartialEq for PrimitiveTopology

§

fn eq(&self, other: &PrimitiveTopology) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for PrimitiveTopology

source§

fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

§

impl Serialize for PrimitiveTopology

§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for PrimitiveTopology

source§

impl Eq for PrimitiveTopology

source§

impl StructuralEq for PrimitiveTopology

source§

impl StructuralPartialEq for PrimitiveTopology

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl Copy for PrimitiveTopology

§

impl Eq for PrimitiveTopology

§

impl StructuralEq for PrimitiveTopology

§

impl StructuralPartialEq for PrimitiveTopology

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

§

impl<Q, K> Equivalent<K> for Q
where @@ -45,7 +45,7 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.QueryType.html b/doc/wgpu/enum.QueryType.html index ae7df4923a8c..589e0cc07823 100644 --- a/doc/wgpu/enum.QueryType.html +++ b/doc/wgpu/enum.QueryType.html @@ -1,5 +1,5 @@ QueryType in wgpu - Rust -

Enum wgpu::QueryType

source ·
pub enum QueryType {
+    

Enum wgpu::QueryType

pub enum QueryType {
     Occlusion,
     PipelineStatistics(PipelineStatisticsTypes),
     Timestamp,
@@ -17,14 +17,14 @@
 but timestamps can be subtracted to get the time it takes
 for a string of operations to complete.

Features::TIMESTAMP_QUERY must be enabled to use this query type.

-

Trait Implementations§

source§

impl Clone for QueryType

source§

fn clone(&self) -> QueryType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for QueryType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for QueryType

Trait Implementations§

§

impl Clone for QueryType

§

fn clone(&self) -> QueryType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for QueryType

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for QueryType

§

fn deserialize<__D>( __deserializer: __D ) -> Result<QueryType, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for QueryType

source§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Serialize for QueryType

§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for QueryType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl Copy for QueryType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

@@ -36,7 +36,7 @@ T: Clone,
§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.SamplerBindingType.html b/doc/wgpu/enum.SamplerBindingType.html index 39a5b18b0069..62bc5b580634 100644 --- a/doc/wgpu/enum.SamplerBindingType.html +++ b/doc/wgpu/enum.SamplerBindingType.html @@ -1,5 +1,5 @@ SamplerBindingType in wgpu - Rust -
#[repr(C)]
pub enum SamplerBindingType { +
#[repr(C)]
pub enum SamplerBindingType { Filtering = 0, NonFiltering = 1, Comparison = 2, @@ -11,19 +11,19 @@
§

NonFiltering = 1

The sampling result is produced based on a single color sample from a texture.

§

Comparison = 2

Use as a comparison sampler instead of a normal sampler. For more info take a look at the analogous functionality in OpenGL: https://www.khronos.org/opengl/wiki/Sampler_Object#Comparison_mode.

-

Trait Implementations§

source§

impl Clone for SamplerBindingType

source§

fn clone(&self) -> SamplerBindingType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SamplerBindingType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for SamplerBindingType

Trait Implementations§

§

impl Clone for SamplerBindingType

§

fn clone(&self) -> SamplerBindingType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for SamplerBindingType

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for SamplerBindingType

§

fn deserialize<__D>( __deserializer: __D ) -> Result<SamplerBindingType, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for SamplerBindingType

source§

fn hash<__H>(&self, state: &mut __H)
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Hash for SamplerBindingType

§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for SamplerBindingType

source§

fn eq(&self, other: &SamplerBindingType) -> bool

This method tests for self and other values to be equal, and is used + Self: Sized,
Feeds a slice of this type into the given Hasher. Read more
§

impl PartialEq for SamplerBindingType

§

fn eq(&self, other: &SamplerBindingType) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for SamplerBindingType

source§

fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

§

impl Serialize for SamplerBindingType

§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for SamplerBindingType

source§

impl Eq for SamplerBindingType

source§

impl StructuralEq for SamplerBindingType

source§

impl StructuralPartialEq for SamplerBindingType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl Copy for SamplerBindingType

§

impl Eq for SamplerBindingType

§

impl StructuralEq for SamplerBindingType

§

impl StructuralPartialEq for SamplerBindingType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

§

impl<Q, K> Equivalent<K> for Q
where @@ -39,7 +39,7 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.SamplerBorderColor.html b/doc/wgpu/enum.SamplerBorderColor.html index 388f104ba3d8..faf71befa2b3 100644 --- a/doc/wgpu/enum.SamplerBorderColor.html +++ b/doc/wgpu/enum.SamplerBorderColor.html @@ -1,5 +1,5 @@ SamplerBorderColor in wgpu - Rust -
#[repr(C)]
pub enum SamplerBorderColor { +
#[repr(C)]
pub enum SamplerBorderColor { TransparentBlack = 0, OpaqueBlack = 1, OpaqueWhite = 2, @@ -13,19 +13,19 @@ for textures that do not have an alpha component. On other backends, this is equivalent to TransparentBlack. Requires Features::ADDRESS_MODE_CLAMP_TO_ZERO. Not supported on the web.

-

Trait Implementations§

source§

impl Clone for SamplerBorderColor

source§

fn clone(&self) -> SamplerBorderColor

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SamplerBorderColor

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for SamplerBorderColor

Trait Implementations§

§

impl Clone for SamplerBorderColor

§

fn clone(&self) -> SamplerBorderColor

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for SamplerBorderColor

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for SamplerBorderColor

§

fn deserialize<__D>( __deserializer: __D ) -> Result<SamplerBorderColor, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for SamplerBorderColor

source§

fn hash<__H>(&self, state: &mut __H)
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Hash for SamplerBorderColor

§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for SamplerBorderColor

source§

fn eq(&self, other: &SamplerBorderColor) -> bool

This method tests for self and other values to be equal, and is used + Self: Sized,
Feeds a slice of this type into the given Hasher. Read more
§

impl PartialEq for SamplerBorderColor

§

fn eq(&self, other: &SamplerBorderColor) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for SamplerBorderColor

source§

fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

§

impl Serialize for SamplerBorderColor

§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for SamplerBorderColor

source§

impl Eq for SamplerBorderColor

source§

impl StructuralEq for SamplerBorderColor

source§

impl StructuralPartialEq for SamplerBorderColor

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl Copy for SamplerBorderColor

§

impl Eq for SamplerBorderColor

§

impl StructuralEq for SamplerBorderColor

§

impl StructuralPartialEq for SamplerBorderColor

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

§

impl<Q, K> Equivalent<K> for Q
where @@ -41,7 +41,7 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.ShaderModel.html b/doc/wgpu/enum.ShaderModel.html index 983246606bf0..333807f677c2 100644 --- a/doc/wgpu/enum.ShaderModel.html +++ b/doc/wgpu/enum.ShaderModel.html @@ -1,5 +1,5 @@ ShaderModel in wgpu - Rust -

Enum wgpu::ShaderModel

source ·
pub enum ShaderModel {
+    

Enum wgpu::ShaderModel

pub enum ShaderModel {
     Sm2,
     Sm4,
     Sm5,
@@ -7,24 +7,24 @@
 

Variants§

§

Sm2

Extremely limited shaders, including a total instruction limit.

§

Sm4

Missing minor features and storage images.

§

Sm5

WebGPU supports shader module 5.

-

Trait Implementations§

source§

impl Clone for ShaderModel

source§

fn clone(&self) -> ShaderModel

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ShaderModel

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ShaderModel

Trait Implementations§

§

impl Clone for ShaderModel

§

fn clone(&self) -> ShaderModel

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for ShaderModel

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for ShaderModel

§

fn deserialize<__D>( __deserializer: __D ) -> Result<ShaderModel, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for ShaderModel

source§

fn hash<__H>(&self, state: &mut __H)
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Hash for ShaderModel

§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for ShaderModel

source§

fn cmp(&self, other: &ShaderModel) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl Ord for ShaderModel

§

fn cmp(&self, other: &ShaderModel) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where - Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl PartialEq for ShaderModel

source§

fn eq(&self, other: &ShaderModel) -> bool

This method tests for self and other values to be equal, and is used + Self: Sized + PartialOrd,
Restrict a value to a certain interval. Read more
§

impl PartialEq for ShaderModel

§

fn eq(&self, other: &ShaderModel) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd for ShaderModel

source§

fn partial_cmp(&self, other: &ShaderModel) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +sufficient, and should not be overridden without very good reason.
§

impl PartialOrd for ShaderModel

§

fn partial_cmp(&self, other: &ShaderModel) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Serialize for ShaderModel

source§

fn serialize<__S>( +operator. Read more

§

impl Serialize for ShaderModel

§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for ShaderModel

source§

impl Eq for ShaderModel

source§

impl StructuralEq for ShaderModel

source§

impl StructuralPartialEq for ShaderModel

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl Copy for ShaderModel

§

impl Eq for ShaderModel

§

impl StructuralEq for ShaderModel

§

impl StructuralPartialEq for ShaderModel

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<Q, K> Comparable<K> for Q
where @@ -43,7 +43,7 @@ U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

source§

impl<N> NodeTrait for N
where - N: Copy + Ord + Hash,

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + N: Copy + Ord + Hash,

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.ShaderSource.html b/doc/wgpu/enum.ShaderSource.html index 312cf4bf5e60..c1f710556f4f 100644 --- a/doc/wgpu/enum.ShaderSource.html +++ b/doc/wgpu/enum.ShaderSource.html @@ -19,7 +19,7 @@
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.StencilOperation.html b/doc/wgpu/enum.StencilOperation.html index 6f5d828f3c23..72788e511a2f 100644 --- a/doc/wgpu/enum.StencilOperation.html +++ b/doc/wgpu/enum.StencilOperation.html @@ -1,5 +1,5 @@ StencilOperation in wgpu - Rust -
#[repr(C)]
pub enum StencilOperation { +
#[repr(C)]
pub enum StencilOperation { Keep = 0, Zero = 1, Replace = 2, @@ -19,19 +19,19 @@
§

DecrementClamp = 5

Decrements stencil value by one, clamping on underflow.

§

IncrementWrap = 6

Increments stencil value by one, wrapping on overflow.

§

DecrementWrap = 7

Decrements stencil value by one, wrapping on underflow.

-

Trait Implementations§

source§

impl Clone for StencilOperation

source§

fn clone(&self) -> StencilOperation

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for StencilOperation

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for StencilOperation

source§

fn default() -> StencilOperation

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for StencilOperation

Trait Implementations§

§

impl Clone for StencilOperation

§

fn clone(&self) -> StencilOperation

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for StencilOperation

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for StencilOperation

§

fn default() -> StencilOperation

Returns the “default value” for a type. Read more
§

impl<'de> Deserialize<'de> for StencilOperation

§

fn deserialize<__D>( __deserializer: __D ) -> Result<StencilOperation, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for StencilOperation

source§

fn hash<__H>(&self, state: &mut __H)
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Hash for StencilOperation

§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for StencilOperation

source§

fn eq(&self, other: &StencilOperation) -> bool

This method tests for self and other values to be equal, and is used + Self: Sized,
Feeds a slice of this type into the given Hasher. Read more
§

impl PartialEq for StencilOperation

§

fn eq(&self, other: &StencilOperation) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for StencilOperation

source§

fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

§

impl Serialize for StencilOperation

§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for StencilOperation

source§

impl Eq for StencilOperation

source§

impl StructuralEq for StencilOperation

source§

impl StructuralPartialEq for StencilOperation

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl Copy for StencilOperation

§

impl Eq for StencilOperation

§

impl StructuralEq for StencilOperation

§

impl StructuralPartialEq for StencilOperation

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

§

impl<Q, K> Equivalent<K> for Q
where @@ -47,7 +47,7 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.StorageTextureAccess.html b/doc/wgpu/enum.StorageTextureAccess.html index 12cdd10fd158..fad69d78e201 100644 --- a/doc/wgpu/enum.StorageTextureAccess.html +++ b/doc/wgpu/enum.StorageTextureAccess.html @@ -1,5 +1,5 @@ StorageTextureAccess in wgpu - Rust -
pub enum StorageTextureAccess {
+    
pub enum StorageTextureAccess {
     WriteOnly,
     ReadOnly,
     ReadWrite,
@@ -37,19 +37,19 @@
 var my_storage_image: texture_storage_2d<r32float, read_write>;

Example GLSL syntax:

layout(set=0, binding=0, r32f) uniform image2D myStorageImage;
-

Trait Implementations§

source§

impl Clone for StorageTextureAccess

source§

fn clone(&self) -> StorageTextureAccess

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for StorageTextureAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for StorageTextureAccess

Trait Implementations§

§

impl Clone for StorageTextureAccess

§

fn clone(&self) -> StorageTextureAccess

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for StorageTextureAccess

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for StorageTextureAccess

§

fn deserialize<__D>( __deserializer: __D ) -> Result<StorageTextureAccess, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for StorageTextureAccess

source§

fn hash<__H>(&self, state: &mut __H)
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Hash for StorageTextureAccess

§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for StorageTextureAccess

source§

fn eq(&self, other: &StorageTextureAccess) -> bool

This method tests for self and other values to be equal, and is used + Self: Sized,
Feeds a slice of this type into the given Hasher. Read more
§

impl PartialEq for StorageTextureAccess

§

fn eq(&self, other: &StorageTextureAccess) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for StorageTextureAccess

source§

fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

§

impl Serialize for StorageTextureAccess

§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for StorageTextureAccess

source§

impl Eq for StorageTextureAccess

source§

impl StructuralEq for StorageTextureAccess

source§

impl StructuralPartialEq for StorageTextureAccess

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl Copy for StorageTextureAccess

§

impl Eq for StorageTextureAccess

§

impl StructuralEq for StorageTextureAccess

§

impl StructuralPartialEq for StorageTextureAccess

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

§

impl<Q, K> Equivalent<K> for Q
where @@ -65,7 +65,7 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.StoreOp.html b/doc/wgpu/enum.StoreOp.html index 7d56afdd1f10..f9caf50f097d 100644 --- a/doc/wgpu/enum.StoreOp.html +++ b/doc/wgpu/enum.StoreOp.html @@ -1,5 +1,5 @@ StoreOp in wgpu - Rust -

Enum wgpu::StoreOp

source ·
#[repr(C)]
pub enum StoreOp { +

Enum wgpu::StoreOp

#[repr(C)]
pub enum StoreOp { Store = 0, Discard = 1, }
Expand description

Operation to perform to the output attachment at the end of a render pass.

@@ -11,19 +11,19 @@ the respective other texture-aspect will be preserved.)

This can be significantly faster on tile-based render hardware.

Prefer this if the attachment is not read by subsequent passes.

-

Trait Implementations§

source§

impl Clone for StoreOp

source§

fn clone(&self) -> StoreOp

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for StoreOp

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for StoreOp

source§

fn default() -> StoreOp

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for StoreOp

Trait Implementations§

§

impl Clone for StoreOp

§

fn clone(&self) -> StoreOp

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for StoreOp

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for StoreOp

§

fn default() -> StoreOp

Returns the “default value” for a type. Read more
§

impl<'de> Deserialize<'de> for StoreOp

§

fn deserialize<__D>( __deserializer: __D ) -> Result<StoreOp, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for StoreOp

source§

fn hash<__H>(&self, state: &mut __H)
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Hash for StoreOp

§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for StoreOp

source§

fn eq(&self, other: &StoreOp) -> bool

This method tests for self and other values to be equal, and is used + Self: Sized,
Feeds a slice of this type into the given Hasher. Read more
§

impl PartialEq for StoreOp

§

fn eq(&self, other: &StoreOp) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for StoreOp

source§

fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

§

impl Serialize for StoreOp

§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for StoreOp

source§

impl Eq for StoreOp

source§

impl StructuralEq for StoreOp

source§

impl StructuralPartialEq for StoreOp

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl Copy for StoreOp

§

impl Eq for StoreOp

§

impl StructuralEq for StoreOp

§

impl StructuralPartialEq for StoreOp

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

§

impl<Q, K> Equivalent<K> for Q
where @@ -39,7 +39,7 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.SurfaceError.html b/doc/wgpu/enum.SurfaceError.html index ae20b8a2164f..f388c5f47994 100644 --- a/doc/wgpu/enum.SurfaceError.html +++ b/doc/wgpu/enum.SurfaceError.html @@ -29,7 +29,7 @@ T: Clone,
§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.SurfaceStatus.html b/doc/wgpu/enum.SurfaceStatus.html index 3380c4fb4b6c..20bccbe689ac 100644 --- a/doc/wgpu/enum.SurfaceStatus.html +++ b/doc/wgpu/enum.SurfaceStatus.html @@ -1,5 +1,5 @@ SurfaceStatus in wgpu - Rust -

Enum wgpu::SurfaceStatus

source ·
#[repr(C)]
pub enum SurfaceStatus { +

Enum wgpu::SurfaceStatus

#[repr(C)]
pub enum SurfaceStatus { Good = 0, Suboptimal = 1, Timeout = 2, @@ -14,7 +14,7 @@
§

Outdated = 3

The surface under the swap chain has changed.

§

Lost = 4

The surface under the swap chain is lost.

§

Unknown = 5

The surface status is not known since get_current_texture previously failed.

-

Trait Implementations§

source§

impl Debug for SurfaceStatus

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +

Trait Implementations§

§

impl Debug for SurfaceStatus

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

@@ -24,7 +24,7 @@ From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.SurfaceTarget.html b/doc/wgpu/enum.SurfaceTarget.html index 8c34233ea876..8a7bd5be31b1 100644 --- a/doc/wgpu/enum.SurfaceTarget.html +++ b/doc/wgpu/enum.SurfaceTarget.html @@ -31,7 +31,7 @@

Panics

From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.TextureAspect.html b/doc/wgpu/enum.TextureAspect.html index aa80ef3c9865..f43dcb847f05 100644 --- a/doc/wgpu/enum.TextureAspect.html +++ b/doc/wgpu/enum.TextureAspect.html @@ -1,5 +1,5 @@ TextureAspect in wgpu - Rust -

Enum wgpu::TextureAspect

source ·
#[repr(C)]
pub enum TextureAspect { +

Enum wgpu::TextureAspect

#[repr(C)]
pub enum TextureAspect { All = 0, StencilOnly = 1, DepthOnly = 2, @@ -14,20 +14,20 @@
§

Plane0 = 3

Plane 0.

§

Plane1 = 4

Plane 1.

§

Plane2 = 5

Plane 2.

-

Implementations§

source§

impl TextureAspect

source

pub fn from_plane(plane: u32) -> Option<TextureAspect>

Returns the texture aspect for a given plane.

-

Trait Implementations§

source§

impl Clone for TextureAspect

source§

fn clone(&self) -> TextureAspect

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TextureAspect

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for TextureAspect

source§

fn default() -> TextureAspect

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for TextureAspect

Implementations§

§

impl TextureAspect

pub fn from_plane(plane: u32) -> Option<TextureAspect>

Returns the texture aspect for a given plane.

+

Trait Implementations§

§

impl Clone for TextureAspect

§

fn clone(&self) -> TextureAspect

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for TextureAspect

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for TextureAspect

§

fn default() -> TextureAspect

Returns the “default value” for a type. Read more
§

impl<'de> Deserialize<'de> for TextureAspect

§

fn deserialize<__D>( __deserializer: __D ) -> Result<TextureAspect, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for TextureAspect

source§

fn hash<__H>(&self, state: &mut __H)
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Hash for TextureAspect

§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for TextureAspect

source§

fn eq(&self, other: &TextureAspect) -> bool

This method tests for self and other values to be equal, and is used + Self: Sized,
Feeds a slice of this type into the given Hasher. Read more
§

impl PartialEq for TextureAspect

§

fn eq(&self, other: &TextureAspect) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for TextureAspect

source§

fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

§

impl Serialize for TextureAspect

§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for TextureAspect

source§

impl Eq for TextureAspect

source§

impl StructuralEq for TextureAspect

source§

impl StructuralPartialEq for TextureAspect

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl Copy for TextureAspect

§

impl Eq for TextureAspect

§

impl StructuralEq for TextureAspect

§

impl StructuralPartialEq for TextureAspect

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

§

impl<Q, K> Equivalent<K> for Q
where @@ -43,7 +43,7 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.TextureDimension.html b/doc/wgpu/enum.TextureDimension.html index 4c4484d61528..28149dd94c6f 100644 --- a/doc/wgpu/enum.TextureDimension.html +++ b/doc/wgpu/enum.TextureDimension.html @@ -1,5 +1,5 @@ TextureDimension in wgpu - Rust -
#[repr(C)]
pub enum TextureDimension { +
#[repr(C)]
pub enum TextureDimension { D1 = 0, D2 = 1, D3 = 2, @@ -8,19 +8,19 @@

Variants§

§

D1 = 0

1D texture

§

D2 = 1

2D texture

§

D3 = 2

3D texture

-

Trait Implementations§

source§

impl Clone for TextureDimension

source§

fn clone(&self) -> TextureDimension

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TextureDimension

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for TextureDimension

Trait Implementations§

§

impl Clone for TextureDimension

§

fn clone(&self) -> TextureDimension

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for TextureDimension

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for TextureDimension

§

fn deserialize<__D>( __deserializer: __D ) -> Result<TextureDimension, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for TextureDimension

source§

fn hash<__H>(&self, state: &mut __H)
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Hash for TextureDimension

§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for TextureDimension

source§

fn eq(&self, other: &TextureDimension) -> bool

This method tests for self and other values to be equal, and is used + Self: Sized,
Feeds a slice of this type into the given Hasher. Read more
§

impl PartialEq for TextureDimension

§

fn eq(&self, other: &TextureDimension) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for TextureDimension

source§

fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

§

impl Serialize for TextureDimension

§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for TextureDimension

source§

impl Eq for TextureDimension

source§

impl StructuralEq for TextureDimension

source§

impl StructuralPartialEq for TextureDimension

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl Copy for TextureDimension

§

impl Eq for TextureDimension

§

impl StructuralEq for TextureDimension

§

impl StructuralPartialEq for TextureDimension

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

§

impl<Q, K> Equivalent<K> for Q
where @@ -36,7 +36,7 @@ T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

source§

impl<T> WasmNotSend for T
where - T: Send,

source§

impl<T> WasmNotSendSync for T
where - T: WasmNotSend + WasmNotSync,

source§

impl<T> WasmNotSync for T
where + T: for<'de> Deserialize<'de>,

§

impl<T> WasmNotSend for T
where + T: Send,

§

impl<T> WasmNotSendSync for T
where + T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,

\ No newline at end of file diff --git a/doc/wgpu/enum.TextureFormat.html b/doc/wgpu/enum.TextureFormat.html index dfdf6b9e7ad2..464c946ee341 100644 --- a/doc/wgpu/enum.TextureFormat.html +++ b/doc/wgpu/enum.TextureFormat.html @@ -1,5 +1,5 @@ TextureFormat in wgpu - Rust -

Enum wgpu::TextureFormat

source ·
#[repr(C)]
pub enum TextureFormat { +

Enum wgpu::TextureFormat

#[repr(C)]
pub enum TextureFormat {
Show 75 variants R8Unorm, R8Snorm, R8Uint, @@ -251,41 +251,41 @@

block compressed texture. 16 bytes per block.

Features TEXTURE_COMPRESSION_ASTC or TEXTURE_COMPRESSION_ASTC_HDR must be enabled to use this texture format.

-

Implementations§

Implementations§

§

impl TextureFormat

pub fn aspect_specific_format( &self, aspect: TextureAspect ) -> Option<TextureFormat>

Returns the aspect-specific format of the original format

see https://gpuweb.github.io/gpuweb/#abstract-opdef-resolving-gputextureaspect

-
source

pub fn is_depth_stencil_component(&self, combined_format: TextureFormat) -> bool

Returns true if self is a depth or stencil component of the given +

pub fn is_depth_stencil_component(&self, combined_format: TextureFormat) -> bool

Returns true if self is a depth or stencil component of the given combined depth-stencil format

-
source

pub fn is_depth_stencil_format(&self) -> bool

Returns true if the format is a depth and/or stencil format

+

pub fn is_depth_stencil_format(&self) -> bool

Returns true if the format is a depth and/or stencil format

see https://gpuweb.github.io/gpuweb/#depth-formats

-
source

pub fn is_combined_depth_stencil_format(&self) -> bool

Returns true if the format is a combined depth-stencil format

+

pub fn is_combined_depth_stencil_format(&self) -> bool

Returns true if the format is a combined depth-stencil format

see https://gpuweb.github.io/gpuweb/#combined-depth-stencil-format

-
source

pub fn is_multi_planar_format(&self) -> bool

Returns true if the format is a multi-planar format

-
source

pub fn planes(&self) -> Option<u32>

Returns the number of planes a multi-planar format has.

-
source

pub fn has_color_aspect(&self) -> bool

Returns true if the format has a color aspect

-
source

pub fn has_depth_aspect(&self) -> bool

Returns true if the format has a depth aspect

-
source

pub fn has_stencil_aspect(&self) -> bool

Returns true if the format has a stencil aspect

-
source

pub fn size_multiple_requirement(&self) -> (u32, u32)

Returns the size multiple requirement for a texture using this format.

-
source

pub fn block_dimensions(&self) -> (u32, u32)

Returns the dimension of a block of texels.

+

pub fn is_multi_planar_format(&self) -> bool

Returns true if the format is a multi-planar format

+

pub fn planes(&self) -> Option<u32>

Returns the number of planes a multi-planar format has.

+

pub fn has_color_aspect(&self) -> bool

Returns true if the format has a color aspect

+

pub fn has_depth_aspect(&self) -> bool

Returns true if the format has a depth aspect

+

pub fn has_stencil_aspect(&self) -> bool

Returns true if the format has a stencil aspect

+

pub fn size_multiple_requirement(&self) -> (u32, u32)

Returns the size multiple requirement for a texture using this format.

+

pub fn block_dimensions(&self) -> (u32, u32)

Returns the dimension of a block of texels.

Uncompressed formats have a block dimension of (1, 1).

-
source

pub fn is_compressed(&self) -> bool

Returns true for compressed formats.

-
source

pub fn is_bcn(&self) -> bool

Returns true for BCn compressed formats.

-
source

pub fn required_features(&self) -> Features

Returns the required features (if any) in order to use the texture.

-
source

pub fn guaranteed_format_features( +

pub fn is_compressed(&self) -> bool

Returns true for compressed formats.

+

pub fn is_bcn(&self) -> bool

Returns true for BCn compressed formats.

+

pub fn required_features(&self) -> Features

Returns the required features (if any) in order to use the texture.

+

pub fn guaranteed_format_features( &self, device_features: Features ) -> TextureFormatFeatures

Returns the format features guaranteed by the WebGPU spec.

Additional features are available if Features::TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES is enabled.

-
source

pub fn sample_type( +

pub fn sample_type( &self, aspect: Option<TextureAspect>, device_features: Option<Features> ) -> Option<TextureSampleType>

Returns the sample type compatible with this format and aspect.

Returns None only if this is a combined depth-stencil format or a multi-planar format and TextureAspect::All or no aspect was provided.

-
source

pub fn block_size(&self, aspect: Option<TextureAspect>) -> Option<u32>

👎Deprecated since 0.19.0: Use block_copy_size instead.

The number of bytes one texel block occupies during an image copy, if applicable.

+

pub fn block_size(&self, aspect: Option<TextureAspect>) -> Option<u32>

👎Deprecated since 0.19.0: Use block_copy_size instead.

The number of bytes one texel block occupies during an image copy, if applicable.

Known as the texel block copy footprint.

Note that for uncompressed formats this is the same as the size of a single texel, since uncompressed formats have a block size of 1x1.

@@ -296,7 +296,7 @@
  • the format is Depth24Plus
  • the format is Depth24PlusStencil8 and aspect is depth.
  • -
    source

    pub fn block_copy_size(&self, aspect: Option<TextureAspect>) -> Option<u32>

    The number of bytes one texel block occupies during an image copy, if applicable.

    +

    pub fn block_copy_size(&self, aspect: Option<TextureAspect>) -> Option<u32>

    The number of bytes one texel block occupies during an image copy, if applicable.

    Known as the texel block copy footprint.

    Note that for uncompressed formats this is the same as the size of a single texel, since uncompressed formats have a block size of 1x1.

    @@ -307,28 +307,28 @@
  • the format is Depth24Plus
  • the format is Depth24PlusStencil8 and aspect is depth.
  • -
    source

    pub fn target_pixel_byte_cost(&self) -> Option<u32>

    The number of bytes occupied per pixel in a color attachment +

    pub fn target_pixel_byte_cost(&self) -> Option<u32>

    The number of bytes occupied per pixel in a color attachment https://gpuweb.github.io/gpuweb/#render-target-pixel-byte-cost

    -
    source

    pub fn target_component_alignment(&self) -> Option<u32>

    source

    pub fn components(&self) -> u8

    Returns the number of components this format has.

    -
    source

    pub fn components_with_aspect(&self, aspect: TextureAspect) -> u8

    Returns the number of components this format has taking into account the aspect.

    +

    pub fn target_component_alignment(&self) -> Option<u32>

    pub fn components(&self) -> u8

    Returns the number of components this format has.

    +

    pub fn components_with_aspect(&self, aspect: TextureAspect) -> u8

    Returns the number of components this format has taking into account the aspect.

    The aspect is only relevant for combined depth-stencil formats and multi-planar formats.

    -
    source

    pub fn remove_srgb_suffix(&self) -> TextureFormat

    Strips the Srgb suffix from the given texture format.

    -
    source

    pub fn add_srgb_suffix(&self) -> TextureFormat

    Adds an Srgb suffix to the given texture format, if the format supports it.

    -
    source

    pub fn is_srgb(&self) -> bool

    Returns true for srgb formats.

    -

    Trait Implementations§

    source§

    impl Clone for TextureFormat

    source§

    fn clone(&self) -> TextureFormat

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TextureFormat

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for TextureFormat

    Available on crate feature serde only.

    pub fn remove_srgb_suffix(&self) -> TextureFormat

    Strips the Srgb suffix from the given texture format.

    +

    pub fn add_srgb_suffix(&self) -> TextureFormat

    Adds an Srgb suffix to the given texture format, if the format supports it.

    +

    pub fn is_srgb(&self) -> bool

    Returns true for srgb formats.

    +

    Trait Implementations§

    §

    impl Clone for TextureFormat

    §

    fn clone(&self) -> TextureFormat

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for TextureFormat

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for TextureFormat

    Available on crate feature serde only.
    §

    fn deserialize<D>( deserializer: D ) -> Result<TextureFormat, <D as Deserializer<'de>>::Error>
    where - D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl From<TextureFormat> for ColorTargetState

    source§

    fn from(format: TextureFormat) -> ColorTargetState

    Converts to this type from the input type.
    source§

    impl Hash for TextureFormat

    source§

    fn hash<__H>(&self, state: &mut __H)
    where + D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl From<TextureFormat> for ColorTargetState

    §

    fn from(format: TextureFormat) -> ColorTargetState

    Converts to this type from the input type.
    §

    impl Hash for TextureFormat

    §

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for TextureFormat

    source§

    fn eq(&self, other: &TextureFormat) -> bool

    This method tests for self and other values to be equal, and is used + Self: Sized,
    Feeds a slice of this type into the given Hasher. Read more
    §

    impl PartialEq for TextureFormat

    §

    fn eq(&self, other: &TextureFormat) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for TextureFormat

    Available on crate feature serde only.
    source§

    fn serialize<S>( +sufficient, and should not be overridden without very good reason.

    §

    impl Serialize for TextureFormat

    Available on crate feature serde only.
    §

    fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
    where - S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for TextureFormat

    source§

    impl Eq for TextureFormat

    source§

    impl StructuralEq for TextureFormat

    source§

    impl StructuralPartialEq for TextureFormat

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Copy for TextureFormat

    §

    impl Eq for TextureFormat

    §

    impl StructuralEq for TextureFormat

    §

    impl StructuralPartialEq for TextureFormat

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    §

    impl<Q, K> Equivalent<K> for Q
    where @@ -344,7 +344,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/enum.TextureSampleType.html b/doc/wgpu/enum.TextureSampleType.html index 7a3481cd06c1..e4c4be232e02 100644 --- a/doc/wgpu/enum.TextureSampleType.html +++ b/doc/wgpu/enum.TextureSampleType.html @@ -1,5 +1,5 @@ TextureSampleType in wgpu - Rust -
    pub enum TextureSampleType {
    +    
    pub enum TextureSampleType {
         Float {
             filterable: bool,
         },
    @@ -45,19 +45,19 @@
     

    Example GLSL syntax:

    layout(binding = 0)
     uniform utexture2D t;
    -

    Trait Implementations§

    source§

    impl Clone for TextureSampleType

    source§

    fn clone(&self) -> TextureSampleType

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TextureSampleType

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for TextureSampleType

    source§

    fn default() -> TextureSampleType

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for TextureSampleType

    Trait Implementations§

    §

    impl Clone for TextureSampleType

    §

    fn clone(&self) -> TextureSampleType

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for TextureSampleType

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for TextureSampleType

    §

    fn default() -> TextureSampleType

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for TextureSampleType

    §

    fn deserialize<__D>( __deserializer: __D ) -> Result<TextureSampleType, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Hash for TextureSampleType

    source§

    fn hash<__H>(&self, state: &mut __H)
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Hash for TextureSampleType

    §

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for TextureSampleType

    source§

    fn eq(&self, other: &TextureSampleType) -> bool

    This method tests for self and other values to be equal, and is used + Self: Sized,
    Feeds a slice of this type into the given Hasher. Read more
    §

    impl PartialEq for TextureSampleType

    §

    fn eq(&self, other: &TextureSampleType) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for TextureSampleType

    source§

    fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

    §

    impl Serialize for TextureSampleType

    §

    fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for TextureSampleType

    source§

    impl Eq for TextureSampleType

    source§

    impl StructuralEq for TextureSampleType

    source§

    impl StructuralPartialEq for TextureSampleType

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Copy for TextureSampleType

    §

    impl Eq for TextureSampleType

    §

    impl StructuralEq for TextureSampleType

    §

    impl StructuralPartialEq for TextureSampleType

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    §

    impl<Q, K> Equivalent<K> for Q
    where @@ -73,7 +73,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/enum.TextureViewDimension.html b/doc/wgpu/enum.TextureViewDimension.html index 633e8dbe5e1d..9a92ac4c55d1 100644 --- a/doc/wgpu/enum.TextureViewDimension.html +++ b/doc/wgpu/enum.TextureViewDimension.html @@ -1,5 +1,5 @@ TextureViewDimension in wgpu - Rust -
    #[repr(C)]
    pub enum TextureViewDimension { +
    #[repr(C)]
    pub enum TextureViewDimension { D1 = 0, D2 = 1, D2Array = 2, @@ -14,20 +14,20 @@
    §

    Cube = 3

    A cubemap texture. texture_cube in WGSL and textureCube in GLSL.

    §

    CubeArray = 4

    A cubemap array texture. texture_cube_array in WGSL and textureCubeArray in GLSL.

    §

    D3 = 5

    A three dimensional texture. texture_3d in WGSL and texture3D in GLSL.

    -

    Implementations§

    source§

    impl TextureViewDimension

    source

    pub fn compatible_texture_dimension(self) -> TextureDimension

    Get the texture dimension required of this texture view dimension.

    -

    Trait Implementations§

    source§

    impl Clone for TextureViewDimension

    source§

    fn clone(&self) -> TextureViewDimension

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TextureViewDimension

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for TextureViewDimension

    source§

    fn default() -> TextureViewDimension

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for TextureViewDimension

    Implementations§

    §

    impl TextureViewDimension

    pub fn compatible_texture_dimension(self) -> TextureDimension

    Get the texture dimension required of this texture view dimension.

    +

    Trait Implementations§

    §

    impl Clone for TextureViewDimension

    §

    fn clone(&self) -> TextureViewDimension

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for TextureViewDimension

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for TextureViewDimension

    §

    fn default() -> TextureViewDimension

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for TextureViewDimension

    §

    fn deserialize<__D>( __deserializer: __D ) -> Result<TextureViewDimension, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Hash for TextureViewDimension

    source§

    fn hash<__H>(&self, state: &mut __H)
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Hash for TextureViewDimension

    §

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for TextureViewDimension

    source§

    fn eq(&self, other: &TextureViewDimension) -> bool

    This method tests for self and other values to be equal, and is used + Self: Sized,
    Feeds a slice of this type into the given Hasher. Read more
    §

    impl PartialEq for TextureViewDimension

    §

    fn eq(&self, other: &TextureViewDimension) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for TextureViewDimension

    source§

    fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

    §

    impl Serialize for TextureViewDimension

    §

    fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for TextureViewDimension

    source§

    impl Eq for TextureViewDimension

    source§

    impl StructuralEq for TextureViewDimension

    source§

    impl StructuralPartialEq for TextureViewDimension

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Copy for TextureViewDimension

    §

    impl Eq for TextureViewDimension

    §

    impl StructuralEq for TextureViewDimension

    §

    impl StructuralPartialEq for TextureViewDimension

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    §

    impl<Q, K> Equivalent<K> for Q
    where @@ -43,7 +43,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/enum.VertexFormat.html b/doc/wgpu/enum.VertexFormat.html index da0ddf4cbacb..8a31ffa9da69 100644 --- a/doc/wgpu/enum.VertexFormat.html +++ b/doc/wgpu/enum.VertexFormat.html @@ -1,5 +1,5 @@ VertexFormat in wgpu - Rust -

    Enum wgpu::VertexFormat

    source ·
    #[repr(C)]
    pub enum VertexFormat { +

    Enum wgpu::VertexFormat

    #[repr(C)]
    pub enum VertexFormat {
    Show 45 variants Uint8 = 0, Uint8x2 = 1, Uint8x4 = 2, @@ -92,20 +92,20 @@
    §

    Float64x4 = 42

    Four double-precision floats (f64). vec4<f32> in shaders. Requires Features::VERTEX_ATTRIBUTE_64BIT.

    §

    Unorm10_10_10_2 = 43

    Three unsigned 10-bit integers and one 2-bit integer, packed into a 32-bit integer (u32). [0, 1024] converted to float [0, 1] vec4<f32> in shaders.

    §

    Unorm8x4Bgra = 44

    Four unsigned 8-bit integers, packed into a 32-bit integer (u32). [0, 255] converted to float [0, 1] vec4<f32> in shaders.

    -

    Implementations§

    source§

    impl VertexFormat

    source

    pub const fn size(&self) -> u64

    Returns the byte size of the format.

    -

    Trait Implementations§

    source§

    impl Clone for VertexFormat

    source§

    fn clone(&self) -> VertexFormat

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for VertexFormat

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for VertexFormat

    Implementations§

    §

    impl VertexFormat

    pub const fn size(&self) -> u64

    Returns the byte size of the format.

    +

    Trait Implementations§

    §

    impl Clone for VertexFormat

    §

    fn clone(&self) -> VertexFormat

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for VertexFormat

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for VertexFormat

    §

    fn deserialize<__D>( __deserializer: __D ) -> Result<VertexFormat, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Hash for VertexFormat

    source§

    fn hash<__H>(&self, state: &mut __H)
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Hash for VertexFormat

    §

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for VertexFormat

    source§

    fn eq(&self, other: &VertexFormat) -> bool

    This method tests for self and other values to be equal, and is used + Self: Sized,
    Feeds a slice of this type into the given Hasher. Read more
    §

    impl PartialEq for VertexFormat

    §

    fn eq(&self, other: &VertexFormat) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for VertexFormat

    source§

    fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

    §

    impl Serialize for VertexFormat

    §

    fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for VertexFormat

    source§

    impl Eq for VertexFormat

    source§

    impl StructuralEq for VertexFormat

    source§

    impl StructuralPartialEq for VertexFormat

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Copy for VertexFormat

    §

    impl Eq for VertexFormat

    §

    impl StructuralEq for VertexFormat

    §

    impl StructuralPartialEq for VertexFormat

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    §

    impl<Q, K> Equivalent<K> for Q
    where @@ -121,7 +121,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/enum.VertexStepMode.html b/doc/wgpu/enum.VertexStepMode.html index de543fb5e678..6b4416414402 100644 --- a/doc/wgpu/enum.VertexStepMode.html +++ b/doc/wgpu/enum.VertexStepMode.html @@ -1,5 +1,5 @@ VertexStepMode in wgpu - Rust -

    Enum wgpu::VertexStepMode

    source ·
    #[repr(C)]
    pub enum VertexStepMode { +

    Enum wgpu::VertexStepMode

    #[repr(C)]
    pub enum VertexStepMode { Vertex = 0, Instance = 1, }
    Expand description

    Whether a vertex buffer is indexed by vertex or by instance.

    @@ -40,19 +40,19 @@

    Corresponds to WebGPU GPUVertexStepMode.

    Variants§

    §

    Vertex = 0

    Vertex data is advanced every vertex.

    §

    Instance = 1

    Vertex data is advanced every instance.

    -

    Trait Implementations§

    source§

    impl Clone for VertexStepMode

    source§

    fn clone(&self) -> VertexStepMode

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for VertexStepMode

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for VertexStepMode

    source§

    fn default() -> VertexStepMode

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for VertexStepMode

    Trait Implementations§

    §

    impl Clone for VertexStepMode

    §

    fn clone(&self) -> VertexStepMode

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for VertexStepMode

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for VertexStepMode

    §

    fn default() -> VertexStepMode

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for VertexStepMode

    §

    fn deserialize<__D>( __deserializer: __D ) -> Result<VertexStepMode, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Hash for VertexStepMode

    source§

    fn hash<__H>(&self, state: &mut __H)
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Hash for VertexStepMode

    §

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for VertexStepMode

    source§

    fn eq(&self, other: &VertexStepMode) -> bool

    This method tests for self and other values to be equal, and is used + Self: Sized,
    Feeds a slice of this type into the given Hasher. Read more
    §

    impl PartialEq for VertexStepMode

    §

    fn eq(&self, other: &VertexStepMode) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for VertexStepMode

    source§

    fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

    §

    impl Serialize for VertexStepMode

    §

    fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for VertexStepMode

    source§

    impl Eq for VertexStepMode

    source§

    impl StructuralEq for VertexStepMode

    source§

    impl StructuralPartialEq for VertexStepMode

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Copy for VertexStepMode

    §

    impl Eq for VertexStepMode

    §

    impl StructuralEq for VertexStepMode

    §

    impl StructuralPartialEq for VertexStepMode

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    §

    impl<Q, K> Equivalent<K> for Q
    where @@ -68,7 +68,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/index.html b/doc/wgpu/index.html index 09070559e0c3..3ceeee1f5cde 100644 --- a/doc/wgpu/index.html +++ b/doc/wgpu/index.html @@ -93,4 +93,4 @@

    Feature Aliases

    Result of a successful call to Surface::get_current_texture.
  • View of a buffer which can be used to copy to/from a texture.
  • Layout of a texture in a buffer’s memory.
  • View of a texture which can be used to copy to/from a buffer/texture.
  • Handle to a texture on the GPU.
  • Feature flags for a texture format.
  • Features supported by a given texture format
  • Different ways that you can use a texture.
  • Handle to a texture view.
  • Top Level Acceleration Structure (TLAS).
  • Entry for a top level acceleration structure build. Used with raw instance buffers for an unvalidated builds. See TlasPackage for the safe version.
  • Safe instance for a Tlas.
  • The safe version of TlasEntry, containing TlasInstances instead of a raw buffer.
  • Vertex inputs (attributes) to shaders.
  • Describes how the vertex buffer is interpreted.
  • Describes the vertex processing in a render pipeline.
  • Enums

    Constants

    Traits

    Type Aliases

    \ No newline at end of file +compositing.
  • Context version of BlasGeometries.
  • Reason for “lose the device”.
  • Supported physical device types.
  • Selects which DX12 shader compiler to use.
  • Error type
  • Filter for error scopes.
  • Face of a vertex.
  • Texel mixing mode when sampling between texels.
  • Vertex winding order which classifies the “front” face of a triangle.
  • Selects which OpenGL ES 3 minor version to request.
  • Format of indices used with pipeline.
  • Operation to perform to the output attachment at the start of a render pass.
  • Passed to Device::poll to control how and if it should block.
  • Result of a maintain operation.
  • Type of buffer mapping.
  • Hints to the device about the memory allocation strategy.
  • Type of drawing mode for polygons
  • Power Preference when choosing a physical adapter.
  • Color spaces supported on the web.
  • Behavior of the presentation engine based on frame rate.
  • Primitive type the input mesh is composed of.
  • Type of query contained in a QuerySet.
  • Specific type of a sampler binding.
  • Color variation to use when sampler addressing mode is AddressMode::ClampToBorder
  • Collections of shader features a device supports if they support less than WebGPU normally allows.
  • Source of a shader module.
  • Operation to perform on the stencil value.
  • Specific type of a sample in a texture binding.
  • Operation to perform to the output attachment at the end of a render pass.
  • Result of an unsuccessful call to Surface::get_current_texture.
  • Status of the received surface image.
  • The window/canvas/surface/swap-chain/etc. a surface is attached to, for use with safe surface creation.
  • The window/canvas/surface/swap-chain/etc. a surface is attached to, for use with unsafe surface creation.
  • Kind of data the texture holds.
  • Dimensionality of a texture.
  • Underlying texture data format.
  • Specific type of a sample in a texture binding.
  • Dimensions of a particular texture view.
  • Vertex Format for a VertexAttribute (input).
  • Whether a vertex buffer is indexed by vertex or by instance.
  • Constants

    Traits

    Type Aliases

    \ No newline at end of file diff --git a/doc/wgpu/struct.Adapter.html b/doc/wgpu/struct.Adapter.html index 824679f2271e..f50375f0dd01 100644 --- a/doc/wgpu/struct.Adapter.html +++ b/doc/wgpu/struct.Adapter.html @@ -108,7 +108,7 @@
    Safety
    From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.AdapterInfo.html b/doc/wgpu/struct.AdapterInfo.html index 1bcb14fd571b..4b31d3b1711f 100644 --- a/doc/wgpu/struct.AdapterInfo.html +++ b/doc/wgpu/struct.AdapterInfo.html @@ -1,5 +1,5 @@ AdapterInfo in wgpu - Rust -

    Struct wgpu::AdapterInfo

    source ·
    pub struct AdapterInfo {
    +    

    Struct wgpu::AdapterInfo

    pub struct AdapterInfo {
         pub name: String,
         pub vendor: u32,
         pub device: u32,
    @@ -29,16 +29,16 @@
     
    §driver: String

    Driver name

    §driver_info: String

    Driver info

    §backend: Backend

    Backend used for device

    -

    Trait Implementations§

    source§

    impl Clone for AdapterInfo

    source§

    fn clone(&self) -> AdapterInfo

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for AdapterInfo

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for AdapterInfo

    Trait Implementations§

    §

    impl Clone for AdapterInfo

    §

    fn clone(&self) -> AdapterInfo

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for AdapterInfo

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for AdapterInfo

    §

    fn deserialize<__D>( __deserializer: __D ) -> Result<AdapterInfo, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl PartialEq for AdapterInfo

    source§

    fn eq(&self, other: &AdapterInfo) -> bool

    This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq for AdapterInfo

    §

    fn eq(&self, other: &AdapterInfo) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for AdapterInfo

    source§

    fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

    §

    impl Serialize for AdapterInfo

    §

    fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Eq for AdapterInfo

    source§

    impl StructuralEq for AdapterInfo

    source§

    impl StructuralPartialEq for AdapterInfo

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Eq for AdapterInfo

    §

    impl StructuralEq for AdapterInfo

    §

    impl StructuralPartialEq for AdapterInfo

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    §

    impl<Q, K> Equivalent<K> for Q
    where @@ -54,7 +54,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.Backends.html b/doc/wgpu/struct.Backends.html index 592a48581fed..fdf0b602fb7a 100644 --- a/doc/wgpu/struct.Backends.html +++ b/doc/wgpu/struct.Backends.html @@ -1,97 +1,97 @@ Backends in wgpu - Rust -

    Struct wgpu::Backends

    source ·
    pub struct Backends(/* private fields */);
    Expand description

    Represents the backends that wgpu will use.

    -

    Implementations§

    source§

    impl Backends

    source

    pub const VULKAN: Backends = _

    Supported on Windows, Linux/Android, and macOS/iOS via Vulkan Portability (with the Vulkan feature enabled)

    -
    source

    pub const GL: Backends = _

    Supported on Linux/Android, the web through webassembly via WebGL, and Windows and +

    Struct wgpu::Backends

    pub struct Backends(/* private fields */);
    Expand description

    Represents the backends that wgpu will use.

    +

    Implementations§

    §

    impl Backends

    pub const VULKAN: Backends = _

    Supported on Windows, Linux/Android, and macOS/iOS via Vulkan Portability (with the Vulkan feature enabled)

    +

    pub const GL: Backends = _

    Supported on Linux/Android, the web through webassembly via WebGL, and Windows and macOS/iOS via ANGLE

    -
    source

    pub const METAL: Backends = _

    Supported on macOS/iOS

    -
    source

    pub const DX12: Backends = _

    Supported on Windows 10 and later

    -
    source

    pub const BROWSER_WEBGPU: Backends = _

    Supported when targeting the web through webassembly with the webgpu feature enabled.

    +

    pub const METAL: Backends = _

    Supported on macOS/iOS

    +

    pub const DX12: Backends = _

    Supported on Windows 10 and later

    +

    pub const BROWSER_WEBGPU: Backends = _

    Supported when targeting the web through webassembly with the webgpu feature enabled.

    The WebGPU backend is special in several ways: It is not not implemented by wgpu_core and instead by the higher level wgpu crate. Whether WebGPU is targeted is decided upon the creation of the wgpu::Instance, not upon adapter creation. See wgpu::Instance::new.

    -
    source

    pub const PRIMARY: Backends = _

    All the apis that wgpu offers first tier of support for.

    +

    pub const PRIMARY: Backends = _

    All the apis that wgpu offers first tier of support for.

    -
    source

    pub const SECONDARY: Backends = _

    All the apis that wgpu offers second tier of support for. These may +

    pub const SECONDARY: Backends = _

    All the apis that wgpu offers second tier of support for. These may be unsupported/still experimental.

    -
    source§

    impl Backends

    source

    pub const fn empty() -> Backends

    Get a flags value with all bits unset.

    -
    source

    pub const fn all() -> Backends

    Get a flags value with all known bits set.

    -
    source

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    +
    §

    impl Backends

    pub const fn empty() -> Backends

    Get a flags value with all bits unset.

    +

    pub const fn all() -> Backends

    Get a flags value with all known bits set.

    +

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    The returned value is exactly the bits set in this flags value.

    -
    source

    pub const fn from_bits(bits: u32) -> Option<Backends>

    Convert from a bits value.

    +

    pub const fn from_bits(bits: u32) -> Option<Backends>

    Convert from a bits value.

    This method will return None if any unknown bits are set.

    -
    source

    pub const fn from_bits_truncate(bits: u32) -> Backends

    Convert from a bits value, unsetting any unknown bits.

    -
    source

    pub const fn from_bits_retain(bits: u32) -> Backends

    Convert from a bits value exactly.

    -
    source

    pub fn from_name(name: &str) -> Option<Backends>

    Get a flags value with the bits of a flag with the given name set.

    +

    pub const fn from_bits_truncate(bits: u32) -> Backends

    Convert from a bits value, unsetting any unknown bits.

    +

    pub const fn from_bits_retain(bits: u32) -> Backends

    Convert from a bits value exactly.

    +

    pub fn from_name(name: &str) -> Option<Backends>

    Get a flags value with the bits of a flag with the given name set.

    This method will return None if name is empty or doesn’t correspond to any named flag.

    -
    source

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    -
    source

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    -
    source

    pub const fn intersects(&self, other: Backends) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    -
    source

    pub const fn contains(&self, other: Backends) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    -
    source

    pub fn insert(&mut self, other: Backends)

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub fn remove(&mut self, other: Backends)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    +

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    +

    pub const fn intersects(&self, other: Backends) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    +

    pub const fn contains(&self, other: Backends) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    +

    pub fn insert(&mut self, other: Backends)

    The bitwise or (|) of the bits in two flags values.

    +

    pub fn remove(&mut self, other: Backends)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. remove won’t truncate other, but the ! operator will.

    -
    source

    pub fn toggle(&mut self, other: Backends)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub fn set(&mut self, other: Backends, value: bool)

    Call insert when value is true or remove when value is false.

    -
    source

    pub const fn intersection(self, other: Backends) -> Backends

    The bitwise and (&) of the bits in two flags values.

    -
    source

    pub const fn union(self, other: Backends) -> Backends

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub const fn difference(self, other: Backends) -> Backends

    The intersection of a source flags value with the complement of a target flags value (&!).

    +

    pub fn toggle(&mut self, other: Backends)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +

    pub fn set(&mut self, other: Backends, value: bool)

    Call insert when value is true or remove when value is false.

    +

    pub const fn intersection(self, other: Backends) -> Backends

    The bitwise and (&) of the bits in two flags values.

    +

    pub const fn union(self, other: Backends) -> Backends

    The bitwise or (|) of the bits in two flags values.

    +

    pub const fn difference(self, other: Backends) -> Backends

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source

    pub const fn symmetric_difference(self, other: Backends) -> Backends

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub const fn complement(self) -> Backends

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    source§

    impl Backends

    source

    pub const fn iter(&self) -> Iter<Backends>

    Yield a set of contained flags values.

    +

    pub const fn symmetric_difference(self, other: Backends) -> Backends

    The bitwise exclusive-or (^) of the bits in two flags values.

    +

    pub const fn complement(self) -> Backends

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    §

    impl Backends

    pub const fn iter(&self) -> Iter<Backends>

    Yield a set of contained flags values.

    Each yielded flags value will correspond to a defined named flag. Any unknown bits will be yielded together as a final flags value.

    -
    source

    pub const fn iter_names(&self) -> IterNames<Backends>

    Yield a set of contained named flags values.

    +

    pub const fn iter_names(&self) -> IterNames<Backends>

    Yield a set of contained named flags values.

    This method is like iter, except only yields bits in contained named flags. Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

    -

    Trait Implementations§

    source§

    impl Binary for Backends

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    source§

    impl BitAnd for Backends

    source§

    fn bitand(self, other: Backends) -> Backends

    The bitwise and (&) of the bits in two flags values.

    -
    §

    type Output = Backends

    The resulting type after applying the & operator.
    source§

    impl BitAndAssign for Backends

    source§

    fn bitand_assign(&mut self, other: Backends)

    The bitwise and (&) of the bits in two flags values.

    -
    source§

    impl BitOr for Backends

    source§

    fn bitor(self, other: Backends) -> Backends

    The bitwise or (|) of the bits in two flags values.

    -
    §

    type Output = Backends

    The resulting type after applying the | operator.
    source§

    impl BitOrAssign for Backends

    source§

    fn bitor_assign(&mut self, other: Backends)

    The bitwise or (|) of the bits in two flags values.

    -
    source§

    impl BitXor for Backends

    source§

    fn bitxor(self, other: Backends) -> Backends

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    §

    type Output = Backends

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign for Backends

    source§

    fn bitxor_assign(&mut self, other: Backends)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source§

    impl Clone for Backends

    source§

    fn clone(&self) -> Backends

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Backends

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for Backends

    source§

    fn default() -> Backends

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for Backends

    Trait Implementations§

    §

    impl Binary for Backends

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    §

    impl BitAnd for Backends

    §

    fn bitand(self, other: Backends) -> Backends

    The bitwise and (&) of the bits in two flags values.

    +
    §

    type Output = Backends

    The resulting type after applying the & operator.
    §

    impl BitAndAssign for Backends

    §

    fn bitand_assign(&mut self, other: Backends)

    The bitwise and (&) of the bits in two flags values.

    +
    §

    impl BitOr for Backends

    §

    fn bitor(self, other: Backends) -> Backends

    The bitwise or (|) of the bits in two flags values.

    +
    §

    type Output = Backends

    The resulting type after applying the | operator.
    §

    impl BitOrAssign for Backends

    §

    fn bitor_assign(&mut self, other: Backends)

    The bitwise or (|) of the bits in two flags values.

    +
    §

    impl BitXor for Backends

    §

    fn bitxor(self, other: Backends) -> Backends

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    §

    type Output = Backends

    The resulting type after applying the ^ operator.
    §

    impl BitXorAssign for Backends

    §

    fn bitxor_assign(&mut self, other: Backends)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    §

    impl Clone for Backends

    §

    fn clone(&self) -> Backends

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Backends

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for Backends

    §

    fn default() -> Backends

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for Backends

    §

    fn deserialize<__D>( __deserializer: __D ) -> Result<Backends, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Extend<Backends> for Backends

    source§

    fn extend<T>(&mut self, iterator: T)
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Extend<Backends> for Backends

    §

    fn extend<T>(&mut self, iterator: T)
    where T: IntoIterator<Item = Backends>,

    The bitwise or (|) of the bits in each flags value.

    -
    source§

    fn extend_one(&mut self, item: A)

    🔬This is a nightly-only experimental API. (extend_one)
    Extends a collection with exactly one element.
    source§

    fn extend_reserve(&mut self, additional: usize)

    🔬This is a nightly-only experimental API. (extend_one)
    Reserves capacity in a collection for the given number of additional elements. Read more
    source§

    impl Flags for Backends

    source§

    const FLAGS: &'static [Flag<Backends>] = _

    The set of defined flags.
    §

    type Bits = u32

    The underlying bits type.
    source§

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u32) -> Backends

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where +

    source§

    fn extend_one(&mut self, item: A)

    🔬This is a nightly-only experimental API. (extend_one)
    Extends a collection with exactly one element.
    source§

    fn extend_reserve(&mut self, additional: usize)

    🔬This is a nightly-only experimental API. (extend_one)
    Reserves capacity in a collection for the given number of additional elements. Read more
    §

    impl Flags for Backends

    §

    const FLAGS: &'static [Flag<Backends>] = _

    The set of defined flags.
    §

    type Bits = u32

    The underlying bits type.
    §

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    §

    fn from_bits_retain(bits: u32) -> Backends

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where Self: Sized,

    Whether any set bits in a source flags value are also set in a target flags value.
    §

    fn contains(&self, other: Self) -> bool
    where Self: Sized,

    Whether all set bits in a source flags value are also set in a target flags value.
    §

    fn insert(&mut self, other: Self)
    where Self: Sized,

    The bitwise or (|) of the bits in two flags values.
    §

    fn remove(&mut self, other: Self)
    where Self: Sized,

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn toggle(&mut self, other: Self)
    where Self: Sized,

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn set(&mut self, other: Self, value: bool)
    where - Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    source§

    impl From<Backend> for Backends

    source§

    fn from(backend: Backend) -> Backends

    Converts to this type from the input type.
    source§

    impl FromIterator<Backends> for Backends

    source§

    fn from_iter<T>(iterator: T) -> Backends
    where + Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    §

    impl From<Backend> for Backends

    §

    fn from(backend: Backend) -> Backends

    Converts to this type from the input type.
    §

    impl FromIterator<Backends> for Backends

    §

    fn from_iter<T>(iterator: T) -> Backends
    where T: IntoIterator<Item = Backends>,

    The bitwise or (|) of the bits in each flags value.

    -
    source§

    impl Hash for Backends

    source§

    fn hash<__H>(&self, state: &mut __H)
    where +

    §

    impl Hash for Backends

    §

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoIterator for Backends

    §

    type Item = Backends

    The type of the elements being iterated over.
    §

    type IntoIter = Iter<Backends>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> <Backends as IntoIterator>::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl LowerHex for Backends

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    source§

    impl Not for Backends

    source§

    fn not(self) -> Backends

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    §

    type Output = Backends

    The resulting type after applying the ! operator.
    source§

    impl Octal for Backends

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    source§

    impl PartialEq for Backends

    source§

    fn eq(&self, other: &Backends) -> bool

    This method tests for self and other values to be equal, and is used + Self: Sized,
    Feeds a slice of this type into the given Hasher. Read more
    §

    impl IntoIterator for Backends

    §

    type Item = Backends

    The type of the elements being iterated over.
    §

    type IntoIter = Iter<Backends>

    Which kind of iterator are we turning this into?
    §

    fn into_iter(self) -> <Backends as IntoIterator>::IntoIter

    Creates an iterator from a value. Read more
    §

    impl LowerHex for Backends

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    §

    impl Not for Backends

    §

    fn not(self) -> Backends

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    §

    type Output = Backends

    The resulting type after applying the ! operator.
    §

    impl Octal for Backends

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    §

    impl PartialEq for Backends

    §

    fn eq(&self, other: &Backends) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Backends

    source§

    fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

    §

    impl Serialize for Backends

    §

    fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Sub for Backends

    source§

    fn sub(self, other: Backends) -> Backends

    The intersection of a source flags value with the complement of a target flags value (&!).

    + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl Sub for Backends

    §

    fn sub(self, other: Backends) -> Backends

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    §

    type Output = Backends

    The resulting type after applying the - operator.
    source§

    impl SubAssign for Backends

    source§

    fn sub_assign(&mut self, other: Backends)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    §

    type Output = Backends

    The resulting type after applying the - operator.
    §

    impl SubAssign for Backends

    §

    fn sub_assign(&mut self, other: Backends)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source§

    impl UpperHex for Backends

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    source§

    impl Copy for Backends

    source§

    impl Eq for Backends

    source§

    impl StructuralEq for Backends

    source§

    impl StructuralPartialEq for Backends

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    §

    impl UpperHex for Backends

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    §

    impl Copy for Backends

    §

    impl Eq for Backends

    §

    impl StructuralEq for Backends

    §

    impl StructuralPartialEq for Backends

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    §

    impl<Q, K> Equivalent<K> for Q
    where @@ -107,7 +107,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.BindGroup.html b/doc/wgpu/struct.BindGroup.html index ce74e2fa7e12..f7aa0367857b 100644 --- a/doc/wgpu/struct.BindGroup.html +++ b/doc/wgpu/struct.BindGroup.html @@ -30,7 +30,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.BindGroupDescriptor.html b/doc/wgpu/struct.BindGroupDescriptor.html index 121edb94b00d..c33cfb2a22f3 100644 --- a/doc/wgpu/struct.BindGroupDescriptor.html +++ b/doc/wgpu/struct.BindGroupDescriptor.html @@ -20,7 +20,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.BindGroupEntry.html b/doc/wgpu/struct.BindGroupEntry.html index c59c7f3d17e2..c38e9e9af225 100644 --- a/doc/wgpu/struct.BindGroupEntry.html +++ b/doc/wgpu/struct.BindGroupEntry.html @@ -19,7 +19,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.BindGroupLayout.html b/doc/wgpu/struct.BindGroupLayout.html index 6264d1b00a11..9ee36923269d 100644 --- a/doc/wgpu/struct.BindGroupLayout.html +++ b/doc/wgpu/struct.BindGroupLayout.html @@ -31,7 +31,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.BindGroupLayoutDescriptor.html b/doc/wgpu/struct.BindGroupLayoutDescriptor.html index f57dfa1d8803..e2166d4c2056 100644 --- a/doc/wgpu/struct.BindGroupLayoutDescriptor.html +++ b/doc/wgpu/struct.BindGroupLayoutDescriptor.html @@ -18,7 +18,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.BindGroupLayoutEntry.html b/doc/wgpu/struct.BindGroupLayoutEntry.html index 927cbee567b9..4c5b411bea8f 100644 --- a/doc/wgpu/struct.BindGroupLayoutEntry.html +++ b/doc/wgpu/struct.BindGroupLayoutEntry.html @@ -1,5 +1,5 @@ BindGroupLayoutEntry in wgpu - Rust -
    pub struct BindGroupLayoutEntry {
    +    
    pub struct BindGroupLayoutEntry {
         pub binding: u32,
         pub visibility: ShaderStages,
         pub ty: BindingType,
    @@ -13,19 +13,19 @@
     
    §count: Option<NonZeroU32>

    If this value is Some, indicates this entry is an array. Array size must be 1 or greater.

    If this value is Some and ty is BindingType::Texture, Features::TEXTURE_BINDING_ARRAY must be supported.

    If this value is Some and ty is any other variant, bind group creation will fail.

    -

    Trait Implementations§

    source§

    impl Clone for BindGroupLayoutEntry

    source§

    fn clone(&self) -> BindGroupLayoutEntry

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for BindGroupLayoutEntry

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for BindGroupLayoutEntry

    Trait Implementations§

    §

    impl Clone for BindGroupLayoutEntry

    §

    fn clone(&self) -> BindGroupLayoutEntry

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for BindGroupLayoutEntry

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for BindGroupLayoutEntry

    §

    fn deserialize<__D>( __deserializer: __D ) -> Result<BindGroupLayoutEntry, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Hash for BindGroupLayoutEntry

    source§

    fn hash<__H>(&self, state: &mut __H)
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Hash for BindGroupLayoutEntry

    §

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for BindGroupLayoutEntry

    source§

    fn eq(&self, other: &BindGroupLayoutEntry) -> bool

    This method tests for self and other values to be equal, and is used + Self: Sized,
    Feeds a slice of this type into the given Hasher. Read more
    §

    impl PartialEq for BindGroupLayoutEntry

    §

    fn eq(&self, other: &BindGroupLayoutEntry) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for BindGroupLayoutEntry

    source§

    fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

    §

    impl Serialize for BindGroupLayoutEntry

    §

    fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for BindGroupLayoutEntry

    source§

    impl Eq for BindGroupLayoutEntry

    source§

    impl StructuralEq for BindGroupLayoutEntry

    source§

    impl StructuralPartialEq for BindGroupLayoutEntry

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Copy for BindGroupLayoutEntry

    §

    impl Eq for BindGroupLayoutEntry

    §

    impl StructuralEq for BindGroupLayoutEntry

    §

    impl StructuralPartialEq for BindGroupLayoutEntry

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    §

    impl<Q, K> Equivalent<K> for Q
    where @@ -41,7 +41,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.Blas.html b/doc/wgpu/struct.Blas.html index a079e0ab1ebc..6a4977164a80 100644 --- a/doc/wgpu/struct.Blas.html +++ b/doc/wgpu/struct.Blas.html @@ -29,7 +29,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.BlasBuildEntry.html b/doc/wgpu/struct.BlasBuildEntry.html index 437ef0bc9f3c..5d2fa5776185 100644 --- a/doc/wgpu/struct.BlasBuildEntry.html +++ b/doc/wgpu/struct.BlasBuildEntry.html @@ -15,7 +15,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.BlasTriangleGeometry.html b/doc/wgpu/struct.BlasTriangleGeometry.html index 4f8f3e5de5f5..059aae573658 100644 --- a/doc/wgpu/struct.BlasTriangleGeometry.html +++ b/doc/wgpu/struct.BlasTriangleGeometry.html @@ -29,7 +29,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.BlendComponent.html b/doc/wgpu/struct.BlendComponent.html index 96495b6a58f6..8afc72848675 100644 --- a/doc/wgpu/struct.BlendComponent.html +++ b/doc/wgpu/struct.BlendComponent.html @@ -1,5 +1,5 @@ BlendComponent in wgpu - Rust -

    Struct wgpu::BlendComponent

    source ·
    #[repr(C)]
    pub struct BlendComponent { +

    Struct wgpu::BlendComponent

    #[repr(C)]
    pub struct BlendComponent { pub src_factor: BlendFactor, pub dst_factor: BlendFactor, pub operation: BlendOperation, @@ -9,23 +9,23 @@
    §dst_factor: BlendFactor

    Multiplier for the destination, which is stored in the target.

    §operation: BlendOperation

    The binary operation applied to the source and destination, multiplied by their respective factors.

    -

    Implementations§

    source§

    impl BlendComponent

    source

    pub const REPLACE: BlendComponent = _

    Default blending state that replaces destination with the source.

    -
    source

    pub const OVER: BlendComponent = _

    Blend state of (1 * src) + ((1 - src_alpha) * dst)

    -
    source

    pub fn uses_constant(&self) -> bool

    Returns true if the state relies on the constant color, which is +

    Implementations§

    §

    impl BlendComponent

    pub const REPLACE: BlendComponent = _

    Default blending state that replaces destination with the source.

    +

    pub const OVER: BlendComponent = _

    Blend state of (1 * src) + ((1 - src_alpha) * dst)

    +

    pub fn uses_constant(&self) -> bool

    Returns true if the state relies on the constant color, which is set independently on a render command encoder.

    -

    Trait Implementations§

    source§

    impl Clone for BlendComponent

    source§

    fn clone(&self) -> BlendComponent

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for BlendComponent

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for BlendComponent

    source§

    fn default() -> BlendComponent

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for BlendComponent

    Trait Implementations§

    §

    impl Clone for BlendComponent

    §

    fn clone(&self) -> BlendComponent

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for BlendComponent

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for BlendComponent

    §

    fn default() -> BlendComponent

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for BlendComponent

    §

    fn deserialize<__D>( __deserializer: __D ) -> Result<BlendComponent, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Hash for BlendComponent

    source§

    fn hash<__H>(&self, state: &mut __H)
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Hash for BlendComponent

    §

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for BlendComponent

    source§

    fn eq(&self, other: &BlendComponent) -> bool

    This method tests for self and other values to be equal, and is used + Self: Sized,
    Feeds a slice of this type into the given Hasher. Read more
    §

    impl PartialEq for BlendComponent

    §

    fn eq(&self, other: &BlendComponent) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for BlendComponent

    source§

    fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

    §

    impl Serialize for BlendComponent

    §

    fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for BlendComponent

    source§

    impl Eq for BlendComponent

    source§

    impl StructuralEq for BlendComponent

    source§

    impl StructuralPartialEq for BlendComponent

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Copy for BlendComponent

    §

    impl Eq for BlendComponent

    §

    impl StructuralEq for BlendComponent

    §

    impl StructuralPartialEq for BlendComponent

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    §

    impl<Q, K> Equivalent<K> for Q
    where @@ -41,7 +41,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.BlendState.html b/doc/wgpu/struct.BlendState.html index 12f94958ae20..1f1436850a5d 100644 --- a/doc/wgpu/struct.BlendState.html +++ b/doc/wgpu/struct.BlendState.html @@ -1,5 +1,5 @@ BlendState in wgpu - Rust -

    Struct wgpu::BlendState

    source ·
    #[repr(C)]
    pub struct BlendState { +

    Struct wgpu::BlendState

    #[repr(C)]
    pub struct BlendState { pub color: BlendComponent, pub alpha: BlendComponent, }
    Expand description

    Describe the blend state of a render pipeline, @@ -7,22 +7,22 @@

    Corresponds to WebGPU GPUBlendState.

    Fields§

    §color: BlendComponent

    Color equation.

    §alpha: BlendComponent

    Alpha equation.

    -

    Implementations§

    source§

    impl BlendState

    source

    pub const REPLACE: BlendState = _

    Blend mode that does no color blending, just overwrites the output with the contents of the shader.

    -
    source

    pub const ALPHA_BLENDING: BlendState = _

    Blend mode that does standard alpha blending with non-premultiplied alpha.

    -
    source

    pub const PREMULTIPLIED_ALPHA_BLENDING: BlendState = _

    Blend mode that does standard alpha blending with premultiplied alpha.

    -

    Trait Implementations§

    source§

    impl Clone for BlendState

    source§

    fn clone(&self) -> BlendState

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for BlendState

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for BlendState

    Implementations§

    §

    impl BlendState

    pub const REPLACE: BlendState = _

    Blend mode that does no color blending, just overwrites the output with the contents of the shader.

    +

    pub const ALPHA_BLENDING: BlendState = _

    Blend mode that does standard alpha blending with non-premultiplied alpha.

    +

    pub const PREMULTIPLIED_ALPHA_BLENDING: BlendState = _

    Blend mode that does standard alpha blending with premultiplied alpha.

    +

    Trait Implementations§

    §

    impl Clone for BlendState

    §

    fn clone(&self) -> BlendState

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for BlendState

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for BlendState

    §

    fn deserialize<__D>( __deserializer: __D ) -> Result<BlendState, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Hash for BlendState

    source§

    fn hash<__H>(&self, state: &mut __H)
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Hash for BlendState

    §

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for BlendState

    source§

    fn eq(&self, other: &BlendState) -> bool

    This method tests for self and other values to be equal, and is used + Self: Sized,
    Feeds a slice of this type into the given Hasher. Read more
    §

    impl PartialEq for BlendState

    §

    fn eq(&self, other: &BlendState) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for BlendState

    source§

    fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

    §

    impl Serialize for BlendState

    §

    fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for BlendState

    source§

    impl Eq for BlendState

    source§

    impl StructuralEq for BlendState

    source§

    impl StructuralPartialEq for BlendState

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Copy for BlendState

    §

    impl Eq for BlendState

    §

    impl StructuralEq for BlendState

    §

    impl StructuralPartialEq for BlendState

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    §

    impl<Q, K> Equivalent<K> for Q
    where @@ -38,7 +38,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.Buffer.html b/doc/wgpu/struct.Buffer.html index 9778e1bf2571..6595802de29d 100644 --- a/doc/wgpu/struct.Buffer.html +++ b/doc/wgpu/struct.Buffer.html @@ -9,10 +9,10 @@ prevents simultaneous reads and writes of buffer contents using run-time checks.

    Mapping buffers

    -

    If a Buffer is created with the appropriate usage, it can be mapped: +

    If a Buffer is created with the appropriate usage, it can be mapped: you can make its contents accessible to the CPU as an ordinary &[u8] or &mut [u8] slice of bytes. Buffers created with the -mapped_at_creation flag set are also mapped initially.

    +mapped_at_creation flag set are also mapped initially.

    Depending on the hardware, the buffer could be memory shared between CPU and GPU, so that the CPU has direct access to the same bytes the GPU will consult; or it may be ordinary CPU memory, whose contents the system must @@ -25,13 +25,13 @@

    Mapping buffers

    There are two ways to map a buffer:

    This is a web and native feature.

    -
    source

    pub const DEPTH32FLOAT_STENCIL8: Features = _

    Allows for explicit creation of textures of format TextureFormat::Depth32FloatStencil8

    +

    pub const DEPTH32FLOAT_STENCIL8: Features = _

    Allows for explicit creation of textures of format TextureFormat::Depth32FloatStencil8

    Supported platforms:

    • Vulkan (mostly)
    • @@ -25,7 +25,7 @@
    • OpenGL

    This is a web and native feature.

    -
    source

    pub const TEXTURE_COMPRESSION_BC: Features = _

    Enables BCn family of compressed textures. All BCn textures use 4x4 pixel blocks +

    pub const TEXTURE_COMPRESSION_BC: Features = _

    Enables BCn family of compressed textures. All BCn textures use 4x4 pixel blocks with 8 or 16 bytes per block.

    Compressed textures sacrifice some quality in exchange for significantly reduced bandwidth usage.

    @@ -38,7 +38,7 @@
  • Mobile (All Apple9 and some Apple7 and Apple8 devices)
  • This is a web and native feature.

    -
    source

    pub const TEXTURE_COMPRESSION_BC_SLICED_3D: Features = _

    Allows the 3d dimension for textures with BC compressed formats.

    +

    pub const TEXTURE_COMPRESSION_BC_SLICED_3D: Features = _

    Allows the 3d dimension for textures with BC compressed formats.

    This feature must be used in combination with TEXTURE_COMPRESSION_BC to enable 3D textures with BC compression. It does not enable the BC formats by itself.

    Supported Platforms:

    @@ -47,7 +47,7 @@
  • Mobile (All Apple9 and some Apple7 and Apple8 devices)
  • This is a web and native feature.

    -
    source

    pub const TEXTURE_COMPRESSION_ETC2: Features = _

    Enables ETC family of compressed textures. All ETC textures use 4x4 pixel blocks. +

    pub const TEXTURE_COMPRESSION_ETC2: Features = _

    Enables ETC family of compressed textures. All ETC textures use 4x4 pixel blocks. ETC2 RGB and RGBA1 are 8 bytes per block. RTC2 RGBA8 and EAC are 16 bytes per block.

    Compressed textures sacrifice some quality in exchange for significantly reduced bandwidth usage.

    @@ -59,7 +59,7 @@
  • Mobile (some)
  • This is a web and native feature.

    -
    source

    pub const TEXTURE_COMPRESSION_ASTC: Features = _

    Enables ASTC family of compressed textures. ASTC textures use pixel blocks varying from 4x4 to 12x12. +

    pub const TEXTURE_COMPRESSION_ASTC: Features = _

    Enables ASTC family of compressed textures. ASTC textures use pixel blocks varying from 4x4 to 12x12. Blocks are always 16 bytes.

    Compressed textures sacrifice some quality in exchange for significantly reduced bandwidth usage.

    @@ -71,7 +71,7 @@
  • Mobile (some)
  • This is a web and native feature.

    -
    source

    pub const TIMESTAMP_QUERY: Features = _

    Enables use of Timestamp Queries. These queries tell the current gpu timestamp when +

    pub const TIMESTAMP_QUERY: Features = _

    Enables use of Timestamp Queries. These queries tell the current gpu timestamp when all work before the query is finished.

    This feature allows the use of

      @@ -92,7 +92,7 @@
    • Metal

    This is a web and native feature.

    -
    source

    pub const INDIRECT_FIRST_INSTANCE: Features = _

    Allows non-zero value for the first_instance member in indirect draw calls.

    +

    pub const INDIRECT_FIRST_INSTANCE: Features = _

    Allows non-zero value for the first_instance member in indirect draw calls.

    If this feature is not enabled, and the first_instance member is non-zero, the behavior may be:

    • The draw call is ignored.
    • @@ -111,7 +111,7 @@
    • OpenGL ES / WebGL

    This is a web and native feature.

    -
    source

    pub const SHADER_F16: Features = _

    Allows shaders to acquire the FP16 ability

    +

    pub const SHADER_F16: Features = _

    Allows shaders to acquire the FP16 ability

    Note: this is not supported in naga yet, only through spirv-passthrough right now.

    Supported Platforms:

      @@ -119,7 +119,7 @@
    • Metal

    This is a web and native feature.

    -
    source

    pub const RG11B10UFLOAT_RENDERABLE: Features = _

    Allows for usage of textures of format TextureFormat::Rg11b10Ufloat as a render target

    +

    pub const RG11B10UFLOAT_RENDERABLE: Features = _

    Allows for usage of textures of format TextureFormat::Rg11b10Ufloat as a render target

    Supported platforms:

    • Vulkan
    • @@ -127,7 +127,7 @@
    • Metal

    This is a web and native feature.

    -
    source

    pub const BGRA8UNORM_STORAGE: Features = _

    Allows the [wgpu::TextureUsages::STORAGE_BINDING] usage on textures with format [TextureFormat::Bgra8unorm]

    +

    pub const BGRA8UNORM_STORAGE: Features = _

    Allows the [wgpu::TextureUsages::STORAGE_BINDING] usage on textures with format [TextureFormat::Bgra8unorm]

    Supported Platforms:

    • Vulkan
    • @@ -135,7 +135,7 @@
    • Metal

    This is a web and native feature.

    -
    source

    pub const FLOAT32_FILTERABLE: Features = _

    Allows textures with formats “r32float”, “rg32float”, and “rgba32float” to be filterable.

    +

    pub const FLOAT32_FILTERABLE: Features = _

    Allows textures with formats “r32float”, “rg32float”, and “rgba32float” to be filterable.

    Supported Platforms:

    • Vulkan (mainly on Desktop GPUs)
    • @@ -144,7 +144,7 @@
    • GL with one of GL_ARB_color_buffer_float/GL_EXT_color_buffer_float/OES_texture_float_linear

    This is a web and native feature.

    -
    source

    pub const TEXTURE_FORMAT_16BIT_NORM: Features = _

    Enables normalized 16-bit texture formats.

    +

    pub const TEXTURE_FORMAT_16BIT_NORM: Features = _

    Enables normalized 16-bit texture formats.

    Supported platforms:

    • Vulkan
    • @@ -152,7 +152,7 @@
    • Metal

    This is a native only feature.

    -
    source

    pub const TEXTURE_COMPRESSION_ASTC_HDR: Features = _

    Enables ASTC HDR family of compressed textures.

    +

    pub const TEXTURE_COMPRESSION_ASTC_HDR: Features = _

    Enables ASTC HDR family of compressed textures.

    Compressed textures sacrifice some quality in exchange for significantly reduced bandwidth usage.

    Support for this feature guarantees availability of [TextureUsages::COPY_SRC | TextureUsages::COPY_DST | TextureUsages::TEXTURE_BINDING] for ASTC formats with the HDR channel type. @@ -164,14 +164,14 @@

  • OpenGL
  • This is a native only feature.

    -
    source

    pub const TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES: Features = _

    Enables device specific texture format features.

    +

    pub const TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES: Features = _

    Enables device specific texture format features.

    See TextureFormatFeatures for a listing of the features in question.

    By default only texture format properties as defined by the WebGPU specification are allowed. Enabling this feature flag extends the features of each format to the ones supported by the current device. Note that without this flag, read/write storage access is not allowed at all.

    This extension does not enable additional formats.

    This is a native only feature.

    -
    source

    pub const PIPELINE_STATISTICS_QUERY: Features = _

    Enables use of Pipeline Statistics Queries. These queries tell the count of various operations +

    pub const PIPELINE_STATISTICS_QUERY: Features = _

    Enables use of Pipeline Statistics Queries. These queries tell the count of various operations performed between the start and stop call. Call [RenderPass::begin_pipeline_statistics_query] to start a query, then call [RenderPass::end_pipeline_statistics_query] to stop one.

    They must be resolved using [CommandEncoder::resolve_query_set] into a buffer. @@ -182,7 +182,7 @@

  • DX12
  • This is a native only feature with a proposal for the web.

    -
    source

    pub const TIMESTAMP_QUERY_INSIDE_ENCODERS: Features = _

    Allows for timestamp queries directly on command encoders.

    +

    pub const TIMESTAMP_QUERY_INSIDE_ENCODERS: Features = _

    Allows for timestamp queries directly on command encoders.

    Implies Features::TIMESTAMP_QUERY is supported.

    Additionally allows for timestamp writes on command encoders using [CommandEncoder::write_timestamp].

    @@ -193,7 +193,7 @@
  • Metal
  • This is a native only feature.

    -
    source

    pub const TIMESTAMP_QUERY_INSIDE_PASSES: Features = _

    Allows for timestamp queries directly on command encoders.

    +

    pub const TIMESTAMP_QUERY_INSIDE_PASSES: Features = _

    Allows for timestamp queries directly on command encoders.

    Implies Features::TIMESTAMP_QUERY & Features::TIMESTAMP_QUERY_INSIDE_ENCODERS is supported.

    Additionally allows for timestamp queries to be used inside render & compute passes using:

      @@ -208,7 +208,7 @@

    This is generally not available on tile-based rasterization GPUs.

    This is a native only feature with a proposal for the web.

    -
    source

    pub const MAPPABLE_PRIMARY_BUFFERS: Features = _

    Webgpu only allows the MAP_READ and MAP_WRITE buffer usage to be matched with +

    pub const MAPPABLE_PRIMARY_BUFFERS: Features = _

    Webgpu only allows the MAP_READ and MAP_WRITE buffer usage to be matched with COPY_DST and COPY_SRC respectively. This removes this requirement.

    This is only beneficial on systems that share memory between CPU and GPU. If enabled on a system that doesn’t, this can severely hinder performance. Only use if you understand @@ -220,7 +220,7 @@

  • Metal
  • This is a native only feature.

    -
    source

    pub const TEXTURE_BINDING_ARRAY: Features = _

    Allows the user to create uniform arrays of textures in shaders:

    +

    pub const TEXTURE_BINDING_ARRAY: Features = _

    Allows the user to create uniform arrays of textures in shaders:

    ex.

    • var textures: binding_array<texture_2d<f32>, 10> (WGSL)
    • @@ -242,7 +242,7 @@
    • Vulkan

    This is a native only feature.

    -
    source

    pub const BUFFER_BINDING_ARRAY: Features = _

    Allows the user to create arrays of buffers in shaders:

    +

    pub const BUFFER_BINDING_ARRAY: Features = _

    Allows the user to create arrays of buffers in shaders:

    ex.

    • var<uniform> buffer_array: array<MyBuffer, 10> (WGSL)
    • @@ -262,7 +262,7 @@
    • Vulkan

    This is a native only feature.

    -
    source

    pub const STORAGE_RESOURCE_BINDING_ARRAY: Features = _

    Allows the user to create uniform arrays of storage buffers or textures in shaders, +

    pub const STORAGE_RESOURCE_BINDING_ARRAY: Features = _

    Allows the user to create uniform arrays of storage buffers or textures in shaders, if resp. Features::BUFFER_BINDING_ARRAY or Features::TEXTURE_BINDING_ARRAY is supported.

    This capability allows them to exist and to be indexed by dynamically uniform @@ -273,7 +273,7 @@

  • Vulkan
  • This is a native only feature.

    -
    source

    pub const SAMPLED_TEXTURE_AND_STORAGE_BUFFER_ARRAY_NON_UNIFORM_INDEXING: Features = _

    Allows shaders to index sampled texture and storage buffer resource arrays with dynamically non-uniform values:

    +

    pub const SAMPLED_TEXTURE_AND_STORAGE_BUFFER_ARRAY_NON_UNIFORM_INDEXING: Features = _

    Allows shaders to index sampled texture and storage buffer resource arrays with dynamically non-uniform values:

    ex. texture_array[vertex_data]

    In order to use this capability, the corresponding GLSL extension must be enabled like so:

    #extension GL_EXT_nonuniform_qualifier : require

    @@ -289,7 +289,7 @@
  • Vulkan 1.2+ (or VK_EXT_descriptor_indexing)’s shaderSampledImageArrayNonUniformIndexing & shaderStorageBufferArrayNonUniformIndexing feature)
  • This is a native only feature.

    -
    source

    pub const UNIFORM_BUFFER_AND_STORAGE_TEXTURE_ARRAY_NON_UNIFORM_INDEXING: Features = _

    Allows shaders to index uniform buffer and storage texture resource arrays with dynamically non-uniform values:

    +

    pub const UNIFORM_BUFFER_AND_STORAGE_TEXTURE_ARRAY_NON_UNIFORM_INDEXING: Features = _

    Allows shaders to index uniform buffer and storage texture resource arrays with dynamically non-uniform values:

    ex. texture_array[vertex_data]

    In order to use this capability, the corresponding GLSL extension must be enabled like so:

    #extension GL_EXT_nonuniform_qualifier : require

    @@ -305,14 +305,14 @@
  • Vulkan 1.2+ (or VK_EXT_descriptor_indexing)’s shaderUniformBufferArrayNonUniformIndexing & shaderStorageTextureArrayNonUniformIndexing feature)
  • This is a native only feature.

    -
    source

    pub const PARTIALLY_BOUND_BINDING_ARRAY: Features = _

    Allows the user to create bind groups containing arrays with less bindings than the BindGroupLayout.

    +

    pub const PARTIALLY_BOUND_BINDING_ARRAY: Features = _

    Allows the user to create bind groups containing arrays with less bindings than the BindGroupLayout.

    Supported platforms:

    • Vulkan
    • DX12

    This is a native only feature.

    -
    source

    pub const MULTI_DRAW_INDIRECT: Features = _

    pub const MULTI_DRAW_INDIRECT: Features = _

    Allows the user to call RenderPass::multi_draw_indirect and RenderPass::multi_draw_indexed_indirect.

    Allows multiple indirect calls to be dispatched from a single buffer.

    Supported platforms:

      @@ -321,7 +321,7 @@
    • Metal on Apple3+ or Mac1+ (Emulated on top of draw_indirect and draw_indexed_indirect)

    This is a native only feature.

    -
    source

    pub const MULTI_DRAW_INDIRECT_COUNT: Features = _

    pub const MULTI_DRAW_INDIRECT_COUNT: Features = _

    Allows the user to call RenderPass::multi_draw_indirect_count and RenderPass::multi_draw_indexed_indirect_count.

    This allows the use of a buffer containing the actual number of draw calls.

    Supported platforms:

      @@ -329,7 +329,7 @@
    • Vulkan 1.2+ (or VK_KHR_draw_indirect_count)

    This is a native only feature.

    -
    source

    pub const PUSH_CONSTANTS: Features = _

    Allows the use of push constants: small, fast bits of memory that can be updated +

    pub const PUSH_CONSTANTS: Features = _

    Allows the use of push constants: small, fast bits of memory that can be updated inside a RenderPass.

    Allows the user to call RenderPass::set_push_constants, provide a non-empty array to PipelineLayoutDescriptor, and provide a non-zero limit to Limits::max_push_constant_size.

    @@ -346,7 +346,7 @@
  • OpenGL (emulated with uniforms)
  • This is a native only feature.

    -
    source

    pub const ADDRESS_MODE_CLAMP_TO_ZERO: Features = _

    Allows the use of AddressMode::ClampToBorder with a border color +

    pub const ADDRESS_MODE_CLAMP_TO_ZERO: Features = _

    Allows the use of AddressMode::ClampToBorder with a border color of SamplerBorderColor::Zero.

    Supported platforms:

      @@ -356,7 +356,7 @@
    • OpenGL

    This is a native only feature.

    -
    source

    pub const ADDRESS_MODE_CLAMP_TO_BORDER: Features = _

    Allows the use of AddressMode::ClampToBorder with a border color +

    pub const ADDRESS_MODE_CLAMP_TO_BORDER: Features = _

    Allows the use of AddressMode::ClampToBorder with a border color other than SamplerBorderColor::Zero.

    Supported platforms:

      @@ -366,7 +366,7 @@
    • OpenGL

    This is a native only feature.

    -
    source

    pub const POLYGON_MODE_LINE: Features = _

    pub const POLYGON_MODE_LINE: Features = _

    Allows the user to set PolygonMode::Line in PrimitiveState::polygon_mode

    This allows drawing polygons/triangles as lines (wireframe) instead of filled

    Supported platforms:

      @@ -375,14 +375,14 @@
    • Metal

    This is a native only feature.

    -
    source

    pub const POLYGON_MODE_POINT: Features = _

    pub const POLYGON_MODE_POINT: Features = _

    Allows the user to set PolygonMode::Point in PrimitiveState::polygon_mode

    This allows only drawing the vertices of polygons/triangles instead of filled

    Supported platforms:

    • Vulkan

    This is a native only feature.

    -
    source

    pub const CONSERVATIVE_RASTERIZATION: Features = _

    Allows the user to set a overestimation-conservative-rasterization in PrimitiveState::conservative

    +

    pub const CONSERVATIVE_RASTERIZATION: Features = _

    Allows the user to set a overestimation-conservative-rasterization in PrimitiveState::conservative

    Processing of degenerate triangles/lines is hardware specific. Only triangles are supported.

    Supported platforms:

    @@ -390,20 +390,20 @@
  • Vulkan
  • This is a native only feature.

    -
    source

    pub const VERTEX_WRITABLE_STORAGE: Features = _

    Enables bindings of writable storage buffers and textures visible to vertex shaders.

    +

    pub const VERTEX_WRITABLE_STORAGE: Features = _

    Enables bindings of writable storage buffers and textures visible to vertex shaders.

    Note: some (tiled-based) platforms do not support vertex shaders with any side-effects.

    Supported Platforms:

    • All

    This is a native only feature.

    -
    source

    pub const CLEAR_TEXTURE: Features = _

    Enables clear to zero for textures.

    +

    pub const CLEAR_TEXTURE: Features = _

    Enables clear to zero for textures.

    Supported platforms:

    • All

    This is a native only feature.

    -
    source

    pub const SPIRV_SHADER_PASSTHROUGH: Features = _

    Enables creating shader modules from SPIR-V binary data (unsafe).

    +

    pub const SPIRV_SHADER_PASSTHROUGH: Features = _

    Enables creating shader modules from SPIR-V binary data (unsafe).

    SPIR-V data is not parsed or interpreted in any way; you can use [wgpu::make_spirv_raw!] to check for alignment and magic number when converting from raw bytes.

    @@ -413,25 +413,25 @@ Vulkan implementation.

    This is a native only feature.

    -
    source

    pub const MULTIVIEW: Features = _

    Enables multiview render passes and builtin(view_index) in vertex shaders.

    +

    pub const MULTIVIEW: Features = _

    Enables multiview render passes and builtin(view_index) in vertex shaders.

    Supported platforms:

    • Vulkan
    • OpenGL (web only)

    This is a native only feature.

    -
    source

    pub const VERTEX_ATTRIBUTE_64BIT: Features = _

    Enables using 64-bit types for vertex attributes.

    +

    pub const VERTEX_ATTRIBUTE_64BIT: Features = _

    Enables using 64-bit types for vertex attributes.

    Requires SHADER_FLOAT64.

    Supported Platforms: N/A

    This is a native only feature.

    -
    source

    pub const TEXTURE_FORMAT_NV12: Features = _

    Allows for creation of textures of format TextureFormat::NV12

    +

    pub const TEXTURE_FORMAT_NV12: Features = _

    Allows for creation of textures of format TextureFormat::NV12

    Supported platforms:

    • DX12
    • Vulkan

    This is a native only feature.

    -
    source

    pub const EXPERIMENTAL_RAY_TRACING_ACCELERATION_STRUCTURE: Features = _

    THIS IS EXPERIMENTAL: Features enabled by this may have +

    pub const EXPERIMENTAL_RAY_TRACING_ACCELERATION_STRUCTURE: Features = _

    THIS IS EXPERIMENTAL: Features enabled by this may have major bugs in them and are expected to be subject to breaking changes, suggestions for the API exposed by this should be posted on the ray-tracing issue

    Allows for the creation of ray-tracing acceleration structures. Currently, @@ -441,7 +441,7 @@

  • Vulkan
  • This is a native-only feature.

    -
    source

    pub const EXPERIMENTAL_RAY_QUERY: Features = _

    THIS IS EXPERIMENTAL: Features enabled by this may have +

    pub const EXPERIMENTAL_RAY_QUERY: Features = _

    THIS IS EXPERIMENTAL: Features enabled by this may have major bugs in it and are expected to be subject to breaking changes, suggestions for the API exposed by this should be posted on the ray-tracing issue

    Allows for the creation of ray-tracing queries within shaders.

    @@ -450,7 +450,7 @@
  • Vulkan
  • This is a native-only feature.

    -
    source

    pub const SHADER_F64: Features = _

    Enables 64-bit floating point types in SPIR-V shaders.

    +

    pub const SHADER_F64: Features = _

    Enables 64-bit floating point types in SPIR-V shaders.

    Note: even when supported by GPU hardware, 64-bit floating point operations are frequently between 16 and 64 times slower than equivalent operations on 32-bit floats.

    Supported Platforms:

    @@ -458,13 +458,13 @@
  • Vulkan
  • This is a native only feature.

    -
    source

    pub const SHADER_I16: Features = _

    Allows shaders to use i16. Not currently supported in naga, only available through spirv-passthrough.

    +

    pub const SHADER_I16: Features = _

    Allows shaders to use i16. Not currently supported in naga, only available through spirv-passthrough.

    Supported platforms:

    • Vulkan

    This is a native only feature.

    -
    source

    pub const SHADER_PRIMITIVE_INDEX: Features = _

    Enables builtin(primitive_index) in fragment shaders.

    +

    pub const SHADER_PRIMITIVE_INDEX: Features = _

    Enables builtin(primitive_index) in fragment shaders.

    Note: enables geometry processing for pipelines using the builtin. This may come with a significant performance impact on some hardware. Other pipelines are not affected.

    @@ -476,13 +476,13 @@
  • OpenGL (some)
  • This is a native only feature.

    -
    source

    pub const SHADER_EARLY_DEPTH_TEST: Features = _

    Allows shaders to use the early_depth_test attribute.

    +

    pub const SHADER_EARLY_DEPTH_TEST: Features = _

    Allows shaders to use the early_depth_test attribute.

    Supported platforms:

    • GLES 3.1+

    This is a native only feature.

    -
    source

    pub const DUAL_SOURCE_BLENDING: Features = _

    Allows two outputs from a shader to be used for blending. +

    pub const DUAL_SOURCE_BLENDING: Features = _

    Allows two outputs from a shader to be used for blending. Note that dual-source blending doesn’t support multiple render targets.

    For more info see the OpenGL ES extension GL_EXT_blend_func_extended.

    Supported platforms:

    @@ -492,7 +492,7 @@
  • Vulkan (with dualSrcBlend)
  • DX12
  • -
    source

    pub const SHADER_INT64: Features = _

    Allows shaders to use i64 and u64.

    +

    pub const SHADER_INT64: Features = _

    Allows shaders to use i64 and u64.

    Supported platforms:

    • Vulkan
    • @@ -500,7 +500,7 @@
    • Metal (with MSL 2.3+)

    This is a native only feature.

    -
    source

    pub const SUBGROUP: Features = _

    Allows compute and fragment shaders to use the subgroup operation built-ins

    +

    pub const SUBGROUP: Features = _

    Allows compute and fragment shaders to use the subgroup operation built-ins

    Supported Platforms:

    • Vulkan
    • @@ -508,20 +508,20 @@
    • Metal

    This is a native only feature.

    -
    source

    pub const SUBGROUP_VERTEX: Features = _

    Allows vertex shaders to use the subgroup operation built-ins

    +

    pub const SUBGROUP_VERTEX: Features = _

    Allows vertex shaders to use the subgroup operation built-ins

    Supported Platforms:

    • Vulkan

    This is a native only feature.

    -
    source

    pub const SUBGROUP_BARRIER: Features = _

    Allows shaders to use the subgroup barrier

    +

    pub const SUBGROUP_BARRIER: Features = _

    Allows shaders to use the subgroup barrier

    Supported Platforms:

    • Vulkan
    • Metal

    This is a native only feature.

    -
    source

    pub const PIPELINE_CACHE: Features = _

    Allows the use of pipeline cache objects

    +

    pub const PIPELINE_CACHE: Features = _

    Allows the use of pipeline cache objects

    Supported platforms:

    • Vulkan
    • @@ -531,7 +531,7 @@
    • DX12
    • Metal
    -
    source

    pub const SHADER_INT64_ATOMIC_MIN_MAX: Features = _

    Allows shaders to use i64 and u64 atomic min and max.

    +

    pub const SHADER_INT64_ATOMIC_MIN_MAX: Features = _

    Allows shaders to use i64 and u64 atomic min and max.

    Supported platforms:

    • Vulkan (with VK_KHR_shader_atomic_int64)
    • @@ -539,14 +539,14 @@
    • Metal (with MSL 2.4+)

    This is a native only feature.

    -
    source

    pub const SHADER_INT64_ATOMIC_ALL_OPS: Features = _

    Allows shaders to use all i64 and u64 atomic operations.

    +

    pub const SHADER_INT64_ATOMIC_ALL_OPS: Features = _

    Allows shaders to use all i64 and u64 atomic operations.

    Supported platforms:

    • Vulkan (with VK_KHR_shader_atomic_int64)
    • DX12 (with SM 6.6+)

    This is a native only feature.

    -
    source

    pub const VULKAN_GOOGLE_DISPLAY_TIMING: Features = _

    Allows using the VK_GOOGLE_display_timing Vulkan extension.

    +

    pub const VULKAN_GOOGLE_DISPLAY_TIMING: Features = _

    Allows using the VK_GOOGLE_display_timing Vulkan extension.

    This is used for frame pacing to reduce latency, and is generally only available on Android.

    This feature does not have a wgpu-level API, and so users of wgpu wishing to use this functionality must access it using various as_hal functions, @@ -556,79 +556,79 @@

  • Vulkan (with VK_GOOGLE_display_timing)
  • This is a native only feature.

    -
    source§

    impl Features

    source

    pub const fn empty() -> Features

    Get a flags value with all bits unset.

    -
    source

    pub const fn all() -> Features

    Get a flags value with all known bits set.

    -
    source

    pub const fn bits(&self) -> u64

    Get the underlying bits value.

    +
    §

    impl Features

    pub const fn empty() -> Features

    Get a flags value with all bits unset.

    +

    pub const fn all() -> Features

    Get a flags value with all known bits set.

    +

    pub const fn bits(&self) -> u64

    Get the underlying bits value.

    The returned value is exactly the bits set in this flags value.

    -
    source

    pub const fn from_bits(bits: u64) -> Option<Features>

    Convert from a bits value.

    +

    pub const fn from_bits(bits: u64) -> Option<Features>

    Convert from a bits value.

    This method will return None if any unknown bits are set.

    -
    source

    pub const fn from_bits_truncate(bits: u64) -> Features

    Convert from a bits value, unsetting any unknown bits.

    -
    source

    pub const fn from_bits_retain(bits: u64) -> Features

    Convert from a bits value exactly.

    -
    source

    pub fn from_name(name: &str) -> Option<Features>

    Get a flags value with the bits of a flag with the given name set.

    +

    pub const fn from_bits_truncate(bits: u64) -> Features

    Convert from a bits value, unsetting any unknown bits.

    +

    pub const fn from_bits_retain(bits: u64) -> Features

    Convert from a bits value exactly.

    +

    pub fn from_name(name: &str) -> Option<Features>

    Get a flags value with the bits of a flag with the given name set.

    This method will return None if name is empty or doesn’t correspond to any named flag.

    -
    source

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    -
    source

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    -
    source

    pub const fn intersects(&self, other: Features) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    -
    source

    pub const fn contains(&self, other: Features) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    -
    source

    pub fn insert(&mut self, other: Features)

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub fn remove(&mut self, other: Features)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    +

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    +

    pub const fn intersects(&self, other: Features) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    +

    pub const fn contains(&self, other: Features) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    +

    pub fn insert(&mut self, other: Features)

    The bitwise or (|) of the bits in two flags values.

    +

    pub fn remove(&mut self, other: Features)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. remove won’t truncate other, but the ! operator will.

    -
    source

    pub fn toggle(&mut self, other: Features)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub fn set(&mut self, other: Features, value: bool)

    Call insert when value is true or remove when value is false.

    -
    source

    pub const fn intersection(self, other: Features) -> Features

    The bitwise and (&) of the bits in two flags values.

    -
    source

    pub const fn union(self, other: Features) -> Features

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub const fn difference(self, other: Features) -> Features

    The intersection of a source flags value with the complement of a target flags value (&!).

    +

    pub fn toggle(&mut self, other: Features)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +

    pub fn set(&mut self, other: Features, value: bool)

    Call insert when value is true or remove when value is false.

    +

    pub const fn intersection(self, other: Features) -> Features

    The bitwise and (&) of the bits in two flags values.

    +

    pub const fn union(self, other: Features) -> Features

    The bitwise or (|) of the bits in two flags values.

    +

    pub const fn difference(self, other: Features) -> Features

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source

    pub const fn symmetric_difference(self, other: Features) -> Features

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub const fn complement(self) -> Features

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    source§

    impl Features

    source

    pub const fn iter(&self) -> Iter<Features>

    Yield a set of contained flags values.

    +

    pub const fn symmetric_difference(self, other: Features) -> Features

    The bitwise exclusive-or (^) of the bits in two flags values.

    +

    pub const fn complement(self) -> Features

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    §

    impl Features

    pub const fn iter(&self) -> Iter<Features>

    Yield a set of contained flags values.

    Each yielded flags value will correspond to a defined named flag. Any unknown bits will be yielded together as a final flags value.

    -
    source

    pub const fn iter_names(&self) -> IterNames<Features>

    Yield a set of contained named flags values.

    +

    pub const fn iter_names(&self) -> IterNames<Features>

    Yield a set of contained named flags values.

    This method is like iter, except only yields bits in contained named flags. Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

    -
    source§

    impl Features

    source

    pub const fn all_webgpu_mask() -> Features

    Mask of all features which are part of the upstream WebGPU standard.

    -
    source

    pub const fn all_native_mask() -> Features

    Mask of all features that are only available when targeting native (not web).

    -
    source

    pub fn allowed_vertex_formats_for_blas(&self) -> Vec<VertexFormat>

    Vertex formats allowed for creating and building BLASes

    -

    Trait Implementations§

    source§

    impl Binary for Features

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    source§

    impl BitAnd for Features

    source§

    fn bitand(self, other: Features) -> Features

    The bitwise and (&) of the bits in two flags values.

    -
    §

    type Output = Features

    The resulting type after applying the & operator.
    source§

    impl BitAndAssign for Features

    source§

    fn bitand_assign(&mut self, other: Features)

    The bitwise and (&) of the bits in two flags values.

    -
    source§

    impl BitOr for Features

    source§

    fn bitor(self, other: Features) -> Features

    The bitwise or (|) of the bits in two flags values.

    -
    §

    type Output = Features

    The resulting type after applying the | operator.
    source§

    impl BitOrAssign for Features

    source§

    fn bitor_assign(&mut self, other: Features)

    The bitwise or (|) of the bits in two flags values.

    -
    source§

    impl BitXor for Features

    source§

    fn bitxor(self, other: Features) -> Features

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    §

    type Output = Features

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign for Features

    source§

    fn bitxor_assign(&mut self, other: Features)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source§

    impl Clone for Features

    source§

    fn clone(&self) -> Features

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Features

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for Features

    source§

    fn default() -> Features

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for Features

    §

    impl Features

    pub const fn all_webgpu_mask() -> Features

    Mask of all features which are part of the upstream WebGPU standard.

    +

    pub const fn all_native_mask() -> Features

    Mask of all features that are only available when targeting native (not web).

    +

    pub fn allowed_vertex_formats_for_blas(&self) -> Vec<VertexFormat>

    Vertex formats allowed for creating and building BLASes

    +

    Trait Implementations§

    §

    impl Binary for Features

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    §

    impl BitAnd for Features

    §

    fn bitand(self, other: Features) -> Features

    The bitwise and (&) of the bits in two flags values.

    +
    §

    type Output = Features

    The resulting type after applying the & operator.
    §

    impl BitAndAssign for Features

    §

    fn bitand_assign(&mut self, other: Features)

    The bitwise and (&) of the bits in two flags values.

    +
    §

    impl BitOr for Features

    §

    fn bitor(self, other: Features) -> Features

    The bitwise or (|) of the bits in two flags values.

    +
    §

    type Output = Features

    The resulting type after applying the | operator.
    §

    impl BitOrAssign for Features

    §

    fn bitor_assign(&mut self, other: Features)

    The bitwise or (|) of the bits in two flags values.

    +
    §

    impl BitXor for Features

    §

    fn bitxor(self, other: Features) -> Features

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    §

    type Output = Features

    The resulting type after applying the ^ operator.
    §

    impl BitXorAssign for Features

    §

    fn bitxor_assign(&mut self, other: Features)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    §

    impl Clone for Features

    §

    fn clone(&self) -> Features

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Features

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for Features

    §

    fn default() -> Features

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for Features

    §

    fn deserialize<__D>( __deserializer: __D ) -> Result<Features, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Extend<Features> for Features

    source§

    fn extend<T>(&mut self, iterator: T)
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Extend<Features> for Features

    §

    fn extend<T>(&mut self, iterator: T)
    where T: IntoIterator<Item = Features>,

    The bitwise or (|) of the bits in each flags value.

    -
    source§

    fn extend_one(&mut self, item: A)

    🔬This is a nightly-only experimental API. (extend_one)
    Extends a collection with exactly one element.
    source§

    fn extend_reserve(&mut self, additional: usize)

    🔬This is a nightly-only experimental API. (extend_one)
    Reserves capacity in a collection for the given number of additional elements. Read more
    source§

    impl Flags for Features

    source§

    const FLAGS: &'static [Flag<Features>] = _

    The set of defined flags.
    §

    type Bits = u64

    The underlying bits type.
    source§

    fn bits(&self) -> u64

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u64) -> Features

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where +

    source§

    fn extend_one(&mut self, item: A)

    🔬This is a nightly-only experimental API. (extend_one)
    Extends a collection with exactly one element.
    source§

    fn extend_reserve(&mut self, additional: usize)

    🔬This is a nightly-only experimental API. (extend_one)
    Reserves capacity in a collection for the given number of additional elements. Read more
    §

    impl Flags for Features

    §

    const FLAGS: &'static [Flag<Features>] = _

    The set of defined flags.
    §

    type Bits = u64

    The underlying bits type.
    §

    fn bits(&self) -> u64

    Get the underlying bits value. Read more
    §

    fn from_bits_retain(bits: u64) -> Features

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where Self: Sized,

    Whether any set bits in a source flags value are also set in a target flags value.
    §

    fn contains(&self, other: Self) -> bool
    where Self: Sized,

    Whether all set bits in a source flags value are also set in a target flags value.
    §

    fn insert(&mut self, other: Self)
    where Self: Sized,

    The bitwise or (|) of the bits in two flags values.
    §

    fn remove(&mut self, other: Self)
    where Self: Sized,

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn toggle(&mut self, other: Self)
    where Self: Sized,

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn set(&mut self, other: Self, value: bool)
    where - Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    source§

    impl FromIterator<Features> for Features

    source§

    fn from_iter<T>(iterator: T) -> Features
    where + Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    §

    impl FromIterator<Features> for Features

    §

    fn from_iter<T>(iterator: T) -> Features
    where T: IntoIterator<Item = Features>,

    The bitwise or (|) of the bits in each flags value.

    -
    source§

    impl Hash for Features

    source§

    fn hash<__H>(&self, state: &mut __H)
    where +

    §

    impl Hash for Features

    §

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoIterator for Features

    §

    type Item = Features

    The type of the elements being iterated over.
    §

    type IntoIter = Iter<Features>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> <Features as IntoIterator>::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl LowerHex for Features

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    source§

    impl Not for Features

    source§

    fn not(self) -> Features

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    §

    type Output = Features

    The resulting type after applying the ! operator.
    source§

    impl Octal for Features

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    source§

    impl PartialEq for Features

    source§

    fn eq(&self, other: &Features) -> bool

    This method tests for self and other values to be equal, and is used + Self: Sized,
    Feeds a slice of this type into the given Hasher. Read more
    §

    impl IntoIterator for Features

    §

    type Item = Features

    The type of the elements being iterated over.
    §

    type IntoIter = Iter<Features>

    Which kind of iterator are we turning this into?
    §

    fn into_iter(self) -> <Features as IntoIterator>::IntoIter

    Creates an iterator from a value. Read more
    §

    impl LowerHex for Features

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    §

    impl Not for Features

    §

    fn not(self) -> Features

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    §

    type Output = Features

    The resulting type after applying the ! operator.
    §

    impl Octal for Features

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    §

    impl PartialEq for Features

    §

    fn eq(&self, other: &Features) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Features

    source§

    fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

    §

    impl Serialize for Features

    §

    fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Sub for Features

    source§

    fn sub(self, other: Features) -> Features

    The intersection of a source flags value with the complement of a target flags value (&!).

    + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl Sub for Features

    §

    fn sub(self, other: Features) -> Features

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    §

    type Output = Features

    The resulting type after applying the - operator.
    source§

    impl SubAssign for Features

    source§

    fn sub_assign(&mut self, other: Features)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    §

    type Output = Features

    The resulting type after applying the - operator.
    §

    impl SubAssign for Features

    §

    fn sub_assign(&mut self, other: Features)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source§

    impl UpperHex for Features

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    source§

    impl Copy for Features

    source§

    impl Eq for Features

    source§

    impl StructuralEq for Features

    source§

    impl StructuralPartialEq for Features

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    §

    impl UpperHex for Features

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    §

    impl Copy for Features

    §

    impl Eq for Features

    §

    impl StructuralEq for Features

    §

    impl StructuralPartialEq for Features

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    §

    impl<Q, K> Equivalent<K> for Q
    where @@ -644,7 +644,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.FragmentState.html b/doc/wgpu/struct.FragmentState.html index 5b9b5cb0593a..37efffc67daa 100644 --- a/doc/wgpu/struct.FragmentState.html +++ b/doc/wgpu/struct.FragmentState.html @@ -26,7 +26,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.HalCounters.html b/doc/wgpu/struct.HalCounters.html index 6a8317df1c21..083ee501b363 100644 --- a/doc/wgpu/struct.HalCounters.html +++ b/doc/wgpu/struct.HalCounters.html @@ -1,26 +1,26 @@ HalCounters in wgpu - Rust -

    Struct wgpu::HalCounters

    source ·
    pub struct HalCounters {
    Show 16 fields - pub buffers: InternalCounter, - pub textures: InternalCounter, - pub texture_views: InternalCounter, - pub bind_groups: InternalCounter, - pub bind_group_layouts: InternalCounter, - pub render_pipelines: InternalCounter, - pub compute_pipelines: InternalCounter, - pub pipeline_layouts: InternalCounter, - pub samplers: InternalCounter, - pub command_encoders: InternalCounter, - pub shader_modules: InternalCounter, - pub query_sets: InternalCounter, - pub fences: InternalCounter, - pub buffer_memory: InternalCounter, - pub texture_memory: InternalCounter, - pub memory_allocations: InternalCounter, +

    Struct wgpu::HalCounters

    pub struct HalCounters {
    Show 16 fields + pub buffers: InternalCounter, + pub textures: InternalCounter, + pub texture_views: InternalCounter, + pub bind_groups: InternalCounter, + pub bind_group_layouts: InternalCounter, + pub render_pipelines: InternalCounter, + pub compute_pipelines: InternalCounter, + pub pipeline_layouts: InternalCounter, + pub samplers: InternalCounter, + pub command_encoders: InternalCounter, + pub shader_modules: InternalCounter, + pub query_sets: InternalCounter, + pub fences: InternalCounter, + pub buffer_memory: InternalCounter, + pub texture_memory: InternalCounter, + pub memory_allocations: InternalCounter,
    }
    Expand description

    wgpu-hal’s internal counters.

    -

    Fields§

    §buffers: InternalCounter§textures: InternalCounter§texture_views: InternalCounter§bind_groups: InternalCounter§bind_group_layouts: InternalCounter§render_pipelines: InternalCounter§compute_pipelines: InternalCounter§pipeline_layouts: InternalCounter§samplers: InternalCounter§command_encoders: InternalCounter§shader_modules: InternalCounter§query_sets: InternalCounter§fences: InternalCounter§buffer_memory: InternalCounter

    Amount of allocated gpu memory attributed to buffers, in bytes.

    -
    §texture_memory: InternalCounter

    Amount of allocated gpu memory attributed to textures, in bytes.

    -
    §memory_allocations: InternalCounter

    Number of gpu memory allocations.

    -

    Trait Implementations§

    source§

    impl Clone for HalCounters

    source§

    fn clone(&self) -> HalCounters

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Default for HalCounters

    source§

    fn default() -> HalCounters

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Fields§

    §buffers: InternalCounter§textures: InternalCounter§texture_views: InternalCounter§bind_groups: InternalCounter§bind_group_layouts: InternalCounter§render_pipelines: InternalCounter§compute_pipelines: InternalCounter§pipeline_layouts: InternalCounter§samplers: InternalCounter§command_encoders: InternalCounter§shader_modules: InternalCounter§query_sets: InternalCounter§fences: InternalCounter§buffer_memory: InternalCounter

    Amount of allocated gpu memory attributed to buffers, in bytes.

    +
    §texture_memory: InternalCounter

    Amount of allocated gpu memory attributed to textures, in bytes.

    +
    §memory_allocations: InternalCounter

    Number of gpu memory allocations.

    +

    Trait Implementations§

    §

    impl Clone for HalCounters

    §

    fn clone(&self) -> HalCounters

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Default for HalCounters

    §

    fn default() -> HalCounters

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -31,7 +31,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.ImageSubresourceRange.html b/doc/wgpu/struct.ImageSubresourceRange.html index 6c716bd95e7c..14f8b351cffb 100644 --- a/doc/wgpu/struct.ImageSubresourceRange.html +++ b/doc/wgpu/struct.ImageSubresourceRange.html @@ -1,5 +1,5 @@ ImageSubresourceRange in wgpu - Rust -
    #[repr(C)]
    pub struct ImageSubresourceRange { +
    #[repr(C)]
    pub struct ImageSubresourceRange { pub aspect: TextureAspect, pub base_mip_level: u32, pub mip_level_count: Option<u32>, @@ -15,7 +15,7 @@
    §array_layer_count: Option<u32>

    Layer count. If Some(count), base_array_layer + count must be less or equal to the underlying array count. If None, considered to include the rest of the array layers, but at least 1 in total.

    -

    Implementations§

    source§

    impl ImageSubresourceRange

    Implementations§

    §

    impl ImageSubresourceRange

    pub fn is_full_resource( &self, format: TextureFormat, mip_levels: u32, @@ -51,18 +51,18 @@ array_layer_count: None, }; assert_eq!(range_mixed.is_full_resource(wgpu::TextureFormat::Stencil8, 5, 10), false);

    -
    source

    pub fn mip_range(&self, mip_level_count: u32) -> Range<u32>

    Returns the mip level range of a subresource range describes for a specific texture.

    -
    source

    pub fn layer_range(&self, array_layer_count: u32) -> Range<u32>

    Returns the layer range of a subresource range describes for a specific texture.

    -

    Trait Implementations§

    source§

    impl Clone for ImageSubresourceRange

    source§

    fn clone(&self) -> ImageSubresourceRange

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ImageSubresourceRange

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for ImageSubresourceRange

    source§

    fn default() -> ImageSubresourceRange

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for ImageSubresourceRange

    pub fn mip_range(&self, mip_level_count: u32) -> Range<u32>

    Returns the mip level range of a subresource range describes for a specific texture.

    +

    pub fn layer_range(&self, array_layer_count: u32) -> Range<u32>

    Returns the layer range of a subresource range describes for a specific texture.

    +

    Trait Implementations§

    §

    impl Clone for ImageSubresourceRange

    §

    fn clone(&self) -> ImageSubresourceRange

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for ImageSubresourceRange

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for ImageSubresourceRange

    §

    fn default() -> ImageSubresourceRange

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for ImageSubresourceRange

    §

    fn deserialize<__D>( __deserializer: __D ) -> Result<ImageSubresourceRange, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl PartialEq for ImageSubresourceRange

    source§

    fn eq(&self, other: &ImageSubresourceRange) -> bool

    This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq for ImageSubresourceRange

    §

    fn eq(&self, other: &ImageSubresourceRange) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for ImageSubresourceRange

    source§

    fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

    §

    impl Serialize for ImageSubresourceRange

    §

    fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for ImageSubresourceRange

    source§

    impl Eq for ImageSubresourceRange

    source§

    impl StructuralEq for ImageSubresourceRange

    source§

    impl StructuralPartialEq for ImageSubresourceRange

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Copy for ImageSubresourceRange

    §

    impl Eq for ImageSubresourceRange

    §

    impl StructuralEq for ImageSubresourceRange

    §

    impl StructuralPartialEq for ImageSubresourceRange

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    §

    impl<Q, K> Equivalent<K> for Q
    where @@ -78,7 +78,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.Instance.html b/doc/wgpu/struct.Instance.html index 1fe61c610228..e7ed4e0fbc5c 100644 --- a/doc/wgpu/struct.Instance.html +++ b/doc/wgpu/struct.Instance.html @@ -139,7 +139,7 @@
    Panics
    From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.InstanceDescriptor.html b/doc/wgpu/struct.InstanceDescriptor.html index 4ca6c9b1ee89..75cdecdaa9fa 100644 --- a/doc/wgpu/struct.InstanceDescriptor.html +++ b/doc/wgpu/struct.InstanceDescriptor.html @@ -1,5 +1,5 @@ InstanceDescriptor in wgpu - Rust -
    pub struct InstanceDescriptor {
    +    
    pub struct InstanceDescriptor {
         pub backends: Backends,
         pub flags: InstanceFlags,
         pub dx12_shader_compiler: Dx12Compiler,
    @@ -9,7 +9,7 @@
     
    §flags: InstanceFlags

    Flags to tune the behavior of the instance.

    §dx12_shader_compiler: Dx12Compiler

    Which DX12 shader compiler to use.

    §gles_minor_version: Gles3MinorVersion

    Which OpenGL ES 3 minor version to request. Will be ignored if OpenGL is available.

    -

    Trait Implementations§

    source§

    impl Debug for InstanceDescriptor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for InstanceDescriptor

    source§

    fn default() -> InstanceDescriptor

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Trait Implementations§

    §

    impl Debug for InstanceDescriptor

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for InstanceDescriptor

    §

    fn default() -> InstanceDescriptor

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -19,7 +19,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.InstanceFlags.html b/doc/wgpu/struct.InstanceFlags.html index d77c39a88d15..e5150761947e 100644 --- a/doc/wgpu/struct.InstanceFlags.html +++ b/doc/wgpu/struct.InstanceFlags.html @@ -1,18 +1,18 @@ InstanceFlags in wgpu - Rust -

    Struct wgpu::InstanceFlags

    source ·
    pub struct InstanceFlags(/* private fields */);
    Expand description

    Instance debugging flags.

    +

    Struct wgpu::InstanceFlags

    pub struct InstanceFlags(/* private fields */);
    Expand description

    Instance debugging flags.

    These are not part of the webgpu standard.

    Defaults to enabling debugging-related flags if the build configuration has debug_assertions.

    -

    Implementations§

    source§

    impl InstanceFlags

    source

    pub const DEBUG: InstanceFlags = _

    Generate debug information in shaders and objects.

    -
    source

    pub const VALIDATION: InstanceFlags = _

    Enable validation, if possible.

    -
    source

    pub const DISCARD_HAL_LABELS: InstanceFlags = _

    Don’t pass labels to wgpu-hal.

    -
    source

    pub const ALLOW_UNDERLYING_NONCOMPLIANT_ADAPTER: InstanceFlags = _

    Whether wgpu should expose adapters that run on top of non-compliant adapters.

    +

    Implementations§

    §

    impl InstanceFlags

    pub const DEBUG: InstanceFlags = _

    Generate debug information in shaders and objects.

    +

    pub const VALIDATION: InstanceFlags = _

    Enable validation, if possible.

    +

    pub const DISCARD_HAL_LABELS: InstanceFlags = _

    Don’t pass labels to wgpu-hal.

    +

    pub const ALLOW_UNDERLYING_NONCOMPLIANT_ADAPTER: InstanceFlags = _

    Whether wgpu should expose adapters that run on top of non-compliant adapters.

    Turning this on might mean that some of the functionality provided by the wgpu adapter/device is not working or is broken. It could be that all the functionality wgpu currently exposes works but we can’t tell for sure since we have no additional transparency into what is working and what is not on the underlying adapter.

    This mainly applies to a Vulkan driver’s compliance version. If the major compliance version is 0, then the driver is ignored. This flag allows that driver to be enabled for testing.

    -
    source

    pub const GPU_BASED_VALIDATION: InstanceFlags = _

    Enable GPU-based validation. Implies Self::VALIDATION. Currently, this only changes +

    pub const GPU_BASED_VALIDATION: InstanceFlags = _

    Enable GPU-based validation. Implies Self::VALIDATION. Currently, this only changes behavior on the DX12 and Vulkan backends.

    Supported platforms:

    -
    source§

    impl InstanceFlags

    source

    pub const fn empty() -> InstanceFlags

    Get a flags value with all bits unset.

    -
    source

    pub const fn all() -> InstanceFlags

    Get a flags value with all known bits set.

    -
    source

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    +
    §

    impl InstanceFlags

    pub const fn empty() -> InstanceFlags

    Get a flags value with all bits unset.

    +

    pub const fn all() -> InstanceFlags

    Get a flags value with all known bits set.

    +

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    The returned value is exactly the bits set in this flags value.

    -
    source

    pub const fn from_bits(bits: u32) -> Option<InstanceFlags>

    Convert from a bits value.

    +

    pub const fn from_bits(bits: u32) -> Option<InstanceFlags>

    Convert from a bits value.

    This method will return None if any unknown bits are set.

    -
    source

    pub const fn from_bits_truncate(bits: u32) -> InstanceFlags

    Convert from a bits value, unsetting any unknown bits.

    -
    source

    pub const fn from_bits_retain(bits: u32) -> InstanceFlags

    Convert from a bits value exactly.

    -
    source

    pub fn from_name(name: &str) -> Option<InstanceFlags>

    Get a flags value with the bits of a flag with the given name set.

    +

    pub const fn from_bits_truncate(bits: u32) -> InstanceFlags

    Convert from a bits value, unsetting any unknown bits.

    +

    pub const fn from_bits_retain(bits: u32) -> InstanceFlags

    Convert from a bits value exactly.

    +

    pub fn from_name(name: &str) -> Option<InstanceFlags>

    Get a flags value with the bits of a flag with the given name set.

    This method will return None if name is empty or doesn’t correspond to any named flag.

    -
    source

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    -
    source

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    -
    source

    pub const fn intersects(&self, other: InstanceFlags) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    -
    source

    pub const fn contains(&self, other: InstanceFlags) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    -
    source

    pub fn insert(&mut self, other: InstanceFlags)

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub fn remove(&mut self, other: InstanceFlags)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    +

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    +

    pub const fn intersects(&self, other: InstanceFlags) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    +

    pub const fn contains(&self, other: InstanceFlags) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    +

    pub fn insert(&mut self, other: InstanceFlags)

    The bitwise or (|) of the bits in two flags values.

    +

    pub fn remove(&mut self, other: InstanceFlags)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. remove won’t truncate other, but the ! operator will.

    -
    source

    pub fn toggle(&mut self, other: InstanceFlags)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub fn set(&mut self, other: InstanceFlags, value: bool)

    Call insert when value is true or remove when value is false.

    -
    source

    pub const fn intersection(self, other: InstanceFlags) -> InstanceFlags

    The bitwise and (&) of the bits in two flags values.

    -
    source

    pub const fn union(self, other: InstanceFlags) -> InstanceFlags

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub const fn difference(self, other: InstanceFlags) -> InstanceFlags

    The intersection of a source flags value with the complement of a target flags value (&!).

    +

    pub fn toggle(&mut self, other: InstanceFlags)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +

    pub fn set(&mut self, other: InstanceFlags, value: bool)

    Call insert when value is true or remove when value is false.

    +

    pub const fn intersection(self, other: InstanceFlags) -> InstanceFlags

    The bitwise and (&) of the bits in two flags values.

    +

    pub const fn union(self, other: InstanceFlags) -> InstanceFlags

    The bitwise or (|) of the bits in two flags values.

    +

    pub const fn difference(self, other: InstanceFlags) -> InstanceFlags

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source

    pub const fn symmetric_difference(self, other: InstanceFlags) -> InstanceFlags

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub const fn complement(self) -> InstanceFlags

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    source§

    impl InstanceFlags

    source

    pub const fn iter(&self) -> Iter<InstanceFlags>

    Yield a set of contained flags values.

    +

    pub const fn symmetric_difference(self, other: InstanceFlags) -> InstanceFlags

    The bitwise exclusive-or (^) of the bits in two flags values.

    +

    pub const fn complement(self) -> InstanceFlags

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    §

    impl InstanceFlags

    pub const fn iter(&self) -> Iter<InstanceFlags>

    Yield a set of contained flags values.

    Each yielded flags value will correspond to a defined named flag. Any unknown bits will be yielded together as a final flags value.

    -
    source

    pub const fn iter_names(&self) -> IterNames<InstanceFlags>

    Yield a set of contained named flags values.

    +

    pub const fn iter_names(&self) -> IterNames<InstanceFlags>

    Yield a set of contained named flags values.

    This method is like iter, except only yields bits in contained named flags. Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

    -
    source§

    impl InstanceFlags

    source

    pub fn debugging() -> InstanceFlags

    Enable recommended debugging and validation flags.

    -
    source

    pub fn advanced_debugging() -> InstanceFlags

    Enable advanced debugging and validation flags (potentially very slow).

    -
    source

    pub fn from_build_config() -> InstanceFlags

    Infer good defaults from the build type

    +
    §

    impl InstanceFlags

    pub fn debugging() -> InstanceFlags

    Enable recommended debugging and validation flags.

    +

    pub fn advanced_debugging() -> InstanceFlags

    Enable advanced debugging and validation flags (potentially very slow).

    +

    pub fn from_build_config() -> InstanceFlags

    Infer good defaults from the build type

    Returns the default flags and add debugging flags if the build configuration has debug_assertions.

    -
    source

    pub fn with_env(self) -> InstanceFlags

    Returns this set of flags, affected by environment variables.

    +

    pub fn with_env(self) -> InstanceFlags

    Returns this set of flags, affected by environment variables.

    The presence of an environment variable implies that the corresponding flag should be set unless the value is “0” in which case the flag is unset. If the environment variable is not present, then the flag is unaffected.

    @@ -70,35 +70,35 @@
  • WGPU_DEBUG
  • WGPU_VALIDATION
  • -

    Trait Implementations§

    source§

    impl Binary for InstanceFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    source§

    impl BitAnd for InstanceFlags

    source§

    fn bitand(self, other: InstanceFlags) -> InstanceFlags

    The bitwise and (&) of the bits in two flags values.

    -
    §

    type Output = InstanceFlags

    The resulting type after applying the & operator.
    source§

    impl BitAndAssign for InstanceFlags

    source§

    fn bitand_assign(&mut self, other: InstanceFlags)

    The bitwise and (&) of the bits in two flags values.

    -
    source§

    impl BitOr for InstanceFlags

    source§

    fn bitor(self, other: InstanceFlags) -> InstanceFlags

    The bitwise or (|) of the bits in two flags values.

    -
    §

    type Output = InstanceFlags

    The resulting type after applying the | operator.
    source§

    impl BitOrAssign for InstanceFlags

    source§

    fn bitor_assign(&mut self, other: InstanceFlags)

    The bitwise or (|) of the bits in two flags values.

    -
    source§

    impl BitXor for InstanceFlags

    source§

    fn bitxor(self, other: InstanceFlags) -> InstanceFlags

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    §

    type Output = InstanceFlags

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign for InstanceFlags

    source§

    fn bitxor_assign(&mut self, other: InstanceFlags)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source§

    impl Clone for InstanceFlags

    source§

    fn clone(&self) -> InstanceFlags

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for InstanceFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for InstanceFlags

    source§

    fn default() -> InstanceFlags

    Returns the “default value” for a type. Read more
    source§

    impl Extend<InstanceFlags> for InstanceFlags

    source§

    fn extend<T>(&mut self, iterator: T)
    where +

    Trait Implementations§

    §

    impl Binary for InstanceFlags

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    §

    impl BitAnd for InstanceFlags

    §

    fn bitand(self, other: InstanceFlags) -> InstanceFlags

    The bitwise and (&) of the bits in two flags values.

    +
    §

    type Output = InstanceFlags

    The resulting type after applying the & operator.
    §

    impl BitAndAssign for InstanceFlags

    §

    fn bitand_assign(&mut self, other: InstanceFlags)

    The bitwise and (&) of the bits in two flags values.

    +
    §

    impl BitOr for InstanceFlags

    §

    fn bitor(self, other: InstanceFlags) -> InstanceFlags

    The bitwise or (|) of the bits in two flags values.

    +
    §

    type Output = InstanceFlags

    The resulting type after applying the | operator.
    §

    impl BitOrAssign for InstanceFlags

    §

    fn bitor_assign(&mut self, other: InstanceFlags)

    The bitwise or (|) of the bits in two flags values.

    +
    §

    impl BitXor for InstanceFlags

    §

    fn bitxor(self, other: InstanceFlags) -> InstanceFlags

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    §

    type Output = InstanceFlags

    The resulting type after applying the ^ operator.
    §

    impl BitXorAssign for InstanceFlags

    §

    fn bitxor_assign(&mut self, other: InstanceFlags)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    §

    impl Clone for InstanceFlags

    §

    fn clone(&self) -> InstanceFlags

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for InstanceFlags

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for InstanceFlags

    §

    fn default() -> InstanceFlags

    Returns the “default value” for a type. Read more
    §

    impl Extend<InstanceFlags> for InstanceFlags

    §

    fn extend<T>(&mut self, iterator: T)
    where T: IntoIterator<Item = InstanceFlags>,

    The bitwise or (|) of the bits in each flags value.

    -
    source§

    fn extend_one(&mut self, item: A)

    🔬This is a nightly-only experimental API. (extend_one)
    Extends a collection with exactly one element.
    source§

    fn extend_reserve(&mut self, additional: usize)

    🔬This is a nightly-only experimental API. (extend_one)
    Reserves capacity in a collection for the given number of additional elements. Read more
    source§

    impl Flags for InstanceFlags

    source§

    const FLAGS: &'static [Flag<InstanceFlags>] = _

    The set of defined flags.
    §

    type Bits = u32

    The underlying bits type.
    source§

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u32) -> InstanceFlags

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where +

    source§

    fn extend_one(&mut self, item: A)

    🔬This is a nightly-only experimental API. (extend_one)
    Extends a collection with exactly one element.
    source§

    fn extend_reserve(&mut self, additional: usize)

    🔬This is a nightly-only experimental API. (extend_one)
    Reserves capacity in a collection for the given number of additional elements. Read more
    §

    impl Flags for InstanceFlags

    §

    const FLAGS: &'static [Flag<InstanceFlags>] = _

    The set of defined flags.
    §

    type Bits = u32

    The underlying bits type.
    §

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    §

    fn from_bits_retain(bits: u32) -> InstanceFlags

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where Self: Sized,

    Whether any set bits in a source flags value are also set in a target flags value.
    §

    fn contains(&self, other: Self) -> bool
    where Self: Sized,

    Whether all set bits in a source flags value are also set in a target flags value.
    §

    fn insert(&mut self, other: Self)
    where Self: Sized,

    The bitwise or (|) of the bits in two flags values.
    §

    fn remove(&mut self, other: Self)
    where Self: Sized,

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn toggle(&mut self, other: Self)
    where Self: Sized,

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn set(&mut self, other: Self, value: bool)
    where - Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    source§

    impl FromIterator<InstanceFlags> for InstanceFlags

    source§

    fn from_iter<T>(iterator: T) -> InstanceFlags
    where + Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    §

    impl FromIterator<InstanceFlags> for InstanceFlags

    §

    fn from_iter<T>(iterator: T) -> InstanceFlags
    where T: IntoIterator<Item = InstanceFlags>,

    The bitwise or (|) of the bits in each flags value.

    -
    source§

    impl Hash for InstanceFlags

    source§

    fn hash<__H>(&self, state: &mut __H)
    where +

    §

    impl Hash for InstanceFlags

    §

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoIterator for InstanceFlags

    §

    type Item = InstanceFlags

    The type of the elements being iterated over.
    §

    type IntoIter = Iter<InstanceFlags>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> <InstanceFlags as IntoIterator>::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl LowerHex for InstanceFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    source§

    impl Not for InstanceFlags

    source§

    fn not(self) -> InstanceFlags

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    §

    type Output = InstanceFlags

    The resulting type after applying the ! operator.
    source§

    impl Octal for InstanceFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    source§

    impl PartialEq for InstanceFlags

    source§

    fn eq(&self, other: &InstanceFlags) -> bool

    This method tests for self and other values to be equal, and is used + Self: Sized,
    Feeds a slice of this type into the given Hasher. Read more
    §

    impl IntoIterator for InstanceFlags

    §

    type Item = InstanceFlags

    The type of the elements being iterated over.
    §

    type IntoIter = Iter<InstanceFlags>

    Which kind of iterator are we turning this into?
    §

    fn into_iter(self) -> <InstanceFlags as IntoIterator>::IntoIter

    Creates an iterator from a value. Read more
    §

    impl LowerHex for InstanceFlags

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    §

    impl Not for InstanceFlags

    §

    fn not(self) -> InstanceFlags

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    §

    type Output = InstanceFlags

    The resulting type after applying the ! operator.
    §

    impl Octal for InstanceFlags

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    §

    impl PartialEq for InstanceFlags

    §

    fn eq(&self, other: &InstanceFlags) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Sub for InstanceFlags

    source§

    fn sub(self, other: InstanceFlags) -> InstanceFlags

    The intersection of a source flags value with the complement of a target flags value (&!).

    +sufficient, and should not be overridden without very good reason.
    §

    impl Sub for InstanceFlags

    §

    fn sub(self, other: InstanceFlags) -> InstanceFlags

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    §

    type Output = InstanceFlags

    The resulting type after applying the - operator.
    source§

    impl SubAssign for InstanceFlags

    source§

    fn sub_assign(&mut self, other: InstanceFlags)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    §

    type Output = InstanceFlags

    The resulting type after applying the - operator.
    §

    impl SubAssign for InstanceFlags

    §

    fn sub_assign(&mut self, other: InstanceFlags)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source§

    impl UpperHex for InstanceFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    source§

    impl Copy for InstanceFlags

    source§

    impl Eq for InstanceFlags

    source§

    impl StructuralEq for InstanceFlags

    source§

    impl StructuralPartialEq for InstanceFlags

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    §

    impl UpperHex for InstanceFlags

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    §

    impl Copy for InstanceFlags

    §

    impl Eq for InstanceFlags

    §

    impl StructuralEq for InstanceFlags

    §

    impl StructuralPartialEq for InstanceFlags

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    §

    impl<Q, K> Equivalent<K> for Q
    where @@ -113,7 +113,7 @@

    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.InternalCounters.html b/doc/wgpu/struct.InternalCounters.html index 971770a80d44..fe15732d8712 100644 --- a/doc/wgpu/struct.InternalCounters.html +++ b/doc/wgpu/struct.InternalCounters.html @@ -1,11 +1,11 @@ InternalCounters in wgpu - Rust -

    Struct wgpu::InternalCounters

    source ·
    pub struct InternalCounters {
    +    

    Struct wgpu::InternalCounters

    pub struct InternalCounters {
         pub core: CoreCounters,
         pub hal: HalCounters,
     }
    Expand description

    All internal counters, exposed for debugging purposes.

    Fields§

    §core: CoreCounters

    wgpu-core counters.

    §hal: HalCounters

    wgpu-hal counters.

    -

    Trait Implementations§

    source§

    impl Clone for InternalCounters

    source§

    fn clone(&self) -> InternalCounters

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Default for InternalCounters

    source§

    fn default() -> InternalCounters

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Trait Implementations§

    §

    impl Clone for InternalCounters

    §

    fn clone(&self) -> InternalCounters

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Default for InternalCounters

    §

    fn default() -> InternalCounters

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -16,7 +16,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.Limits.html b/doc/wgpu/struct.Limits.html index de0b45a9c6f9..1d0298eaea53 100644 --- a/doc/wgpu/struct.Limits.html +++ b/doc/wgpu/struct.Limits.html @@ -1,5 +1,5 @@ Limits in wgpu - Rust -

    Struct wgpu::Limits

    source ·
    #[repr(C)]
    pub struct Limits {
    Show 34 fields +

    Struct wgpu::Limits

    #[repr(C)]
    pub struct Limits {
    Show 34 fields pub max_texture_dimension_1d: u32, pub max_texture_dimension_2d: u32, pub max_texture_dimension_3d: u32, @@ -130,7 +130,7 @@
    §max_non_sampler_bindings: u32

    Maximum number of live non-sampler bindings.

    This limit only affects the d3d12 backend. Using a large number will allow the device to create many bind groups at the cost of a large up-front allocation at device creation.

    -

    Implementations§

    source§

    impl Limits

    source

    pub const fn downlevel_defaults() -> Limits

    These default limits are guaranteed to be compatible with GLES-3.1, and D3D11

    +

    Implementations§

    §

    impl Limits

    pub const fn downlevel_defaults() -> Limits

    These default limits are guaranteed to be compatible with GLES-3.1, and D3D11

    Those limits are as follows (different from default are marked with *):

    assert_eq!(Limits::downlevel_defaults(), Limits {
    @@ -169,7 +169,7 @@
         max_buffer_size: 256 << 20, // (256 MiB)
         max_non_sampler_bindings: 1_000_000,
     });
    -
    source

    pub const fn downlevel_webgl2_defaults() -> Limits

    These default limits are guaranteed to be compatible with GLES-3.0, and D3D11, and WebGL2

    +

    pub const fn downlevel_webgl2_defaults() -> Limits

    These default limits are guaranteed to be compatible with GLES-3.0, and D3D11, and WebGL2

    Those limits are as follows (different from downlevel_defaults are marked with +, *’s from downlevel_defaults shown as well.):

    @@ -209,14 +209,14 @@ max_buffer_size: 256 << 20, // (256 MiB), max_non_sampler_bindings: 1_000_000, });
    -
    source

    pub const fn using_resolution(self, other: Limits) -> Limits

    Modify the current limits to use the resolution limits of the other.

    +

    pub const fn using_resolution(self, other: Limits) -> Limits

    Modify the current limits to use the resolution limits of the other.

    This is useful because the swapchain might need to be larger than any other image in the application.

    If your application only needs 512x512, you might be running on a 4k display and need extremely high resolution limits.

    -
    source

    pub const fn using_alignment(self, other: Limits) -> Limits

    Modify the current limits to use the buffer alignment limits of the adapter.

    +

    pub const fn using_alignment(self, other: Limits) -> Limits

    Modify the current limits to use the buffer alignment limits of the adapter.

    This is useful for when you’d like to dynamically use the “best” supported buffer alignments.

    -
    source

    pub fn check_limits(&self, allowed: &Limits) -> bool

    Compares every limits within self is within the limits given in allowed.

    +

    pub fn check_limits(&self, allowed: &Limits) -> bool

    Compares every limits within self is within the limits given in allowed.

    If you need detailed information on failures, look at Limits::check_limits_with_fail_fn.

    -
    source

    pub fn check_limits_with_fail_fn( +

    pub fn check_limits_with_fail_fn( &self, allowed: &Limits, fatal: bool, @@ -231,20 +231,20 @@
  • allowed’s limit.
  • If fatal is true, a single failure bails out the comparison after a single failure.

    -

    Trait Implementations§

    source§

    impl Clone for Limits

    source§

    fn clone(&self) -> Limits

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Limits

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for Limits

    source§

    fn default() -> Limits

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for Limits
    where - Limits: Default,

    Trait Implementations§

    §

    impl Clone for Limits

    §

    fn clone(&self) -> Limits

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Limits

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for Limits

    §

    fn default() -> Limits

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for Limits
    where + Limits: Default,

    §

    fn deserialize<__D>( __deserializer: __D ) -> Result<Limits, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Hash for Limits

    source§

    fn hash<__H>(&self, state: &mut __H)
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Hash for Limits

    §

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for Limits

    source§

    fn eq(&self, other: &Limits) -> bool

    This method tests for self and other values to be equal, and is used + Self: Sized,
    Feeds a slice of this type into the given Hasher. Read more
    §

    impl PartialEq for Limits

    §

    fn eq(&self, other: &Limits) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Limits

    source§

    fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

    §

    impl Serialize for Limits

    §

    fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Eq for Limits

    source§

    impl StructuralEq for Limits

    source§

    impl StructuralPartialEq for Limits

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Eq for Limits

    §

    impl StructuralEq for Limits

    §

    impl StructuralPartialEq for Limits

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    §

    impl<Q, K> Equivalent<K> for Q
    where @@ -260,7 +260,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.MultisampleState.html b/doc/wgpu/struct.MultisampleState.html index 9ab6fb0dee0c..cfbfce8a35f0 100644 --- a/doc/wgpu/struct.MultisampleState.html +++ b/doc/wgpu/struct.MultisampleState.html @@ -1,5 +1,5 @@ MultisampleState in wgpu - Rust -

    Struct wgpu::MultisampleState

    source ·
    #[repr(C)]
    pub struct MultisampleState { +

    Struct wgpu::MultisampleState

    #[repr(C)]
    pub struct MultisampleState { pub count: u32, pub mask: u64, pub alpha_to_coverage_enabled: bool, @@ -14,19 +14,19 @@ affected by a primitive.

    The implicit mask produced for alpha of zero is guaranteed to be zero, and for alpha of one is guaranteed to be all 1-s.

    -

    Trait Implementations§

    source§

    impl Clone for MultisampleState

    source§

    fn clone(&self) -> MultisampleState

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for MultisampleState

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for MultisampleState

    source§

    fn default() -> MultisampleState

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for MultisampleState

    Trait Implementations§

    §

    impl Clone for MultisampleState

    §

    fn clone(&self) -> MultisampleState

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for MultisampleState

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for MultisampleState

    §

    fn default() -> MultisampleState

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for MultisampleState

    §

    fn deserialize<__D>( __deserializer: __D ) -> Result<MultisampleState, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Hash for MultisampleState

    source§

    fn hash<__H>(&self, state: &mut __H)
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Hash for MultisampleState

    §

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for MultisampleState

    source§

    fn eq(&self, other: &MultisampleState) -> bool

    This method tests for self and other values to be equal, and is used + Self: Sized,
    Feeds a slice of this type into the given Hasher. Read more
    §

    impl PartialEq for MultisampleState

    §

    fn eq(&self, other: &MultisampleState) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for MultisampleState

    source§

    fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

    §

    impl Serialize for MultisampleState

    §

    fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for MultisampleState

    source§

    impl Eq for MultisampleState

    source§

    impl StructuralEq for MultisampleState

    source§

    impl StructuralPartialEq for MultisampleState

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Copy for MultisampleState

    §

    impl Eq for MultisampleState

    §

    impl StructuralEq for MultisampleState

    §

    impl StructuralPartialEq for MultisampleState

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    §

    impl<Q, K> Equivalent<K> for Q
    where @@ -42,7 +42,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.Operations.html b/doc/wgpu/struct.Operations.html index ebe31c5678ac..114c7aa40301 100644 --- a/doc/wgpu/struct.Operations.html +++ b/doc/wgpu/struct.Operations.html @@ -1,5 +1,5 @@ Operations in wgpu - Rust -

    Struct wgpu::Operations

    source ·
    pub struct Operations<V> {
    +    

    Struct wgpu::Operations

    pub struct Operations<V> {
         pub load: LoadOp<V>,
         pub store: StoreOp,
     }
    Expand description

    Pair of load and store operations for an attachment aspect.

    @@ -9,28 +9,28 @@
    §store: StoreOp

    Whether data will be written to through this attachment.

    Note that resolve textures (if specified) are always written to, regardless of this setting.

    -

    Trait Implementations§

    source§

    impl<V> Clone for Operations<V>
    where - V: Clone,

    source§

    fn clone(&self) -> Operations<V>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<V> Debug for Operations<V>
    where - V: Debug,

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<V> Default for Operations<V>
    where - V: Default,

    source§

    fn default() -> Operations<V>

    Returns the “default value” for a type. Read more
    source§

    impl<'de, V> Deserialize<'de> for Operations<V>
    where - V: Deserialize<'de>,

    Trait Implementations§

    §

    impl<V> Clone for Operations<V>
    where + V: Clone,

    §

    fn clone(&self) -> Operations<V>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<V> Debug for Operations<V>
    where + V: Debug,

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<V> Default for Operations<V>
    where + V: Default,

    §

    fn default() -> Operations<V>

    Returns the “default value” for a type. Read more
    §

    impl<'de, V> Deserialize<'de> for Operations<V>
    where + V: Deserialize<'de>,

    §

    fn deserialize<__D>( __deserializer: __D ) -> Result<Operations<V>, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<V> Hash for Operations<V>
    where - V: Hash,

    source§

    fn hash<__H>(&self, state: &mut __H)
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<V> Hash for Operations<V>
    where + V: Hash,

    §

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl<V> PartialEq for Operations<V>
    where - V: PartialEq,

    source§

    fn eq(&self, other: &Operations<V>) -> bool

    This method tests for self and other values to be equal, and is used + Self: Sized,
    Feeds a slice of this type into the given Hasher. Read more
    §

    impl<V> PartialEq for Operations<V>
    where + V: PartialEq,

    §

    fn eq(&self, other: &Operations<V>) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl<V> Serialize for Operations<V>
    where - V: Serialize,

    source§

    fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

    §

    impl<V> Serialize for Operations<V>
    where + V: Serialize,

    §

    fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl<V> Copy for Operations<V>
    where - V: Copy,

    source§

    impl<V> Eq for Operations<V>
    where - V: Eq,

    source§

    impl<V> StructuralEq for Operations<V>

    source§

    impl<V> StructuralPartialEq for Operations<V>

    Auto Trait Implementations§

    §

    impl<V> RefUnwindSafe for Operations<V>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl<V> Copy for Operations<V>
    where + V: Copy,

    §

    impl<V> Eq for Operations<V>
    where + V: Eq,

    §

    impl<V> StructuralEq for Operations<V>

    §

    impl<V> StructuralPartialEq for Operations<V>

    Auto Trait Implementations§

    §

    impl<V> RefUnwindSafe for Operations<V>
    where V: RefUnwindSafe,

    §

    impl<V> Send for Operations<V>
    where V: Send,

    §

    impl<V> Sync for Operations<V>
    where V: Sync,

    §

    impl<V> Unpin for Operations<V>
    where @@ -51,7 +51,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.Origin2d.html b/doc/wgpu/struct.Origin2d.html index ca2077d5ffe8..a66aee189f1e 100644 --- a/doc/wgpu/struct.Origin2d.html +++ b/doc/wgpu/struct.Origin2d.html @@ -1,24 +1,24 @@ Origin2d in wgpu - Rust -

    Struct wgpu::Origin2d

    source ·
    #[repr(C)]
    pub struct Origin2d { +

    Struct wgpu::Origin2d

    #[repr(C)]
    pub struct Origin2d { pub x: u32, pub y: u32, }
    Expand description

    Origin of a copy from a 2D image.

    Corresponds to WebGPU GPUOrigin2D.

    -

    Fields§

    §x: u32§y: u32

    Implementations§

    source§

    impl Origin2d

    source

    pub const ZERO: Origin2d = _

    Zero origin.

    -
    source

    pub fn to_3d(self, z: u32) -> Origin3d

    Adds the third dimension to this origin

    -

    Trait Implementations§

    source§

    impl Clone for Origin2d

    source§

    fn clone(&self) -> Origin2d

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Origin2d

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for Origin2d

    Fields§

    §x: u32§y: u32

    Implementations§

    §

    impl Origin2d

    pub const ZERO: Origin2d = _

    Zero origin.

    +

    pub fn to_3d(self, z: u32) -> Origin3d

    Adds the third dimension to this origin

    +

    Trait Implementations§

    §

    impl Clone for Origin2d

    §

    fn clone(&self) -> Origin2d

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Origin2d

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for Origin2d

    §

    fn deserialize<__D>( __deserializer: __D ) -> Result<Origin2d, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Hash for Origin2d

    source§

    fn hash<__H>(&self, state: &mut __H)
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Hash for Origin2d

    §

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for Origin2d

    source§

    fn eq(&self, other: &Origin2d) -> bool

    This method tests for self and other values to be equal, and is used + Self: Sized,
    Feeds a slice of this type into the given Hasher. Read more
    §

    impl PartialEq for Origin2d

    §

    fn eq(&self, other: &Origin2d) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Origin2d

    source§

    fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

    §

    impl Serialize for Origin2d

    §

    fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for Origin2d

    source§

    impl Eq for Origin2d

    source§

    impl StructuralEq for Origin2d

    source§

    impl StructuralPartialEq for Origin2d

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Copy for Origin2d

    §

    impl Eq for Origin2d

    §

    impl StructuralEq for Origin2d

    §

    impl StructuralPartialEq for Origin2d

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    §

    impl<Q, K> Equivalent<K> for Q
    where @@ -34,7 +34,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.Origin3d.html b/doc/wgpu/struct.Origin3d.html index be5d15848e11..209ca02c56db 100644 --- a/doc/wgpu/struct.Origin3d.html +++ b/doc/wgpu/struct.Origin3d.html @@ -1,5 +1,5 @@ Origin3d in wgpu - Rust -

    Struct wgpu::Origin3d

    source ·
    #[repr(C)]
    pub struct Origin3d { +

    Struct wgpu::Origin3d

    #[repr(C)]
    pub struct Origin3d { pub x: u32, pub y: u32, pub z: u32, @@ -8,21 +8,21 @@

    Fields§

    §x: u32

    X position of the origin

    §y: u32

    Y position of the origin

    §z: u32

    Z position of the origin

    -

    Implementations§

    source§

    impl Origin3d

    source

    pub const ZERO: Origin3d = _

    Zero origin.

    -
    source

    pub fn to_2d(self) -> Origin2d

    Removes the third dimension from this origin

    -

    Trait Implementations§

    source§

    impl Clone for Origin3d

    source§

    fn clone(&self) -> Origin3d

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Origin3d

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for Origin3d

    source§

    fn default() -> Origin3d

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for Origin3d

    Implementations§

    §

    impl Origin3d

    pub const ZERO: Origin3d = _

    Zero origin.

    +

    pub fn to_2d(self) -> Origin2d

    Removes the third dimension from this origin

    +

    Trait Implementations§

    §

    impl Clone for Origin3d

    §

    fn clone(&self) -> Origin3d

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Origin3d

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for Origin3d

    §

    fn default() -> Origin3d

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for Origin3d

    §

    fn deserialize<__D>( __deserializer: __D ) -> Result<Origin3d, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Hash for Origin3d

    source§

    fn hash<__H>(&self, state: &mut __H)
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Hash for Origin3d

    §

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for Origin3d

    source§

    fn eq(&self, other: &Origin3d) -> bool

    This method tests for self and other values to be equal, and is used + Self: Sized,
    Feeds a slice of this type into the given Hasher. Read more
    §

    impl PartialEq for Origin3d

    §

    fn eq(&self, other: &Origin3d) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Origin3d

    source§

    fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

    §

    impl Serialize for Origin3d

    §

    fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for Origin3d

    source§

    impl Eq for Origin3d

    source§

    impl StructuralEq for Origin3d

    source§

    impl StructuralPartialEq for Origin3d

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Copy for Origin3d

    §

    impl Eq for Origin3d

    §

    impl StructuralEq for Origin3d

    §

    impl StructuralPartialEq for Origin3d

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    §

    impl<Q, K> Equivalent<K> for Q
    where @@ -38,7 +38,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.PipelineCache.html b/doc/wgpu/struct.PipelineCache.html index 81da492805c4..1c8d1d4c4200 100644 --- a/doc/wgpu/struct.PipelineCache.html +++ b/doc/wgpu/struct.PipelineCache.html @@ -78,7 +78,7 @@

    Implementations

    From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.PipelineCacheDescriptor.html b/doc/wgpu/struct.PipelineCacheDescriptor.html index d45de79d8c2b..76567a7954c7 100644 --- a/doc/wgpu/struct.PipelineCacheDescriptor.html +++ b/doc/wgpu/struct.PipelineCacheDescriptor.html @@ -26,7 +26,7 @@

    Safety

    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.PipelineCompilationOptions.html b/doc/wgpu/struct.PipelineCompilationOptions.html index 74927f815a3e..0bd9fd71b0a8 100644 --- a/doc/wgpu/struct.PipelineCompilationOptions.html +++ b/doc/wgpu/struct.PipelineCompilationOptions.html @@ -23,7 +23,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.PipelineLayout.html b/doc/wgpu/struct.PipelineLayout.html index 50a9c9475aa8..b6c25c2504c2 100644 --- a/doc/wgpu/struct.PipelineLayout.html +++ b/doc/wgpu/struct.PipelineLayout.html @@ -28,7 +28,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.PipelineLayoutDescriptor.html b/doc/wgpu/struct.PipelineLayoutDescriptor.html index 5cfabf6cacb8..85d35d454669 100644 --- a/doc/wgpu/struct.PipelineLayoutDescriptor.html +++ b/doc/wgpu/struct.PipelineLayoutDescriptor.html @@ -24,7 +24,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.PipelineStatisticsTypes.html b/doc/wgpu/struct.PipelineStatisticsTypes.html index 1112b2f77712..bcf3ba644a72 100644 --- a/doc/wgpu/struct.PipelineStatisticsTypes.html +++ b/doc/wgpu/struct.PipelineStatisticsTypes.html @@ -1,5 +1,5 @@ PipelineStatisticsTypes in wgpu - Rust -
    pub struct PipelineStatisticsTypes(/* private fields */);
    Expand description

    Flags for which pipeline data should be recorded.

    +
    pub struct PipelineStatisticsTypes(/* private fields */);
    Expand description

    Flags for which pipeline data should be recorded.

    The amount of values written when resolved depends on the amount of flags. If 3 flags are enabled, 3 64-bit values will be written per-query.

    @@ -8,100 +8,100 @@ and COMPUTE_SHADER_INVOCATIONS, it would write 16 bytes, the first 8 bytes being the primitive out value, the last 8 bytes being the compute shader invocation count.

    -

    Implementations§

    source§

    impl PipelineStatisticsTypes

    source

    pub const VERTEX_SHADER_INVOCATIONS: PipelineStatisticsTypes = _

    Amount of times the vertex shader is ran. Accounts for +

    Implementations§

    §

    impl PipelineStatisticsTypes

    pub const VERTEX_SHADER_INVOCATIONS: PipelineStatisticsTypes = _

    Amount of times the vertex shader is ran. Accounts for the vertex cache when doing indexed rendering.

    -
    source

    pub const CLIPPER_INVOCATIONS: PipelineStatisticsTypes = _

    Amount of times the clipper is invoked. This +

    pub const CLIPPER_INVOCATIONS: PipelineStatisticsTypes = _

    Amount of times the clipper is invoked. This is also the amount of triangles output by the vertex shader.

    -
    source

    pub const CLIPPER_PRIMITIVES_OUT: PipelineStatisticsTypes = _

    Amount of primitives that are not culled by the clipper. +

    pub const CLIPPER_PRIMITIVES_OUT: PipelineStatisticsTypes = _

    Amount of primitives that are not culled by the clipper. This is the amount of triangles that are actually on screen and will be rasterized and rendered.

    -
    source

    pub const FRAGMENT_SHADER_INVOCATIONS: PipelineStatisticsTypes = _

    Amount of times the fragment shader is ran. Accounts for +

    pub const FRAGMENT_SHADER_INVOCATIONS: PipelineStatisticsTypes = _

    Amount of times the fragment shader is ran. Accounts for fragment shaders running in 2x2 blocks in order to get derivatives.

    -
    source

    pub const COMPUTE_SHADER_INVOCATIONS: PipelineStatisticsTypes = _

    Amount of times a compute shader is invoked. This will +

    pub const COMPUTE_SHADER_INVOCATIONS: PipelineStatisticsTypes = _

    Amount of times a compute shader is invoked. This will be equivalent to the dispatch count times the workgroup size.

    -
    source§

    impl PipelineStatisticsTypes

    source

    pub const fn empty() -> PipelineStatisticsTypes

    Get a flags value with all bits unset.

    -
    source

    pub const fn all() -> PipelineStatisticsTypes

    Get a flags value with all known bits set.

    -
    source

    pub const fn bits(&self) -> u8

    Get the underlying bits value.

    +
    §

    impl PipelineStatisticsTypes

    pub const fn empty() -> PipelineStatisticsTypes

    Get a flags value with all bits unset.

    +

    pub const fn all() -> PipelineStatisticsTypes

    Get a flags value with all known bits set.

    +

    pub const fn bits(&self) -> u8

    Get the underlying bits value.

    The returned value is exactly the bits set in this flags value.

    -
    source

    pub const fn from_bits(bits: u8) -> Option<PipelineStatisticsTypes>

    Convert from a bits value.

    +

    pub const fn from_bits(bits: u8) -> Option<PipelineStatisticsTypes>

    Convert from a bits value.

    This method will return None if any unknown bits are set.

    -
    source

    pub const fn from_bits_truncate(bits: u8) -> PipelineStatisticsTypes

    Convert from a bits value, unsetting any unknown bits.

    -
    source

    pub const fn from_bits_retain(bits: u8) -> PipelineStatisticsTypes

    Convert from a bits value exactly.

    -
    source

    pub fn from_name(name: &str) -> Option<PipelineStatisticsTypes>

    Get a flags value with the bits of a flag with the given name set.

    +

    pub const fn from_bits_truncate(bits: u8) -> PipelineStatisticsTypes

    Convert from a bits value, unsetting any unknown bits.

    +

    pub const fn from_bits_retain(bits: u8) -> PipelineStatisticsTypes

    Convert from a bits value exactly.

    +

    pub fn from_name(name: &str) -> Option<PipelineStatisticsTypes>

    Get a flags value with the bits of a flag with the given name set.

    This method will return None if name is empty or doesn’t correspond to any named flag.

    -
    source

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    -
    source

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    -
    source

    pub const fn intersects(&self, other: PipelineStatisticsTypes) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    -
    source

    pub const fn contains(&self, other: PipelineStatisticsTypes) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    -
    source

    pub fn insert(&mut self, other: PipelineStatisticsTypes)

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub fn remove(&mut self, other: PipelineStatisticsTypes)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    +

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    +

    pub const fn intersects(&self, other: PipelineStatisticsTypes) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    +

    pub const fn contains(&self, other: PipelineStatisticsTypes) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    +

    pub fn insert(&mut self, other: PipelineStatisticsTypes)

    The bitwise or (|) of the bits in two flags values.

    +

    pub fn remove(&mut self, other: PipelineStatisticsTypes)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. remove won’t truncate other, but the ! operator will.

    -
    source

    pub fn toggle(&mut self, other: PipelineStatisticsTypes)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub fn set(&mut self, other: PipelineStatisticsTypes, value: bool)

    Call insert when value is true or remove when value is false.

    -
    source

    pub const fn intersection( +

    pub fn toggle(&mut self, other: PipelineStatisticsTypes)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +

    pub fn set(&mut self, other: PipelineStatisticsTypes, value: bool)

    Call insert when value is true or remove when value is false.

    +

    pub const fn intersection( self, other: PipelineStatisticsTypes ) -> PipelineStatisticsTypes

    The bitwise and (&) of the bits in two flags values.

    -
    source

    pub const fn union( +

    pub const fn union( self, other: PipelineStatisticsTypes ) -> PipelineStatisticsTypes

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub const fn difference( +

    pub const fn difference( self, other: PipelineStatisticsTypes ) -> PipelineStatisticsTypes

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source

    pub const fn symmetric_difference( +

    pub const fn symmetric_difference( self, other: PipelineStatisticsTypes ) -> PipelineStatisticsTypes

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub const fn complement(self) -> PipelineStatisticsTypes

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    source§

    impl PipelineStatisticsTypes

    source

    pub const fn iter(&self) -> Iter<PipelineStatisticsTypes>

    Yield a set of contained flags values.

    +

    pub const fn complement(self) -> PipelineStatisticsTypes

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    §

    impl PipelineStatisticsTypes

    pub const fn iter(&self) -> Iter<PipelineStatisticsTypes>

    Yield a set of contained flags values.

    Each yielded flags value will correspond to a defined named flag. Any unknown bits will be yielded together as a final flags value.

    -
    source

    pub const fn iter_names(&self) -> IterNames<PipelineStatisticsTypes>

    Yield a set of contained named flags values.

    +

    pub const fn iter_names(&self) -> IterNames<PipelineStatisticsTypes>

    Yield a set of contained named flags values.

    This method is like iter, except only yields bits in contained named flags. Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

    -

    Trait Implementations§

    source§

    impl Binary for PipelineStatisticsTypes

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    source§

    impl BitAnd for PipelineStatisticsTypes

    source§

    fn bitand(self, other: PipelineStatisticsTypes) -> PipelineStatisticsTypes

    The bitwise and (&) of the bits in two flags values.

    -
    §

    type Output = PipelineStatisticsTypes

    The resulting type after applying the & operator.
    source§

    impl BitAndAssign for PipelineStatisticsTypes

    source§

    fn bitand_assign(&mut self, other: PipelineStatisticsTypes)

    The bitwise and (&) of the bits in two flags values.

    -
    source§

    impl BitOr for PipelineStatisticsTypes

    source§

    fn bitor(self, other: PipelineStatisticsTypes) -> PipelineStatisticsTypes

    The bitwise or (|) of the bits in two flags values.

    -
    §

    type Output = PipelineStatisticsTypes

    The resulting type after applying the | operator.
    source§

    impl BitOrAssign for PipelineStatisticsTypes

    source§

    fn bitor_assign(&mut self, other: PipelineStatisticsTypes)

    The bitwise or (|) of the bits in two flags values.

    -
    source§

    impl BitXor for PipelineStatisticsTypes

    source§

    fn bitxor(self, other: PipelineStatisticsTypes) -> PipelineStatisticsTypes

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    §

    type Output = PipelineStatisticsTypes

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign for PipelineStatisticsTypes

    source§

    fn bitxor_assign(&mut self, other: PipelineStatisticsTypes)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source§

    impl Clone for PipelineStatisticsTypes

    source§

    fn clone(&self) -> PipelineStatisticsTypes

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PipelineStatisticsTypes

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for PipelineStatisticsTypes

    Trait Implementations§

    §

    impl Binary for PipelineStatisticsTypes

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    §

    impl BitAnd for PipelineStatisticsTypes

    §

    fn bitand(self, other: PipelineStatisticsTypes) -> PipelineStatisticsTypes

    The bitwise and (&) of the bits in two flags values.

    +
    §

    type Output = PipelineStatisticsTypes

    The resulting type after applying the & operator.
    §

    impl BitAndAssign for PipelineStatisticsTypes

    §

    fn bitand_assign(&mut self, other: PipelineStatisticsTypes)

    The bitwise and (&) of the bits in two flags values.

    +
    §

    impl BitOr for PipelineStatisticsTypes

    §

    fn bitor(self, other: PipelineStatisticsTypes) -> PipelineStatisticsTypes

    The bitwise or (|) of the bits in two flags values.

    +
    §

    type Output = PipelineStatisticsTypes

    The resulting type after applying the | operator.
    §

    impl BitOrAssign for PipelineStatisticsTypes

    §

    fn bitor_assign(&mut self, other: PipelineStatisticsTypes)

    The bitwise or (|) of the bits in two flags values.

    +
    §

    impl BitXor for PipelineStatisticsTypes

    §

    fn bitxor(self, other: PipelineStatisticsTypes) -> PipelineStatisticsTypes

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    §

    type Output = PipelineStatisticsTypes

    The resulting type after applying the ^ operator.
    §

    impl BitXorAssign for PipelineStatisticsTypes

    §

    fn bitxor_assign(&mut self, other: PipelineStatisticsTypes)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    §

    impl Clone for PipelineStatisticsTypes

    §

    fn clone(&self) -> PipelineStatisticsTypes

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for PipelineStatisticsTypes

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for PipelineStatisticsTypes

    §

    fn deserialize<__D>( __deserializer: __D ) -> Result<PipelineStatisticsTypes, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Extend<PipelineStatisticsTypes> for PipelineStatisticsTypes

    source§

    fn extend<T>(&mut self, iterator: T)
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Extend<PipelineStatisticsTypes> for PipelineStatisticsTypes

    §

    fn extend<T>(&mut self, iterator: T)

    The bitwise or (|) of the bits in each flags value.

    -
    source§

    fn extend_one(&mut self, item: A)

    🔬This is a nightly-only experimental API. (extend_one)
    Extends a collection with exactly one element.
    source§

    fn extend_reserve(&mut self, additional: usize)

    🔬This is a nightly-only experimental API. (extend_one)
    Reserves capacity in a collection for the given number of additional elements. Read more
    source§

    impl Flags for PipelineStatisticsTypes

    source§

    const FLAGS: &'static [Flag<PipelineStatisticsTypes>] = _

    The set of defined flags.
    §

    type Bits = u8

    The underlying bits type.
    source§

    fn bits(&self) -> u8

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u8) -> PipelineStatisticsTypes

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where +

    source§

    fn extend_one(&mut self, item: A)

    🔬This is a nightly-only experimental API. (extend_one)
    Extends a collection with exactly one element.
    source§

    fn extend_reserve(&mut self, additional: usize)

    🔬This is a nightly-only experimental API. (extend_one)
    Reserves capacity in a collection for the given number of additional elements. Read more
    §

    impl Flags for PipelineStatisticsTypes

    §

    const FLAGS: &'static [Flag<PipelineStatisticsTypes>] = _

    The set of defined flags.
    §

    type Bits = u8

    The underlying bits type.
    §

    fn bits(&self) -> u8

    Get the underlying bits value. Read more
    §

    fn from_bits_retain(bits: u8) -> PipelineStatisticsTypes

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where Self: Sized,

    Whether any set bits in a source flags value are also set in a target flags value.
    §

    fn contains(&self, other: Self) -> bool
    where Self: Sized,

    Whether all set bits in a source flags value are also set in a target flags value.
    §

    fn insert(&mut self, other: Self)
    where Self: Sized,

    The bitwise or (|) of the bits in two flags values.
    §

    fn remove(&mut self, other: Self)
    where Self: Sized,

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn toggle(&mut self, other: Self)
    where Self: Sized,

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn set(&mut self, other: Self, value: bool)
    where - Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    source§

    impl FromIterator<PipelineStatisticsTypes> for PipelineStatisticsTypes

    source§

    fn from_iter<T>(iterator: T) -> PipelineStatisticsTypes
    where + Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    §

    impl FromIterator<PipelineStatisticsTypes> for PipelineStatisticsTypes

    §

    fn from_iter<T>(iterator: T) -> PipelineStatisticsTypes

    The bitwise or (|) of the bits in each flags value.

    -
    source§

    impl Hash for PipelineStatisticsTypes

    source§

    fn hash<__H>(&self, state: &mut __H)
    where +

    §

    impl Hash for PipelineStatisticsTypes

    §

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoIterator for PipelineStatisticsTypes

    §

    type Item = PipelineStatisticsTypes

    The type of the elements being iterated over.
    §

    type IntoIter = Iter<PipelineStatisticsTypes>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> <PipelineStatisticsTypes as IntoIterator>::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl LowerHex for PipelineStatisticsTypes

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    source§

    impl Not for PipelineStatisticsTypes

    source§

    fn not(self) -> PipelineStatisticsTypes

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    §

    type Output = PipelineStatisticsTypes

    The resulting type after applying the ! operator.
    source§

    impl Octal for PipelineStatisticsTypes

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    source§

    impl PartialEq for PipelineStatisticsTypes

    source§

    fn eq(&self, other: &PipelineStatisticsTypes) -> bool

    This method tests for self and other values to be equal, and is used + Self: Sized,
    Feeds a slice of this type into the given Hasher. Read more
    §

    impl IntoIterator for PipelineStatisticsTypes

    §

    type Item = PipelineStatisticsTypes

    The type of the elements being iterated over.
    §

    type IntoIter = Iter<PipelineStatisticsTypes>

    Which kind of iterator are we turning this into?
    §

    fn into_iter(self) -> <PipelineStatisticsTypes as IntoIterator>::IntoIter

    Creates an iterator from a value. Read more
    §

    impl LowerHex for PipelineStatisticsTypes

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    §

    impl Not for PipelineStatisticsTypes

    §

    fn not(self) -> PipelineStatisticsTypes

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    §

    type Output = PipelineStatisticsTypes

    The resulting type after applying the ! operator.
    §

    impl Octal for PipelineStatisticsTypes

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    §

    impl PartialEq for PipelineStatisticsTypes

    §

    fn eq(&self, other: &PipelineStatisticsTypes) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for PipelineStatisticsTypes

    source§

    fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

    §

    impl Serialize for PipelineStatisticsTypes

    §

    fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Sub for PipelineStatisticsTypes

    source§

    fn sub(self, other: PipelineStatisticsTypes) -> PipelineStatisticsTypes

    The intersection of a source flags value with the complement of a target flags value (&!).

    + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl Sub for PipelineStatisticsTypes

    §

    fn sub(self, other: PipelineStatisticsTypes) -> PipelineStatisticsTypes

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    §

    type Output = PipelineStatisticsTypes

    The resulting type after applying the - operator.
    source§

    impl SubAssign for PipelineStatisticsTypes

    source§

    fn sub_assign(&mut self, other: PipelineStatisticsTypes)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    §

    type Output = PipelineStatisticsTypes

    The resulting type after applying the - operator.
    §

    impl SubAssign for PipelineStatisticsTypes

    §

    fn sub_assign(&mut self, other: PipelineStatisticsTypes)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source§

    impl UpperHex for PipelineStatisticsTypes

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    source§

    impl Copy for PipelineStatisticsTypes

    source§

    impl Eq for PipelineStatisticsTypes

    source§

    impl StructuralEq for PipelineStatisticsTypes

    source§

    impl StructuralPartialEq for PipelineStatisticsTypes

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    §

    impl UpperHex for PipelineStatisticsTypes

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    §

    impl Copy for PipelineStatisticsTypes

    §

    impl Eq for PipelineStatisticsTypes

    §

    impl StructuralEq for PipelineStatisticsTypes

    §

    impl StructuralPartialEq for PipelineStatisticsTypes

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    §

    impl<Q, K> Equivalent<K> for Q
    where @@ -117,7 +117,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.PresentationTimestamp.html b/doc/wgpu/struct.PresentationTimestamp.html index fe348b7718dd..7b92c983a017 100644 --- a/doc/wgpu/struct.PresentationTimestamp.html +++ b/doc/wgpu/struct.PresentationTimestamp.html @@ -1,5 +1,5 @@ PresentationTimestamp in wgpu - Rust -
    pub struct PresentationTimestamp(pub u128);
    Expand description

    Nanosecond timestamp used by the presentation engine.

    +
    pub struct PresentationTimestamp(pub u128);
    Expand description

    Nanosecond timestamp used by the presentation engine.

    The specific clock depends on the window system integration (WSI) API used.

    @@ -23,16 +23,16 @@
    clock_gettime(CLOCK_MONOTONIC)

    Tuple Fields§

    §0: u128

    Timestamp in nanoseconds.

    -

    Implementations§

    source§

    impl PresentationTimestamp

    source

    pub const INVALID_TIMESTAMP: PresentationTimestamp = _

    A timestamp that is invalid due to the platform not having a timestamp system.

    -
    source

    pub fn is_invalid(self) -> bool

    Returns true if this timestamp is the invalid timestamp.

    -

    Trait Implementations§

    source§

    impl Clone for PresentationTimestamp

    source§

    fn clone(&self) -> PresentationTimestamp

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PresentationTimestamp

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Ord for PresentationTimestamp

    source§

    fn cmp(&self, other: &PresentationTimestamp) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where +

    Implementations§

    §

    impl PresentationTimestamp

    pub const INVALID_TIMESTAMP: PresentationTimestamp = _

    A timestamp that is invalid due to the platform not having a timestamp system.

    +

    pub fn is_invalid(self) -> bool

    Returns true if this timestamp is the invalid timestamp.

    +

    Trait Implementations§

    §

    impl Clone for PresentationTimestamp

    §

    fn clone(&self) -> PresentationTimestamp

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for PresentationTimestamp

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Ord for PresentationTimestamp

    §

    fn cmp(&self, other: &PresentationTimestamp) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for PresentationTimestamp

    source§

    fn eq(&self, other: &PresentationTimestamp) -> bool

    This method tests for self and other values to be equal, and is used + Self: Sized + PartialOrd,
    Restrict a value to a certain interval. Read more
    §

    impl PartialEq for PresentationTimestamp

    §

    fn eq(&self, other: &PresentationTimestamp) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for PresentationTimestamp

    source§

    fn partial_cmp(&self, other: &PresentationTimestamp) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= +sufficient, and should not be overridden without very good reason.
    §

    impl PartialOrd for PresentationTimestamp

    §

    fn partial_cmp(&self, other: &PresentationTimestamp) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    source§

    impl Copy for PresentationTimestamp

    source§

    impl Eq for PresentationTimestamp

    source§

    impl StructuralEq for PresentationTimestamp

    source§

    impl StructuralPartialEq for PresentationTimestamp

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +operator. Read more

    §

    impl Copy for PresentationTimestamp

    §

    impl Eq for PresentationTimestamp

    §

    impl StructuralEq for PresentationTimestamp

    §

    impl StructuralPartialEq for PresentationTimestamp

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<Q, K> Comparable<K> for Q
    where @@ -49,7 +49,7 @@

    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.PrimitiveState.html b/doc/wgpu/struct.PrimitiveState.html index c778d3dd9400..9b9d6b020d98 100644 --- a/doc/wgpu/struct.PrimitiveState.html +++ b/doc/wgpu/struct.PrimitiveState.html @@ -1,5 +1,5 @@ PrimitiveState in wgpu - Rust -

    Struct wgpu::PrimitiveState

    source ·
    #[repr(C)]
    pub struct PrimitiveState { +

    Struct wgpu::PrimitiveState

    #[repr(C)]
    pub struct PrimitiveState { pub topology: PrimitiveTopology, pub strip_index_format: Option<IndexFormat>, pub front_face: FrontFace, @@ -24,19 +24,19 @@
    §conservative: bool

    If set to true, the primitives are rendered with conservative overestimation. I.e. any rastered pixel touched by it is filled. Only valid for PolygonMode::Fill!

    Enabling this requires Features::CONSERVATIVE_RASTERIZATION to be enabled.

    -

    Trait Implementations§

    source§

    impl Clone for PrimitiveState

    source§

    fn clone(&self) -> PrimitiveState

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PrimitiveState

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for PrimitiveState

    source§

    fn default() -> PrimitiveState

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for PrimitiveState

    Trait Implementations§

    §

    impl Clone for PrimitiveState

    §

    fn clone(&self) -> PrimitiveState

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for PrimitiveState

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for PrimitiveState

    §

    fn default() -> PrimitiveState

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for PrimitiveState

    §

    fn deserialize<__D>( __deserializer: __D ) -> Result<PrimitiveState, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Hash for PrimitiveState

    source§

    fn hash<__H>(&self, state: &mut __H)
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Hash for PrimitiveState

    §

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for PrimitiveState

    source§

    fn eq(&self, other: &PrimitiveState) -> bool

    This method tests for self and other values to be equal, and is used + Self: Sized,
    Feeds a slice of this type into the given Hasher. Read more
    §

    impl PartialEq for PrimitiveState

    §

    fn eq(&self, other: &PrimitiveState) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for PrimitiveState

    source§

    fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

    §

    impl Serialize for PrimitiveState

    §

    fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for PrimitiveState

    source§

    impl Eq for PrimitiveState

    source§

    impl StructuralEq for PrimitiveState

    source§

    impl StructuralPartialEq for PrimitiveState

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Copy for PrimitiveState

    §

    impl Eq for PrimitiveState

    §

    impl StructuralEq for PrimitiveState

    §

    impl StructuralPartialEq for PrimitiveState

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    §

    impl<Q, K> Equivalent<K> for Q
    where @@ -52,7 +52,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.PushConstantRange.html b/doc/wgpu/struct.PushConstantRange.html index d249112c7461..be39f367e4aa 100644 --- a/doc/wgpu/struct.PushConstantRange.html +++ b/doc/wgpu/struct.PushConstantRange.html @@ -1,5 +1,5 @@ PushConstantRange in wgpu - Rust -

    Struct wgpu::PushConstantRange

    source ·
    pub struct PushConstantRange {
    +    

    Struct wgpu::PushConstantRange

    pub struct PushConstantRange {
         pub stages: ShaderStages,
         pub range: Range<u32>,
     }
    Expand description

    A range of push constant memory to pass to a shader stage.

    @@ -7,19 +7,19 @@ One range can serve multiple stages however.

    §range: Range<u32>

    Range in push constant memory to use for the stage. Must be less than Limits::max_push_constant_size. Start and end must be aligned to the 4s.

    -

    Trait Implementations§

    source§

    impl Clone for PushConstantRange

    source§

    fn clone(&self) -> PushConstantRange

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PushConstantRange

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for PushConstantRange

    Trait Implementations§

    §

    impl Clone for PushConstantRange

    §

    fn clone(&self) -> PushConstantRange

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for PushConstantRange

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for PushConstantRange

    §

    fn deserialize<__D>( __deserializer: __D ) -> Result<PushConstantRange, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Hash for PushConstantRange

    source§

    fn hash<__H>(&self, state: &mut __H)
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Hash for PushConstantRange

    §

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for PushConstantRange

    source§

    fn eq(&self, other: &PushConstantRange) -> bool

    This method tests for self and other values to be equal, and is used + Self: Sized,
    Feeds a slice of this type into the given Hasher. Read more
    §

    impl PartialEq for PushConstantRange

    §

    fn eq(&self, other: &PushConstantRange) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for PushConstantRange

    source§

    fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

    §

    impl Serialize for PushConstantRange

    §

    fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Eq for PushConstantRange

    source§

    impl StructuralEq for PushConstantRange

    source§

    impl StructuralPartialEq for PushConstantRange

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Eq for PushConstantRange

    §

    impl StructuralEq for PushConstantRange

    §

    impl StructuralPartialEq for PushConstantRange

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    §

    impl<Q, K> Equivalent<K> for Q
    where @@ -35,7 +35,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.QuerySet.html b/doc/wgpu/struct.QuerySet.html index 6957569aec32..f5154516ae8a 100644 --- a/doc/wgpu/struct.QuerySet.html +++ b/doc/wgpu/struct.QuerySet.html @@ -27,7 +27,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.Queue.html b/doc/wgpu/struct.Queue.html index 64cb69599b93..2ce3a8d99a3e 100644 --- a/doc/wgpu/struct.Queue.html +++ b/doc/wgpu/struct.Queue.html @@ -109,7 +109,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.QueueWriteBufferView.html b/doc/wgpu/struct.QueueWriteBufferView.html index 9c5b13745dd4..ac7857663796 100644 --- a/doc/wgpu/struct.QueueWriteBufferView.html +++ b/doc/wgpu/struct.QueueWriteBufferView.html @@ -2388,7 +2388,7 @@
    Examples
    From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.RenderBundle.html b/doc/wgpu/struct.RenderBundle.html index 712a8df5a490..d4f82bcb4688 100644 --- a/doc/wgpu/struct.RenderBundle.html +++ b/doc/wgpu/struct.RenderBundle.html @@ -30,7 +30,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.RenderBundleDepthStencil.html b/doc/wgpu/struct.RenderBundleDepthStencil.html index ee4f9012c423..bb713a1632c4 100644 --- a/doc/wgpu/struct.RenderBundleDepthStencil.html +++ b/doc/wgpu/struct.RenderBundleDepthStencil.html @@ -1,5 +1,5 @@ RenderBundleDepthStencil in wgpu - Rust -
    #[repr(C)]
    pub struct RenderBundleDepthStencil { +
    #[repr(C)]
    pub struct RenderBundleDepthStencil { pub format: TextureFormat, pub depth_read_only: bool, pub stencil_read_only: bool, @@ -12,19 +12,19 @@
    §stencil_read_only: bool

    If the stencil aspect of the depth stencil attachment is going to be written to.

    This must match the RenderPassDepthStencilAttachment::stencil_ops of the renderpass this render bundle is executed in. If depth_ops is Some(..) this must be false. If it is None this must be true.

    -

    Trait Implementations§

    source§

    impl Clone for RenderBundleDepthStencil

    source§

    fn clone(&self) -> RenderBundleDepthStencil

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RenderBundleDepthStencil

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for RenderBundleDepthStencil

    Trait Implementations§

    §

    impl Clone for RenderBundleDepthStencil

    §

    fn clone(&self) -> RenderBundleDepthStencil

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for RenderBundleDepthStencil

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for RenderBundleDepthStencil

    §

    fn deserialize<__D>( __deserializer: __D ) -> Result<RenderBundleDepthStencil, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Hash for RenderBundleDepthStencil

    source§

    fn hash<__H>(&self, state: &mut __H)
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Hash for RenderBundleDepthStencil

    §

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for RenderBundleDepthStencil

    source§

    fn eq(&self, other: &RenderBundleDepthStencil) -> bool

    This method tests for self and other values to be equal, and is used + Self: Sized,
    Feeds a slice of this type into the given Hasher. Read more
    §

    impl PartialEq for RenderBundleDepthStencil

    §

    fn eq(&self, other: &RenderBundleDepthStencil) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for RenderBundleDepthStencil

    source§

    fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

    §

    impl Serialize for RenderBundleDepthStencil

    §

    fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for RenderBundleDepthStencil

    source§

    impl Eq for RenderBundleDepthStencil

    source§

    impl StructuralEq for RenderBundleDepthStencil

    source§

    impl StructuralPartialEq for RenderBundleDepthStencil

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Copy for RenderBundleDepthStencil

    §

    impl Eq for RenderBundleDepthStencil

    §

    impl StructuralEq for RenderBundleDepthStencil

    §

    impl StructuralPartialEq for RenderBundleDepthStencil

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    §

    impl<Q, K> Equivalent<K> for Q
    where @@ -40,7 +40,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.RenderBundleEncoderDescriptor.html b/doc/wgpu/struct.RenderBundleEncoderDescriptor.html index 69bd5a4ee5e2..346f06f46dbd 100644 --- a/doc/wgpu/struct.RenderBundleEncoderDescriptor.html +++ b/doc/wgpu/struct.RenderBundleEncoderDescriptor.html @@ -35,7 +35,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.RenderPass.html b/doc/wgpu/struct.RenderPass.html index 3ab6ecb64abb..487b293cc84d 100644 --- a/doc/wgpu/struct.RenderPass.html +++ b/doc/wgpu/struct.RenderPass.html @@ -343,7 +343,7 @@
    Stage matching
    From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.RenderPassColorAttachment.html b/doc/wgpu/struct.RenderPassColorAttachment.html index ed671b0a25cc..fc7169533efa 100644 --- a/doc/wgpu/struct.RenderPassColorAttachment.html +++ b/doc/wgpu/struct.RenderPassColorAttachment.html @@ -21,7 +21,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.RenderPassDepthStencilAttachment.html b/doc/wgpu/struct.RenderPassDepthStencilAttachment.html index d990826f86ac..b1ce29f79d58 100644 --- a/doc/wgpu/struct.RenderPassDepthStencilAttachment.html +++ b/doc/wgpu/struct.RenderPassDepthStencilAttachment.html @@ -20,7 +20,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.RenderPassDescriptor.html b/doc/wgpu/struct.RenderPassDescriptor.html index 4dd40bbe17b2..22c17845eaad 100644 --- a/doc/wgpu/struct.RenderPassDescriptor.html +++ b/doc/wgpu/struct.RenderPassDescriptor.html @@ -25,7 +25,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.RenderPassTimestampWrites.html b/doc/wgpu/struct.RenderPassTimestampWrites.html index 9f30ae59b0c6..0a88ea70ffca 100644 --- a/doc/wgpu/struct.RenderPassTimestampWrites.html +++ b/doc/wgpu/struct.RenderPassTimestampWrites.html @@ -21,7 +21,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.RenderPipeline.html b/doc/wgpu/struct.RenderPipeline.html index b587da385694..2185cc8802a0 100644 --- a/doc/wgpu/struct.RenderPipeline.html +++ b/doc/wgpu/struct.RenderPipeline.html @@ -32,7 +32,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.RenderPipelineDescriptor.html b/doc/wgpu/struct.RenderPipelineDescriptor.html index d2114facf8f1..3d1f11747b22 100644 --- a/doc/wgpu/struct.RenderPipelineDescriptor.html +++ b/doc/wgpu/struct.RenderPipelineDescriptor.html @@ -44,7 +44,7 @@

    Default pipe
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.RequestAdapterOptionsBase.html b/doc/wgpu/struct.RequestAdapterOptionsBase.html index 2f30c39d8eb2..1e6ab34482dc 100644 --- a/doc/wgpu/struct.RequestAdapterOptionsBase.html +++ b/doc/wgpu/struct.RequestAdapterOptionsBase.html @@ -1,5 +1,5 @@ RequestAdapterOptionsBase in wgpu - Rust -
    #[repr(C)]
    pub struct RequestAdapterOptionsBase<S> { +
    #[repr(C)]
    pub struct RequestAdapterOptionsBase<S> { pub power_preference: PowerPreference, pub force_fallback_adapter: bool, pub compatible_surface: Option<S>, @@ -11,26 +11,26 @@
    §compatible_surface: Option<S>

    Surface that is required to be presentable with the requested adapter. This does not create the surface, only guarantees that the adapter can present to said surface. For WebGL, this is strictly required, as an adapter can not be created without a surface.

    -

    Trait Implementations§

    source§

    impl<S> Clone for RequestAdapterOptions<S>
    where - S: Clone,

    source§

    fn clone(&self) -> RequestAdapterOptions<S>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<S> Debug for RequestAdapterOptions<S>
    where - S: Debug,

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<S> Default for RequestAdapterOptions<S>

    source§

    fn default() -> RequestAdapterOptions<S>

    Returns the “default value” for a type. Read more
    source§

    impl<'de, S> Deserialize<'de> for RequestAdapterOptions<S>
    where - S: Deserialize<'de>,

    Trait Implementations§

    §

    impl<S> Clone for RequestAdapterOptions<S>
    where + S: Clone,

    §

    fn clone(&self) -> RequestAdapterOptions<S>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<S> Debug for RequestAdapterOptions<S>
    where + S: Debug,

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<S> Default for RequestAdapterOptions<S>

    §

    fn default() -> RequestAdapterOptions<S>

    Returns the “default value” for a type. Read more
    §

    impl<'de, S> Deserialize<'de> for RequestAdapterOptions<S>
    where + S: Deserialize<'de>,

    §

    fn deserialize<__D>( __deserializer: __D ) -> Result<RequestAdapterOptions<S>, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<S> Hash for RequestAdapterOptions<S>
    where - S: Hash,

    source§

    fn hash<__H>(&self, state: &mut __H)
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<S> Hash for RequestAdapterOptions<S>
    where + S: Hash,

    §

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl<S> PartialEq for RequestAdapterOptions<S>
    where - S: PartialEq,

    source§

    fn eq(&self, other: &RequestAdapterOptions<S>) -> bool

    This method tests for self and other values to be equal, and is used + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    §

    impl<S> PartialEq for RequestAdapterOptions<S>
    where + S: PartialEq,

    §

    fn eq(&self, other: &RequestAdapterOptions<S>) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl<S> Serialize for RequestAdapterOptions<S>
    where - S: Serialize,

    source§

    fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

    §

    impl<S> Serialize for RequestAdapterOptions<S>
    where + S: Serialize,

    §

    fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl<S> Eq for RequestAdapterOptions<S>
    where - S: Eq,

    source§

    impl<S> StructuralEq for RequestAdapterOptions<S>

    source§

    impl<S> StructuralPartialEq for RequestAdapterOptions<S>

    Auto Trait Implementations§

    §

    impl<S> RefUnwindSafe for RequestAdapterOptions<S>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl<S> Eq for RequestAdapterOptions<S>
    where + S: Eq,

    §

    impl<S> StructuralEq for RequestAdapterOptions<S>

    §

    impl<S> StructuralPartialEq for RequestAdapterOptions<S>

    Auto Trait Implementations§

    §

    impl<S> RefUnwindSafe for RequestAdapterOptions<S>
    where S: RefUnwindSafe,

    §

    impl<S> Send for RequestAdapterOptions<S>
    where S: Send,

    §

    impl<S> Sync for RequestAdapterOptions<S>
    where S: Sync,

    §

    impl<S> Unpin for RequestAdapterOptions<S>
    where @@ -51,7 +51,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.RequestDeviceError.html b/doc/wgpu/struct.RequestDeviceError.html index ca363510e11d..7cfba1439943 100644 --- a/doc/wgpu/struct.RequestDeviceError.html +++ b/doc/wgpu/struct.RequestDeviceError.html @@ -12,7 +12,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.Sampler.html b/doc/wgpu/struct.Sampler.html index 846dbc1ef010..66cf93e3e711 100644 --- a/doc/wgpu/struct.Sampler.html +++ b/doc/wgpu/struct.Sampler.html @@ -30,7 +30,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.ShaderModule.html b/doc/wgpu/struct.ShaderModule.html index 7e06371c74fc..a43f2dfb2014 100644 --- a/doc/wgpu/struct.ShaderModule.html +++ b/doc/wgpu/struct.ShaderModule.html @@ -33,7 +33,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.ShaderModuleDescriptor.html b/doc/wgpu/struct.ShaderModuleDescriptor.html index cb0c98cd32fc..66883c70ef7f 100644 --- a/doc/wgpu/struct.ShaderModuleDescriptor.html +++ b/doc/wgpu/struct.ShaderModuleDescriptor.html @@ -17,7 +17,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.ShaderModuleDescriptorSpirV.html b/doc/wgpu/struct.ShaderModuleDescriptorSpirV.html index a421e24f0046..16c2f12e8fd3 100644 --- a/doc/wgpu/struct.ShaderModuleDescriptorSpirV.html +++ b/doc/wgpu/struct.ShaderModuleDescriptorSpirV.html @@ -18,7 +18,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.ShaderRuntimeChecks.html b/doc/wgpu/struct.ShaderRuntimeChecks.html index fc9f7fe1b1c6..eafb73399b56 100644 --- a/doc/wgpu/struct.ShaderRuntimeChecks.html +++ b/doc/wgpu/struct.ShaderRuntimeChecks.html @@ -1,5 +1,5 @@ ShaderRuntimeChecks in wgpu - Rust -
    pub struct ShaderRuntimeChecks {
    +    
    pub struct ShaderRuntimeChecks {
         pub bounds_checks: bool,
         pub force_loop_bounding: bool,
     }
    Expand description

    Describes how shader bound checks should be performed.

    @@ -21,24 +21,24 @@

    If it does, backend compilers MAY treat such a loop as unreachable code and draw conclusions about other safety-critical code paths. This option SHOULD NOT be disabled when running untrusted code.

    -

    Implementations§

    source§

    impl ShaderRuntimeChecks

    source

    pub fn checked() -> ShaderRuntimeChecks

    Creates a new configuration where the shader is fully checked.

    -
    source

    pub fn unchecked() -> ShaderRuntimeChecks

    Creates a new configuration where none of the checks are performed.

    +

    Implementations§

    §

    impl ShaderRuntimeChecks

    pub fn checked() -> ShaderRuntimeChecks

    Creates a new configuration where the shader is fully checked.

    +

    pub fn unchecked() -> ShaderRuntimeChecks

    Creates a new configuration where none of the checks are performed.

    Safety

    See the documentation for the set_* methods for the safety requirements of each sub-configuration.

    -
    source

    pub unsafe fn all(all_checks: bool) -> ShaderRuntimeChecks

    Creates a new configuration where all checks are enabled or disabled. To safely +

    pub unsafe fn all(all_checks: bool) -> ShaderRuntimeChecks

    Creates a new configuration where all checks are enabled or disabled. To safely create a configuration with all checks enabled, use ShaderRuntimeChecks::checked.

    Safety

    See the documentation for the set_* methods for the safety requirements of each sub-configuration.

    -

    Trait Implementations§

    source§

    impl Clone for ShaderRuntimeChecks

    source§

    fn clone(&self) -> ShaderRuntimeChecks

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ShaderRuntimeChecks

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for ShaderRuntimeChecks

    source§

    fn default() -> ShaderRuntimeChecks

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for ShaderRuntimeChecks

    Trait Implementations§

    §

    impl Clone for ShaderRuntimeChecks

    §

    fn clone(&self) -> ShaderRuntimeChecks

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for ShaderRuntimeChecks

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for ShaderRuntimeChecks

    §

    fn default() -> ShaderRuntimeChecks

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for ShaderRuntimeChecks

    §

    fn deserialize<__D>( __deserializer: __D ) -> Result<ShaderRuntimeChecks, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Serialize for ShaderRuntimeChecks

    source§

    fn serialize<__S>( + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Serialize for ShaderRuntimeChecks

    §

    fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for ShaderRuntimeChecks

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Copy for ShaderRuntimeChecks

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -50,7 +50,7 @@
    Safety
    T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.ShaderStages.html b/doc/wgpu/struct.ShaderStages.html index d9e9d45e9905..ac149ff49b6d 100644 --- a/doc/wgpu/struct.ShaderStages.html +++ b/doc/wgpu/struct.ShaderStages.html @@ -1,83 +1,83 @@ ShaderStages in wgpu - Rust -

    Struct wgpu::ShaderStages

    source ·
    pub struct ShaderStages(/* private fields */);
    Expand description

    Describes the shader stages that a binding will be visible from.

    +

    Struct wgpu::ShaderStages

    pub struct ShaderStages(/* private fields */);
    Expand description

    Describes the shader stages that a binding will be visible from.

    These can be combined so something that is visible from both vertex and fragment shaders can be defined as:

    ShaderStages::VERTEX | ShaderStages::FRAGMENT

    Corresponds to WebGPU GPUShaderStageFlags.

    -

    Implementations§

    source§

    impl ShaderStages

    source

    pub const NONE: ShaderStages = _

    Binding is not visible from any shader stage.

    -
    source

    pub const VERTEX: ShaderStages = _

    Binding is visible from the vertex shader of a render pipeline.

    -
    source

    pub const FRAGMENT: ShaderStages = _

    Binding is visible from the fragment shader of a render pipeline.

    -
    source

    pub const COMPUTE: ShaderStages = _

    Binding is visible from the compute shader of a compute pipeline.

    -
    source

    pub const VERTEX_FRAGMENT: ShaderStages = _

    Binding is visible from the vertex and fragment shaders of a render pipeline.

    -
    source§

    impl ShaderStages

    source

    pub const fn empty() -> ShaderStages

    Get a flags value with all bits unset.

    -
    source

    pub const fn all() -> ShaderStages

    Get a flags value with all known bits set.

    -
    source

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    +

    Implementations§

    §

    impl ShaderStages

    pub const NONE: ShaderStages = _

    Binding is not visible from any shader stage.

    +

    pub const VERTEX: ShaderStages = _

    Binding is visible from the vertex shader of a render pipeline.

    +

    pub const FRAGMENT: ShaderStages = _

    Binding is visible from the fragment shader of a render pipeline.

    +

    pub const COMPUTE: ShaderStages = _

    Binding is visible from the compute shader of a compute pipeline.

    +

    pub const VERTEX_FRAGMENT: ShaderStages = _

    Binding is visible from the vertex and fragment shaders of a render pipeline.

    +
    §

    impl ShaderStages

    pub const fn empty() -> ShaderStages

    Get a flags value with all bits unset.

    +

    pub const fn all() -> ShaderStages

    Get a flags value with all known bits set.

    +

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    The returned value is exactly the bits set in this flags value.

    -
    source

    pub const fn from_bits(bits: u32) -> Option<ShaderStages>

    Convert from a bits value.

    +

    pub const fn from_bits(bits: u32) -> Option<ShaderStages>

    Convert from a bits value.

    This method will return None if any unknown bits are set.

    -
    source

    pub const fn from_bits_truncate(bits: u32) -> ShaderStages

    Convert from a bits value, unsetting any unknown bits.

    -
    source

    pub const fn from_bits_retain(bits: u32) -> ShaderStages

    Convert from a bits value exactly.

    -
    source

    pub fn from_name(name: &str) -> Option<ShaderStages>

    Get a flags value with the bits of a flag with the given name set.

    +

    pub const fn from_bits_truncate(bits: u32) -> ShaderStages

    Convert from a bits value, unsetting any unknown bits.

    +

    pub const fn from_bits_retain(bits: u32) -> ShaderStages

    Convert from a bits value exactly.

    +

    pub fn from_name(name: &str) -> Option<ShaderStages>

    Get a flags value with the bits of a flag with the given name set.

    This method will return None if name is empty or doesn’t correspond to any named flag.

    -
    source

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    -
    source

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    -
    source

    pub const fn intersects(&self, other: ShaderStages) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    -
    source

    pub const fn contains(&self, other: ShaderStages) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    -
    source

    pub fn insert(&mut self, other: ShaderStages)

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub fn remove(&mut self, other: ShaderStages)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    +

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    +

    pub const fn intersects(&self, other: ShaderStages) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    +

    pub const fn contains(&self, other: ShaderStages) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    +

    pub fn insert(&mut self, other: ShaderStages)

    The bitwise or (|) of the bits in two flags values.

    +

    pub fn remove(&mut self, other: ShaderStages)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. remove won’t truncate other, but the ! operator will.

    -
    source

    pub fn toggle(&mut self, other: ShaderStages)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub fn set(&mut self, other: ShaderStages, value: bool)

    Call insert when value is true or remove when value is false.

    -
    source

    pub const fn intersection(self, other: ShaderStages) -> ShaderStages

    The bitwise and (&) of the bits in two flags values.

    -
    source

    pub const fn union(self, other: ShaderStages) -> ShaderStages

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub const fn difference(self, other: ShaderStages) -> ShaderStages

    The intersection of a source flags value with the complement of a target flags value (&!).

    +

    pub fn toggle(&mut self, other: ShaderStages)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +

    pub fn set(&mut self, other: ShaderStages, value: bool)

    Call insert when value is true or remove when value is false.

    +

    pub const fn intersection(self, other: ShaderStages) -> ShaderStages

    The bitwise and (&) of the bits in two flags values.

    +

    pub const fn union(self, other: ShaderStages) -> ShaderStages

    The bitwise or (|) of the bits in two flags values.

    +

    pub const fn difference(self, other: ShaderStages) -> ShaderStages

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source

    pub const fn symmetric_difference(self, other: ShaderStages) -> ShaderStages

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub const fn complement(self) -> ShaderStages

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    source§

    impl ShaderStages

    source

    pub const fn iter(&self) -> Iter<ShaderStages>

    Yield a set of contained flags values.

    +

    pub const fn symmetric_difference(self, other: ShaderStages) -> ShaderStages

    The bitwise exclusive-or (^) of the bits in two flags values.

    +

    pub const fn complement(self) -> ShaderStages

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    §

    impl ShaderStages

    pub const fn iter(&self) -> Iter<ShaderStages>

    Yield a set of contained flags values.

    Each yielded flags value will correspond to a defined named flag. Any unknown bits will be yielded together as a final flags value.

    -
    source

    pub const fn iter_names(&self) -> IterNames<ShaderStages>

    Yield a set of contained named flags values.

    +

    pub const fn iter_names(&self) -> IterNames<ShaderStages>

    Yield a set of contained named flags values.

    This method is like iter, except only yields bits in contained named flags. Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

    -

    Trait Implementations§

    source§

    impl Binary for ShaderStages

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    source§

    impl BitAnd for ShaderStages

    source§

    fn bitand(self, other: ShaderStages) -> ShaderStages

    The bitwise and (&) of the bits in two flags values.

    -
    §

    type Output = ShaderStages

    The resulting type after applying the & operator.
    source§

    impl BitAndAssign for ShaderStages

    source§

    fn bitand_assign(&mut self, other: ShaderStages)

    The bitwise and (&) of the bits in two flags values.

    -
    source§

    impl BitOr for ShaderStages

    source§

    fn bitor(self, other: ShaderStages) -> ShaderStages

    The bitwise or (|) of the bits in two flags values.

    -
    §

    type Output = ShaderStages

    The resulting type after applying the | operator.
    source§

    impl BitOrAssign for ShaderStages

    source§

    fn bitor_assign(&mut self, other: ShaderStages)

    The bitwise or (|) of the bits in two flags values.

    -
    source§

    impl BitXor for ShaderStages

    source§

    fn bitxor(self, other: ShaderStages) -> ShaderStages

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    §

    type Output = ShaderStages

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign for ShaderStages

    source§

    fn bitxor_assign(&mut self, other: ShaderStages)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source§

    impl Clone for ShaderStages

    source§

    fn clone(&self) -> ShaderStages

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ShaderStages

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for ShaderStages

    Trait Implementations§

    §

    impl Binary for ShaderStages

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    §

    impl BitAnd for ShaderStages

    §

    fn bitand(self, other: ShaderStages) -> ShaderStages

    The bitwise and (&) of the bits in two flags values.

    +
    §

    type Output = ShaderStages

    The resulting type after applying the & operator.
    §

    impl BitAndAssign for ShaderStages

    §

    fn bitand_assign(&mut self, other: ShaderStages)

    The bitwise and (&) of the bits in two flags values.

    +
    §

    impl BitOr for ShaderStages

    §

    fn bitor(self, other: ShaderStages) -> ShaderStages

    The bitwise or (|) of the bits in two flags values.

    +
    §

    type Output = ShaderStages

    The resulting type after applying the | operator.
    §

    impl BitOrAssign for ShaderStages

    §

    fn bitor_assign(&mut self, other: ShaderStages)

    The bitwise or (|) of the bits in two flags values.

    +
    §

    impl BitXor for ShaderStages

    §

    fn bitxor(self, other: ShaderStages) -> ShaderStages

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    §

    type Output = ShaderStages

    The resulting type after applying the ^ operator.
    §

    impl BitXorAssign for ShaderStages

    §

    fn bitxor_assign(&mut self, other: ShaderStages)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    §

    impl Clone for ShaderStages

    §

    fn clone(&self) -> ShaderStages

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for ShaderStages

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for ShaderStages

    §

    fn deserialize<__D>( __deserializer: __D ) -> Result<ShaderStages, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Extend<ShaderStages> for ShaderStages

    source§

    fn extend<T>(&mut self, iterator: T)
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Extend<ShaderStages> for ShaderStages

    §

    fn extend<T>(&mut self, iterator: T)
    where T: IntoIterator<Item = ShaderStages>,

    The bitwise or (|) of the bits in each flags value.

    -
    source§

    fn extend_one(&mut self, item: A)

    🔬This is a nightly-only experimental API. (extend_one)
    Extends a collection with exactly one element.
    source§

    fn extend_reserve(&mut self, additional: usize)

    🔬This is a nightly-only experimental API. (extend_one)
    Reserves capacity in a collection for the given number of additional elements. Read more
    source§

    impl Flags for ShaderStages

    source§

    const FLAGS: &'static [Flag<ShaderStages>] = _

    The set of defined flags.
    §

    type Bits = u32

    The underlying bits type.
    source§

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u32) -> ShaderStages

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where +

    source§

    fn extend_one(&mut self, item: A)

    🔬This is a nightly-only experimental API. (extend_one)
    Extends a collection with exactly one element.
    source§

    fn extend_reserve(&mut self, additional: usize)

    🔬This is a nightly-only experimental API. (extend_one)
    Reserves capacity in a collection for the given number of additional elements. Read more
    §

    impl Flags for ShaderStages

    §

    const FLAGS: &'static [Flag<ShaderStages>] = _

    The set of defined flags.
    §

    type Bits = u32

    The underlying bits type.
    §

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    §

    fn from_bits_retain(bits: u32) -> ShaderStages

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where Self: Sized,

    Whether any set bits in a source flags value are also set in a target flags value.
    §

    fn contains(&self, other: Self) -> bool
    where Self: Sized,

    Whether all set bits in a source flags value are also set in a target flags value.
    §

    fn insert(&mut self, other: Self)
    where Self: Sized,

    The bitwise or (|) of the bits in two flags values.
    §

    fn remove(&mut self, other: Self)
    where Self: Sized,

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn toggle(&mut self, other: Self)
    where Self: Sized,

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn set(&mut self, other: Self, value: bool)
    where - Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    source§

    impl FromIterator<ShaderStages> for ShaderStages

    source§

    fn from_iter<T>(iterator: T) -> ShaderStages
    where + Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    §

    impl FromIterator<ShaderStages> for ShaderStages

    §

    fn from_iter<T>(iterator: T) -> ShaderStages
    where T: IntoIterator<Item = ShaderStages>,

    The bitwise or (|) of the bits in each flags value.

    -
    source§

    impl Hash for ShaderStages

    source§

    fn hash<__H>(&self, state: &mut __H)
    where +

    §

    impl Hash for ShaderStages

    §

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoIterator for ShaderStages

    §

    type Item = ShaderStages

    The type of the elements being iterated over.
    §

    type IntoIter = Iter<ShaderStages>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> <ShaderStages as IntoIterator>::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl LowerHex for ShaderStages

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    source§

    impl Not for ShaderStages

    source§

    fn not(self) -> ShaderStages

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    §

    type Output = ShaderStages

    The resulting type after applying the ! operator.
    source§

    impl Octal for ShaderStages

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    source§

    impl PartialEq for ShaderStages

    source§

    fn eq(&self, other: &ShaderStages) -> bool

    This method tests for self and other values to be equal, and is used + Self: Sized,
    Feeds a slice of this type into the given Hasher. Read more
    §

    impl IntoIterator for ShaderStages

    §

    type Item = ShaderStages

    The type of the elements being iterated over.
    §

    type IntoIter = Iter<ShaderStages>

    Which kind of iterator are we turning this into?
    §

    fn into_iter(self) -> <ShaderStages as IntoIterator>::IntoIter

    Creates an iterator from a value. Read more
    §

    impl LowerHex for ShaderStages

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    §

    impl Not for ShaderStages

    §

    fn not(self) -> ShaderStages

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    §

    type Output = ShaderStages

    The resulting type after applying the ! operator.
    §

    impl Octal for ShaderStages

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    §

    impl PartialEq for ShaderStages

    §

    fn eq(&self, other: &ShaderStages) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for ShaderStages

    source§

    fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

    §

    impl Serialize for ShaderStages

    §

    fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Sub for ShaderStages

    source§

    fn sub(self, other: ShaderStages) -> ShaderStages

    The intersection of a source flags value with the complement of a target flags value (&!).

    + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl Sub for ShaderStages

    §

    fn sub(self, other: ShaderStages) -> ShaderStages

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    §

    type Output = ShaderStages

    The resulting type after applying the - operator.
    source§

    impl SubAssign for ShaderStages

    source§

    fn sub_assign(&mut self, other: ShaderStages)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    §

    type Output = ShaderStages

    The resulting type after applying the - operator.
    §

    impl SubAssign for ShaderStages

    §

    fn sub_assign(&mut self, other: ShaderStages)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source§

    impl UpperHex for ShaderStages

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    source§

    impl Copy for ShaderStages

    source§

    impl Eq for ShaderStages

    source§

    impl StructuralEq for ShaderStages

    source§

    impl StructuralPartialEq for ShaderStages

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    §

    impl UpperHex for ShaderStages

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    §

    impl Copy for ShaderStages

    §

    impl Eq for ShaderStages

    §

    impl StructuralEq for ShaderStages

    §

    impl StructuralPartialEq for ShaderStages

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    §

    impl<Q, K> Equivalent<K> for Q
    where @@ -93,7 +93,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.SourceLocation.html b/doc/wgpu/struct.SourceLocation.html index 0a13eab06e99..168614debfdf 100644 --- a/doc/wgpu/struct.SourceLocation.html +++ b/doc/wgpu/struct.SourceLocation.html @@ -33,7 +33,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.StencilFaceState.html b/doc/wgpu/struct.StencilFaceState.html index ee7a024f089f..1d1e593782c0 100644 --- a/doc/wgpu/struct.StencilFaceState.html +++ b/doc/wgpu/struct.StencilFaceState.html @@ -1,5 +1,5 @@ StencilFaceState in wgpu - Rust -

    Struct wgpu::StencilFaceState

    source ·
    #[repr(C)]
    pub struct StencilFaceState { +

    Struct wgpu::StencilFaceState

    #[repr(C)]
    pub struct StencilFaceState { pub compare: CompareFunction, pub fail_op: StencilOperation, pub depth_fail_op: StencilOperation, @@ -11,22 +11,22 @@
    §fail_op: StencilOperation

    Operation that is performed when stencil test fails.

    §depth_fail_op: StencilOperation

    Operation that is performed when depth test fails but stencil test succeeds.

    §pass_op: StencilOperation

    Operation that is performed when stencil test success.

    -

    Implementations§

    source§

    impl StencilFaceState

    source

    pub const IGNORE: StencilFaceState = _

    Ignore the stencil state for the face.

    -
    source

    pub fn needs_ref_value(&self) -> bool

    Returns true if the face state uses the reference value for testing or operation.

    -
    source

    pub fn is_read_only(&self) -> bool

    Returns true if the face state doesn’t mutate the target values.

    -

    Trait Implementations§

    source§

    impl Clone for StencilFaceState

    source§

    fn clone(&self) -> StencilFaceState

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for StencilFaceState

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for StencilFaceState

    source§

    fn default() -> StencilFaceState

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for StencilFaceState

    Implementations§

    §

    impl StencilFaceState

    pub const IGNORE: StencilFaceState = _

    Ignore the stencil state for the face.

    +

    pub fn needs_ref_value(&self) -> bool

    Returns true if the face state uses the reference value for testing or operation.

    +

    pub fn is_read_only(&self) -> bool

    Returns true if the face state doesn’t mutate the target values.

    +

    Trait Implementations§

    §

    impl Clone for StencilFaceState

    §

    fn clone(&self) -> StencilFaceState

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for StencilFaceState

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for StencilFaceState

    §

    fn default() -> StencilFaceState

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for StencilFaceState

    §

    fn deserialize<__D>( __deserializer: __D ) -> Result<StencilFaceState, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Hash for StencilFaceState

    source§

    fn hash<__H>(&self, state: &mut __H)
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Hash for StencilFaceState

    §

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for StencilFaceState

    source§

    fn eq(&self, other: &StencilFaceState) -> bool

    This method tests for self and other values to be equal, and is used + Self: Sized,
    Feeds a slice of this type into the given Hasher. Read more
    §

    impl PartialEq for StencilFaceState

    §

    fn eq(&self, other: &StencilFaceState) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for StencilFaceState

    source§

    fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

    §

    impl Serialize for StencilFaceState

    §

    fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for StencilFaceState

    source§

    impl Eq for StencilFaceState

    source§

    impl StructuralEq for StencilFaceState

    source§

    impl StructuralPartialEq for StencilFaceState

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Copy for StencilFaceState

    §

    impl Eq for StencilFaceState

    §

    impl StructuralEq for StencilFaceState

    §

    impl StructuralPartialEq for StencilFaceState

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    §

    impl<Q, K> Equivalent<K> for Q
    where @@ -42,7 +42,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.StencilState.html b/doc/wgpu/struct.StencilState.html index 63eead396d0e..c54044c421ff 100644 --- a/doc/wgpu/struct.StencilState.html +++ b/doc/wgpu/struct.StencilState.html @@ -1,5 +1,5 @@ StencilState in wgpu - Rust -

    Struct wgpu::StencilState

    source ·
    #[repr(C)]
    pub struct StencilState { +

    Struct wgpu::StencilState

    #[repr(C)]
    pub struct StencilState { pub front: StencilFaceState, pub back: StencilFaceState, pub read_mask: u32, @@ -11,22 +11,22 @@
    §back: StencilFaceState

    Back face mode.

    §read_mask: u32

    Stencil values are AND’d with this mask when reading and writing from the stencil buffer. Only low 8 bits are used.

    §write_mask: u32

    Stencil values are AND’d with this mask when writing to the stencil buffer. Only low 8 bits are used.

    -

    Implementations§

    source§

    impl StencilState

    source

    pub fn is_enabled(&self) -> bool

    Returns true if the stencil test is enabled.

    -
    source

    pub fn is_read_only(&self, cull_mode: Option<Face>) -> bool

    Returns true if the state doesn’t mutate the target values.

    -
    source

    pub fn needs_ref_value(&self) -> bool

    Returns true if the stencil state uses the reference value for testing.

    -

    Trait Implementations§

    source§

    impl Clone for StencilState

    source§

    fn clone(&self) -> StencilState

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for StencilState

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for StencilState

    source§

    fn default() -> StencilState

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for StencilState

    Implementations§

    §

    impl StencilState

    pub fn is_enabled(&self) -> bool

    Returns true if the stencil test is enabled.

    +

    pub fn is_read_only(&self, cull_mode: Option<Face>) -> bool

    Returns true if the state doesn’t mutate the target values.

    +

    pub fn needs_ref_value(&self) -> bool

    Returns true if the stencil state uses the reference value for testing.

    +

    Trait Implementations§

    §

    impl Clone for StencilState

    §

    fn clone(&self) -> StencilState

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for StencilState

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for StencilState

    §

    fn default() -> StencilState

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for StencilState

    §

    fn deserialize<__D>( __deserializer: __D ) -> Result<StencilState, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Hash for StencilState

    source§

    fn hash<__H>(&self, state: &mut __H)
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Hash for StencilState

    §

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for StencilState

    source§

    fn eq(&self, other: &StencilState) -> bool

    This method tests for self and other values to be equal, and is used + Self: Sized,
    Feeds a slice of this type into the given Hasher. Read more
    §

    impl PartialEq for StencilState

    §

    fn eq(&self, other: &StencilState) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for StencilState

    source§

    fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

    §

    impl Serialize for StencilState

    §

    fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Eq for StencilState

    source§

    impl StructuralEq for StencilState

    source§

    impl StructuralPartialEq for StencilState

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Eq for StencilState

    §

    impl StructuralEq for StencilState

    §

    impl StructuralPartialEq for StencilState

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    §

    impl<Q, K> Equivalent<K> for Q
    where @@ -42,7 +42,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.SubmissionIndex.html b/doc/wgpu/struct.SubmissionIndex.html index e24ebe22311b..b7053a0c0e7e 100644 --- a/doc/wgpu/struct.SubmissionIndex.html +++ b/doc/wgpu/struct.SubmissionIndex.html @@ -15,7 +15,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.Surface.html b/doc/wgpu/struct.Surface.html index c2a026d85bd2..ddc3767550dc 100644 --- a/doc/wgpu/struct.Surface.html +++ b/doc/wgpu/struct.Surface.html @@ -61,7 +61,7 @@
    Safety
    From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.SurfaceCapabilities.html b/doc/wgpu/struct.SurfaceCapabilities.html index d78629f3d1f7..1afd3c6f5e26 100644 --- a/doc/wgpu/struct.SurfaceCapabilities.html +++ b/doc/wgpu/struct.SurfaceCapabilities.html @@ -1,5 +1,5 @@ SurfaceCapabilities in wgpu - Rust -
    pub struct SurfaceCapabilities {
    +    
    pub struct SurfaceCapabilities {
         pub formats: Vec<TextureFormat>,
         pub present_modes: Vec<PresentMode>,
         pub alpha_modes: Vec<CompositeAlphaMode>,
    @@ -13,7 +13,7 @@
     

    Will return at least one element, CompositeAlphaMode::Opaque or CompositeAlphaMode::Inherit.

    §usages: TextureUsages

    Bitflag of supported texture usages for the surface to use with the given adapter.

    The usage TextureUsages::RENDER_ATTACHMENT is guaranteed.

    -

    Trait Implementations§

    source§

    impl Debug for SurfaceCapabilities

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for SurfaceCapabilities

    source§

    fn default() -> SurfaceCapabilities

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Trait Implementations§

    §

    impl Debug for SurfaceCapabilities

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for SurfaceCapabilities

    §

    fn default() -> SurfaceCapabilities

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -23,7 +23,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.SurfaceTexture.html b/doc/wgpu/struct.SurfaceTexture.html index f53db514cdb1..9ab42b9ca36d 100644 --- a/doc/wgpu/struct.SurfaceTexture.html +++ b/doc/wgpu/struct.SurfaceTexture.html @@ -42,7 +42,7 @@
    Plat From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.TexelCopyBufferInfoBase.html b/doc/wgpu/struct.TexelCopyBufferInfoBase.html index 99eddc935bd1..3423b5911b93 100644 --- a/doc/wgpu/struct.TexelCopyBufferInfoBase.html +++ b/doc/wgpu/struct.TexelCopyBufferInfoBase.html @@ -1,23 +1,23 @@ TexelCopyBufferInfoBase in wgpu - Rust -
    #[repr(C)]
    pub struct TexelCopyBufferInfoBase<B> { +
    #[repr(C)]
    pub struct TexelCopyBufferInfoBase<B> { pub buffer: B, pub layout: TexelCopyBufferLayout, }
    Expand description

    View of a buffer which can be used to copy to/from a texture.

    Corresponds to WebGPU GPUTexelCopyBufferInfo.

    Fields§

    §buffer: B

    The buffer to be copied to/from.

    §layout: TexelCopyBufferLayout

    The layout of the texture data in this buffer.

    -

    Trait Implementations§

    source§

    impl<B> Clone for TexelCopyBufferInfo<B>
    where - B: Clone,

    source§

    fn clone(&self) -> TexelCopyBufferInfo<B>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<B> Debug for TexelCopyBufferInfo<B>
    where - B: Debug,

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de, B> Deserialize<'de> for TexelCopyBufferInfo<B>
    where - B: Deserialize<'de>,

    Trait Implementations§

    §

    impl<B> Clone for TexelCopyBufferInfo<B>
    where + B: Clone,

    §

    fn clone(&self) -> TexelCopyBufferInfo<B>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<B> Debug for TexelCopyBufferInfo<B>
    where + B: Debug,

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de, B> Deserialize<'de> for TexelCopyBufferInfo<B>
    where + B: Deserialize<'de>,

    §

    fn deserialize<__D>( __deserializer: __D ) -> Result<TexelCopyBufferInfo<B>, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<B> Serialize for TexelCopyBufferInfo<B>
    where - B: Serialize,

    source§

    fn serialize<__S>( + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<B> Serialize for TexelCopyBufferInfo<B>
    where + B: Serialize,

    §

    fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl<B> Copy for TexelCopyBufferInfo<B>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl<B> Copy for TexelCopyBufferInfo<B>
    where B: Copy,

    Auto Trait Implementations§

    §

    impl<B> RefUnwindSafe for TexelCopyBufferInfo<B>
    where B: RefUnwindSafe,

    §

    impl<B> Send for TexelCopyBufferInfo<B>
    where B: Send,

    §

    impl<B> Sync for TexelCopyBufferInfo<B>
    where @@ -35,7 +35,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.TexelCopyBufferLayout.html b/doc/wgpu/struct.TexelCopyBufferLayout.html index 9a1530cba054..5dc7b3826b19 100644 --- a/doc/wgpu/struct.TexelCopyBufferLayout.html +++ b/doc/wgpu/struct.TexelCopyBufferLayout.html @@ -1,5 +1,5 @@ TexelCopyBufferLayout in wgpu - Rust -
    #[repr(C)]
    pub struct TexelCopyBufferLayout { +
    #[repr(C)]
    pub struct TexelCopyBufferLayout { pub offset: u64, pub bytes_per_row: Option<u32>, pub rows_per_image: Option<u32>, @@ -28,14 +28,14 @@

    An image is one layer in the z direction of a 3D image or 2DArray texture.

    The amount of rows per image may be larger than the actual amount of rows of data.

    Required if there are multiple images (i.e. the depth is more than one).

    -

    Trait Implementations§

    source§

    impl Clone for TexelCopyBufferLayout

    source§

    fn clone(&self) -> TexelCopyBufferLayout

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TexelCopyBufferLayout

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for TexelCopyBufferLayout

    source§

    fn default() -> TexelCopyBufferLayout

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for TexelCopyBufferLayout

    Trait Implementations§

    §

    impl Clone for TexelCopyBufferLayout

    §

    fn clone(&self) -> TexelCopyBufferLayout

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for TexelCopyBufferLayout

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for TexelCopyBufferLayout

    §

    fn default() -> TexelCopyBufferLayout

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for TexelCopyBufferLayout

    §

    fn deserialize<__D>( __deserializer: __D ) -> Result<TexelCopyBufferLayout, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Serialize for TexelCopyBufferLayout

    source§

    fn serialize<__S>( + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Serialize for TexelCopyBufferLayout

    §

    fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for TexelCopyBufferLayout

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Copy for TexelCopyBufferLayout

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -47,7 +47,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.TexelCopyTextureInfoBase.html b/doc/wgpu/struct.TexelCopyTextureInfoBase.html index 9b643e5f7184..93467b2a4299 100644 --- a/doc/wgpu/struct.TexelCopyTextureInfoBase.html +++ b/doc/wgpu/struct.TexelCopyTextureInfoBase.html @@ -1,5 +1,5 @@ TexelCopyTextureInfoBase in wgpu - Rust -
    #[repr(C)]
    pub struct TexelCopyTextureInfoBase<T> { +
    #[repr(C)]
    pub struct TexelCopyTextureInfoBase<T> { pub texture: T, pub mip_level: u32, pub origin: Origin3d, @@ -12,24 +12,24 @@ with the copy_size argument to copy functions, defines the sub-region of the texture to copy.

    §aspect: TextureAspect

    The copy aspect.

    -

    Implementations§

    source§

    impl<T> TexelCopyTextureInfo<T>

    source

    pub fn to_tagged( +

    Implementations§

    §

    impl<T> TexelCopyTextureInfo<T>

    pub fn to_tagged( self, color_space: PredefinedColorSpace, premultiplied_alpha: bool -) -> CopyExternalImageDestInfo<T>

    Adds color space and premultiplied alpha information to make this +) -> CopyExternalImageDestInfo<T>

    Adds color space and premultiplied alpha information to make this descriptor tagged.

    -

    Trait Implementations§

    source§

    impl<T> Clone for TexelCopyTextureInfo<T>
    where - T: Clone,

    source§

    fn clone(&self) -> TexelCopyTextureInfo<T>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<T> Debug for TexelCopyTextureInfo<T>
    where - T: Debug,

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de, T> Deserialize<'de> for TexelCopyTextureInfo<T>
    where - T: Deserialize<'de>,

    Trait Implementations§

    §

    impl<T> Clone for TexelCopyTextureInfo<T>
    where + T: Clone,

    §

    fn clone(&self) -> TexelCopyTextureInfo<T>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<T> Debug for TexelCopyTextureInfo<T>
    where + T: Debug,

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de, T> Deserialize<'de> for TexelCopyTextureInfo<T>
    where + T: Deserialize<'de>,

    §

    fn deserialize<__D>( __deserializer: __D ) -> Result<TexelCopyTextureInfo<T>, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<T> Serialize for TexelCopyTextureInfo<T>
    where - T: Serialize,

    source§

    fn serialize<__S>( + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<T> Serialize for TexelCopyTextureInfo<T>
    where + T: Serialize,

    §

    fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl<T> Copy for TexelCopyTextureInfo<T>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl<T> Copy for TexelCopyTextureInfo<T>
    where T: Copy,

    Auto Trait Implementations§

    §

    impl<T> RefUnwindSafe for TexelCopyTextureInfo<T>
    where T: RefUnwindSafe,

    §

    impl<T> Send for TexelCopyTextureInfo<T>
    where T: Send,

    §

    impl<T> Sync for TexelCopyTextureInfo<T>
    where @@ -47,7 +47,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.Texture.html b/doc/wgpu/struct.Texture.html index 03bb3cd3ee2c..98d4d7d195f6 100644 --- a/doc/wgpu/struct.Texture.html +++ b/doc/wgpu/struct.Texture.html @@ -57,7 +57,7 @@
    Safety
    From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.TextureFormatFeatureFlags.html b/doc/wgpu/struct.TextureFormatFeatureFlags.html index f6a61cfd78af..b3d5ec624afc 100644 --- a/doc/wgpu/struct.TextureFormatFeatureFlags.html +++ b/doc/wgpu/struct.TextureFormatFeatureFlags.html @@ -1,105 +1,105 @@ TextureFormatFeatureFlags in wgpu - Rust -
    pub struct TextureFormatFeatureFlags(/* private fields */);
    Expand description

    Feature flags for a texture format.

    -

    Implementations§

    source§

    impl TextureFormatFeatureFlags

    source

    pub const FILTERABLE: TextureFormatFeatureFlags = _

    If not present, the texture can’t be sampled with a filtering sampler. +

    pub struct TextureFormatFeatureFlags(/* private fields */);
    Expand description

    Feature flags for a texture format.

    +

    Implementations§

    §

    impl TextureFormatFeatureFlags

    pub const FILTERABLE: TextureFormatFeatureFlags = _

    If not present, the texture can’t be sampled with a filtering sampler. This may overwrite TextureSampleType::Float.filterable

    -
    source

    pub const MULTISAMPLE_X2: TextureFormatFeatureFlags = _

    source

    pub const MULTISAMPLE_X4: TextureFormatFeatureFlags = _

    source

    pub const MULTISAMPLE_X8: TextureFormatFeatureFlags = _

    source

    pub const MULTISAMPLE_X16: TextureFormatFeatureFlags = _

    source

    pub const MULTISAMPLE_RESOLVE: TextureFormatFeatureFlags = _

    Allows a texture of this format to back a view passed as resolve_target +

    pub const MULTISAMPLE_X2: TextureFormatFeatureFlags = _

    Allows [TextureDescriptor::sample_count] to be 2.

    +

    pub const MULTISAMPLE_X4: TextureFormatFeatureFlags = _

    Allows [TextureDescriptor::sample_count] to be 4.

    +

    pub const MULTISAMPLE_X8: TextureFormatFeatureFlags = _

    Allows [TextureDescriptor::sample_count] to be 8.

    +

    pub const MULTISAMPLE_X16: TextureFormatFeatureFlags = _

    Allows [TextureDescriptor::sample_count] to be 16.

    +

    pub const MULTISAMPLE_RESOLVE: TextureFormatFeatureFlags = _

    Allows a texture of this format to back a view passed as resolve_target to a render pass for an automatic driver-implemented resolve.

    -
    source

    pub const STORAGE_READ_ONLY: TextureFormatFeatureFlags = _

    When used as a STORAGE texture, then a texture with this format can be bound with +

    pub const STORAGE_READ_ONLY: TextureFormatFeatureFlags = _

    When used as a STORAGE texture, then a texture with this format can be bound with StorageTextureAccess::ReadOnly.

    -
    source

    pub const STORAGE_WRITE_ONLY: TextureFormatFeatureFlags = _

    When used as a STORAGE texture, then a texture with this format can be bound with +

    pub const STORAGE_WRITE_ONLY: TextureFormatFeatureFlags = _

    When used as a STORAGE texture, then a texture with this format can be bound with StorageTextureAccess::WriteOnly.

    -
    source

    pub const STORAGE_READ_WRITE: TextureFormatFeatureFlags = _

    When used as a STORAGE texture, then a texture with this format can be bound with +

    pub const STORAGE_READ_WRITE: TextureFormatFeatureFlags = _

    When used as a STORAGE texture, then a texture with this format can be bound with StorageTextureAccess::ReadWrite.

    -
    source

    pub const BLENDABLE: TextureFormatFeatureFlags = _

    If not present, the texture can’t be blended into the render target.

    -
    source§

    impl TextureFormatFeatureFlags

    source

    pub const fn empty() -> TextureFormatFeatureFlags

    Get a flags value with all bits unset.

    -
    source

    pub const fn all() -> TextureFormatFeatureFlags

    Get a flags value with all known bits set.

    -
    source

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    +

    pub const BLENDABLE: TextureFormatFeatureFlags = _

    If not present, the texture can’t be blended into the render target.

    +
    §

    impl TextureFormatFeatureFlags

    pub const fn empty() -> TextureFormatFeatureFlags

    Get a flags value with all bits unset.

    +

    pub const fn all() -> TextureFormatFeatureFlags

    Get a flags value with all known bits set.

    +

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    The returned value is exactly the bits set in this flags value.

    -
    source

    pub const fn from_bits(bits: u32) -> Option<TextureFormatFeatureFlags>

    Convert from a bits value.

    +

    pub const fn from_bits(bits: u32) -> Option<TextureFormatFeatureFlags>

    Convert from a bits value.

    This method will return None if any unknown bits are set.

    -
    source

    pub const fn from_bits_truncate(bits: u32) -> TextureFormatFeatureFlags

    Convert from a bits value, unsetting any unknown bits.

    -
    source

    pub const fn from_bits_retain(bits: u32) -> TextureFormatFeatureFlags

    Convert from a bits value exactly.

    -
    source

    pub fn from_name(name: &str) -> Option<TextureFormatFeatureFlags>

    Get a flags value with the bits of a flag with the given name set.

    +

    pub const fn from_bits_truncate(bits: u32) -> TextureFormatFeatureFlags

    Convert from a bits value, unsetting any unknown bits.

    +

    pub const fn from_bits_retain(bits: u32) -> TextureFormatFeatureFlags

    Convert from a bits value exactly.

    +

    pub fn from_name(name: &str) -> Option<TextureFormatFeatureFlags>

    Get a flags value with the bits of a flag with the given name set.

    This method will return None if name is empty or doesn’t correspond to any named flag.

    -
    source

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    -
    source

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    -
    source

    pub const fn intersects(&self, other: TextureFormatFeatureFlags) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    -
    source

    pub const fn contains(&self, other: TextureFormatFeatureFlags) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    -
    source

    pub fn insert(&mut self, other: TextureFormatFeatureFlags)

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub fn remove(&mut self, other: TextureFormatFeatureFlags)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    +

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    +

    pub const fn intersects(&self, other: TextureFormatFeatureFlags) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    +

    pub const fn contains(&self, other: TextureFormatFeatureFlags) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    +

    pub fn insert(&mut self, other: TextureFormatFeatureFlags)

    The bitwise or (|) of the bits in two flags values.

    +

    pub fn remove(&mut self, other: TextureFormatFeatureFlags)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. remove won’t truncate other, but the ! operator will.

    -
    source

    pub fn toggle(&mut self, other: TextureFormatFeatureFlags)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub fn set(&mut self, other: TextureFormatFeatureFlags, value: bool)

    Call insert when value is true or remove when value is false.

    -
    source

    pub const fn intersection( +

    pub fn toggle(&mut self, other: TextureFormatFeatureFlags)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +

    pub fn set(&mut self, other: TextureFormatFeatureFlags, value: bool)

    Call insert when value is true or remove when value is false.

    +

    pub const fn intersection( self, other: TextureFormatFeatureFlags ) -> TextureFormatFeatureFlags

    The bitwise and (&) of the bits in two flags values.

    -
    source

    pub const fn union( +

    pub const fn union( self, other: TextureFormatFeatureFlags ) -> TextureFormatFeatureFlags

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub const fn difference( +

    pub const fn difference( self, other: TextureFormatFeatureFlags ) -> TextureFormatFeatureFlags

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source

    pub const fn symmetric_difference( +

    pub const fn symmetric_difference( self, other: TextureFormatFeatureFlags ) -> TextureFormatFeatureFlags

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub const fn complement(self) -> TextureFormatFeatureFlags

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    source§

    impl TextureFormatFeatureFlags

    source

    pub const fn iter(&self) -> Iter<TextureFormatFeatureFlags>

    Yield a set of contained flags values.

    +

    pub const fn complement(self) -> TextureFormatFeatureFlags

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    §

    impl TextureFormatFeatureFlags

    pub const fn iter(&self) -> Iter<TextureFormatFeatureFlags>

    Yield a set of contained flags values.

    Each yielded flags value will correspond to a defined named flag. Any unknown bits will be yielded together as a final flags value.

    -
    source

    pub const fn iter_names(&self) -> IterNames<TextureFormatFeatureFlags>

    Yield a set of contained named flags values.

    +

    pub const fn iter_names(&self) -> IterNames<TextureFormatFeatureFlags>

    Yield a set of contained named flags values.

    This method is like iter, except only yields bits in contained named flags. Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

    -
    source§

    impl TextureFormatFeatureFlags

    source

    pub fn sample_count_supported(&self, count: u32) -> bool

    Sample count supported by a given texture format.

    +
    §

    impl TextureFormatFeatureFlags

    pub fn sample_count_supported(&self, count: u32) -> bool

    Sample count supported by a given texture format.

    returns true if count is a supported sample count.

    -
    source

    pub fn supported_sample_counts(&self) -> Vec<u32>

    A Vec of supported sample counts.

    -

    Trait Implementations§

    source§

    impl Binary for TextureFormatFeatureFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    source§

    impl BitAnd for TextureFormatFeatureFlags

    source§

    fn bitand(self, other: TextureFormatFeatureFlags) -> TextureFormatFeatureFlags

    The bitwise and (&) of the bits in two flags values.

    -
    §

    type Output = TextureFormatFeatureFlags

    The resulting type after applying the & operator.
    source§

    impl BitAndAssign for TextureFormatFeatureFlags

    source§

    fn bitand_assign(&mut self, other: TextureFormatFeatureFlags)

    The bitwise and (&) of the bits in two flags values.

    -
    source§

    impl BitOr for TextureFormatFeatureFlags

    source§

    fn bitor(self, other: TextureFormatFeatureFlags) -> TextureFormatFeatureFlags

    The bitwise or (|) of the bits in two flags values.

    -
    §

    type Output = TextureFormatFeatureFlags

    The resulting type after applying the | operator.
    source§

    impl BitOrAssign for TextureFormatFeatureFlags

    source§

    fn bitor_assign(&mut self, other: TextureFormatFeatureFlags)

    The bitwise or (|) of the bits in two flags values.

    -
    source§

    impl BitXor for TextureFormatFeatureFlags

    source§

    fn bitxor(self, other: TextureFormatFeatureFlags) -> TextureFormatFeatureFlags

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    §

    type Output = TextureFormatFeatureFlags

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign for TextureFormatFeatureFlags

    source§

    fn bitxor_assign(&mut self, other: TextureFormatFeatureFlags)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source§

    impl Clone for TextureFormatFeatureFlags

    source§

    fn clone(&self) -> TextureFormatFeatureFlags

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TextureFormatFeatureFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for TextureFormatFeatureFlags

    pub fn supported_sample_counts(&self) -> Vec<u32>

    A Vec of supported sample counts.

    +

    Trait Implementations§

    §

    impl Binary for TextureFormatFeatureFlags

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    §

    impl BitAnd for TextureFormatFeatureFlags

    §

    fn bitand(self, other: TextureFormatFeatureFlags) -> TextureFormatFeatureFlags

    The bitwise and (&) of the bits in two flags values.

    +
    §

    type Output = TextureFormatFeatureFlags

    The resulting type after applying the & operator.
    §

    impl BitAndAssign for TextureFormatFeatureFlags

    §

    fn bitand_assign(&mut self, other: TextureFormatFeatureFlags)

    The bitwise and (&) of the bits in two flags values.

    +
    §

    impl BitOr for TextureFormatFeatureFlags

    §

    fn bitor(self, other: TextureFormatFeatureFlags) -> TextureFormatFeatureFlags

    The bitwise or (|) of the bits in two flags values.

    +
    §

    type Output = TextureFormatFeatureFlags

    The resulting type after applying the | operator.
    §

    impl BitOrAssign for TextureFormatFeatureFlags

    §

    fn bitor_assign(&mut self, other: TextureFormatFeatureFlags)

    The bitwise or (|) of the bits in two flags values.

    +
    §

    impl BitXor for TextureFormatFeatureFlags

    §

    fn bitxor(self, other: TextureFormatFeatureFlags) -> TextureFormatFeatureFlags

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    §

    type Output = TextureFormatFeatureFlags

    The resulting type after applying the ^ operator.
    §

    impl BitXorAssign for TextureFormatFeatureFlags

    §

    fn bitxor_assign(&mut self, other: TextureFormatFeatureFlags)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    §

    impl Clone for TextureFormatFeatureFlags

    §

    fn clone(&self) -> TextureFormatFeatureFlags

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for TextureFormatFeatureFlags

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for TextureFormatFeatureFlags

    §

    fn deserialize<__D>( __deserializer: __D ) -> Result<TextureFormatFeatureFlags, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Extend<TextureFormatFeatureFlags> for TextureFormatFeatureFlags

    source§

    fn extend<T>(&mut self, iterator: T)
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Extend<TextureFormatFeatureFlags> for TextureFormatFeatureFlags

    §

    fn extend<T>(&mut self, iterator: T)

    The bitwise or (|) of the bits in each flags value.

    -
    source§

    fn extend_one(&mut self, item: A)

    🔬This is a nightly-only experimental API. (extend_one)
    Extends a collection with exactly one element.
    source§

    fn extend_reserve(&mut self, additional: usize)

    🔬This is a nightly-only experimental API. (extend_one)
    Reserves capacity in a collection for the given number of additional elements. Read more
    source§

    impl Flags for TextureFormatFeatureFlags

    source§

    const FLAGS: &'static [Flag<TextureFormatFeatureFlags>] = _

    The set of defined flags.
    §

    type Bits = u32

    The underlying bits type.
    source§

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u32) -> TextureFormatFeatureFlags

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where +

    source§

    fn extend_one(&mut self, item: A)

    🔬This is a nightly-only experimental API. (extend_one)
    Extends a collection with exactly one element.
    source§

    fn extend_reserve(&mut self, additional: usize)

    🔬This is a nightly-only experimental API. (extend_one)
    Reserves capacity in a collection for the given number of additional elements. Read more
    §

    impl Flags for TextureFormatFeatureFlags

    §

    const FLAGS: &'static [Flag<TextureFormatFeatureFlags>] = _

    The set of defined flags.
    §

    type Bits = u32

    The underlying bits type.
    §

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    §

    fn from_bits_retain(bits: u32) -> TextureFormatFeatureFlags

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where Self: Sized,

    Whether any set bits in a source flags value are also set in a target flags value.
    §

    fn contains(&self, other: Self) -> bool
    where Self: Sized,

    Whether all set bits in a source flags value are also set in a target flags value.
    §

    fn insert(&mut self, other: Self)
    where Self: Sized,

    The bitwise or (|) of the bits in two flags values.
    §

    fn remove(&mut self, other: Self)
    where Self: Sized,

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn toggle(&mut self, other: Self)
    where Self: Sized,

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn set(&mut self, other: Self, value: bool)
    where - Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    source§

    impl FromIterator<TextureFormatFeatureFlags> for TextureFormatFeatureFlags

    source§

    fn from_iter<T>(iterator: T) -> TextureFormatFeatureFlags
    where + Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    §

    impl FromIterator<TextureFormatFeatureFlags> for TextureFormatFeatureFlags

    §

    fn from_iter<T>(iterator: T) -> TextureFormatFeatureFlags

    The bitwise or (|) of the bits in each flags value.

    -
    source§

    impl Hash for TextureFormatFeatureFlags

    source§

    fn hash<__H>(&self, state: &mut __H)
    where +

    §

    impl Hash for TextureFormatFeatureFlags

    §

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoIterator for TextureFormatFeatureFlags

    §

    type Item = TextureFormatFeatureFlags

    The type of the elements being iterated over.
    §

    type IntoIter = Iter<TextureFormatFeatureFlags>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> <TextureFormatFeatureFlags as IntoIterator>::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl LowerHex for TextureFormatFeatureFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    source§

    impl Not for TextureFormatFeatureFlags

    source§

    fn not(self) -> TextureFormatFeatureFlags

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    §

    type Output = TextureFormatFeatureFlags

    The resulting type after applying the ! operator.
    source§

    impl Octal for TextureFormatFeatureFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    source§

    impl PartialEq for TextureFormatFeatureFlags

    source§

    fn eq(&self, other: &TextureFormatFeatureFlags) -> bool

    This method tests for self and other values to be equal, and is used + Self: Sized,
    Feeds a slice of this type into the given Hasher. Read more
    §

    impl IntoIterator for TextureFormatFeatureFlags

    §

    type Item = TextureFormatFeatureFlags

    The type of the elements being iterated over.
    §

    type IntoIter = Iter<TextureFormatFeatureFlags>

    Which kind of iterator are we turning this into?
    §

    fn into_iter(self) -> <TextureFormatFeatureFlags as IntoIterator>::IntoIter

    Creates an iterator from a value. Read more
    §

    impl LowerHex for TextureFormatFeatureFlags

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    §

    impl Not for TextureFormatFeatureFlags

    §

    fn not(self) -> TextureFormatFeatureFlags

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    §

    type Output = TextureFormatFeatureFlags

    The resulting type after applying the ! operator.
    §

    impl Octal for TextureFormatFeatureFlags

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    §

    impl PartialEq for TextureFormatFeatureFlags

    §

    fn eq(&self, other: &TextureFormatFeatureFlags) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for TextureFormatFeatureFlags

    source§

    fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

    §

    impl Serialize for TextureFormatFeatureFlags

    §

    fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Sub for TextureFormatFeatureFlags

    source§

    fn sub(self, other: TextureFormatFeatureFlags) -> TextureFormatFeatureFlags

    The intersection of a source flags value with the complement of a target flags value (&!).

    + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl Sub for TextureFormatFeatureFlags

    §

    fn sub(self, other: TextureFormatFeatureFlags) -> TextureFormatFeatureFlags

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    §

    type Output = TextureFormatFeatureFlags

    The resulting type after applying the - operator.
    source§

    impl SubAssign for TextureFormatFeatureFlags

    source§

    fn sub_assign(&mut self, other: TextureFormatFeatureFlags)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    §

    type Output = TextureFormatFeatureFlags

    The resulting type after applying the - operator.
    §

    impl SubAssign for TextureFormatFeatureFlags

    §

    fn sub_assign(&mut self, other: TextureFormatFeatureFlags)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source§

    impl UpperHex for TextureFormatFeatureFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    source§

    impl Copy for TextureFormatFeatureFlags

    source§

    impl Eq for TextureFormatFeatureFlags

    source§

    impl StructuralEq for TextureFormatFeatureFlags

    source§

    impl StructuralPartialEq for TextureFormatFeatureFlags

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    §

    impl UpperHex for TextureFormatFeatureFlags

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    §

    impl Copy for TextureFormatFeatureFlags

    §

    impl Eq for TextureFormatFeatureFlags

    §

    impl StructuralEq for TextureFormatFeatureFlags

    §

    impl StructuralPartialEq for TextureFormatFeatureFlags

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    §

    impl<Q, K> Equivalent<K> for Q
    where @@ -115,7 +115,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.TextureFormatFeatures.html b/doc/wgpu/struct.TextureFormatFeatures.html index 95773d949bf3..f4187642b7de 100644 --- a/doc/wgpu/struct.TextureFormatFeatures.html +++ b/doc/wgpu/struct.TextureFormatFeatures.html @@ -1,24 +1,24 @@ TextureFormatFeatures in wgpu - Rust -
    pub struct TextureFormatFeatures {
    +    
    pub struct TextureFormatFeatures {
         pub allowed_usages: TextureUsages,
         pub flags: TextureFormatFeatureFlags,
     }
    Expand description

    Features supported by a given texture format

    Features are defined by WebGPU specification unless Features::TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES is enabled.

    Fields§

    §allowed_usages: TextureUsages

    Valid bits for TextureDescriptor::Usage provided for format creation.

    §flags: TextureFormatFeatureFlags

    Additional property flags for the format.

    -

    Trait Implementations§

    source§

    impl Clone for TextureFormatFeatures

    source§

    fn clone(&self) -> TextureFormatFeatures

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TextureFormatFeatures

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for TextureFormatFeatures

    Trait Implementations§

    §

    impl Clone for TextureFormatFeatures

    §

    fn clone(&self) -> TextureFormatFeatures

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for TextureFormatFeatures

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for TextureFormatFeatures

    §

    fn deserialize<__D>( __deserializer: __D ) -> Result<TextureFormatFeatures, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Hash for TextureFormatFeatures

    source§

    fn hash<__H>(&self, state: &mut __H)
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Hash for TextureFormatFeatures

    §

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for TextureFormatFeatures

    source§

    fn eq(&self, other: &TextureFormatFeatures) -> bool

    This method tests for self and other values to be equal, and is used + Self: Sized,
    Feeds a slice of this type into the given Hasher. Read more
    §

    impl PartialEq for TextureFormatFeatures

    §

    fn eq(&self, other: &TextureFormatFeatures) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for TextureFormatFeatures

    source§

    fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

    §

    impl Serialize for TextureFormatFeatures

    §

    fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for TextureFormatFeatures

    source§

    impl Eq for TextureFormatFeatures

    source§

    impl StructuralEq for TextureFormatFeatures

    source§

    impl StructuralPartialEq for TextureFormatFeatures

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Copy for TextureFormatFeatures

    §

    impl Eq for TextureFormatFeatures

    §

    impl StructuralEq for TextureFormatFeatures

    §

    impl StructuralPartialEq for TextureFormatFeatures

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    §

    impl<Q, K> Equivalent<K> for Q
    where @@ -34,7 +34,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.TextureUsages.html b/doc/wgpu/struct.TextureUsages.html index c53df3528f45..a10bd07e95d1 100644 --- a/doc/wgpu/struct.TextureUsages.html +++ b/doc/wgpu/struct.TextureUsages.html @@ -1,85 +1,85 @@ TextureUsages in wgpu - Rust -

    Struct wgpu::TextureUsages

    source ·
    pub struct TextureUsages(/* private fields */);
    Expand description

    Different ways that you can use a texture.

    +

    Struct wgpu::TextureUsages

    pub struct TextureUsages(/* private fields */);
    Expand description

    Different ways that you can use a texture.

    The usages determine what kind of memory the texture is allocated from and what actions the texture can partake in.

    Corresponds to WebGPU GPUTextureUsageFlags.

    -

    Implementations§

    source§

    impl TextureUsages

    source

    pub const COPY_SRC: TextureUsages = _

    Allows a texture to be the source in a [CommandEncoder::copy_texture_to_buffer] or +

    Implementations§

    §

    impl TextureUsages

    pub const COPY_SRC: TextureUsages = _

    Allows a texture to be the source in a [CommandEncoder::copy_texture_to_buffer] or [CommandEncoder::copy_texture_to_texture] operation.

    -
    source

    pub const COPY_DST: TextureUsages = _

    Allows a texture to be the destination in a [CommandEncoder::copy_buffer_to_texture], +

    pub const COPY_DST: TextureUsages = _

    Allows a texture to be the destination in a [CommandEncoder::copy_buffer_to_texture], [CommandEncoder::copy_texture_to_texture], or [Queue::write_texture] operation.

    -
    source

    pub const TEXTURE_BINDING: TextureUsages = _

    Allows a texture to be a BindingType::Texture in a bind group.

    -
    source

    pub const STORAGE_BINDING: TextureUsages = _

    Allows a texture to be a BindingType::StorageTexture in a bind group.

    -
    source

    pub const RENDER_ATTACHMENT: TextureUsages = _

    Allows a texture to be an output attachment of a render pass.

    -
    source§

    impl TextureUsages

    source

    pub const fn empty() -> TextureUsages

    Get a flags value with all bits unset.

    -
    source

    pub const fn all() -> TextureUsages

    Get a flags value with all known bits set.

    -
    source

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    +

    pub const TEXTURE_BINDING: TextureUsages = _

    Allows a texture to be a BindingType::Texture in a bind group.

    +

    pub const STORAGE_BINDING: TextureUsages = _

    Allows a texture to be a BindingType::StorageTexture in a bind group.

    +

    pub const RENDER_ATTACHMENT: TextureUsages = _

    Allows a texture to be an output attachment of a render pass.

    +
    §

    impl TextureUsages

    pub const fn empty() -> TextureUsages

    Get a flags value with all bits unset.

    +

    pub const fn all() -> TextureUsages

    Get a flags value with all known bits set.

    +

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    The returned value is exactly the bits set in this flags value.

    -
    source

    pub const fn from_bits(bits: u32) -> Option<TextureUsages>

    Convert from a bits value.

    +

    pub const fn from_bits(bits: u32) -> Option<TextureUsages>

    Convert from a bits value.

    This method will return None if any unknown bits are set.

    -
    source

    pub const fn from_bits_truncate(bits: u32) -> TextureUsages

    Convert from a bits value, unsetting any unknown bits.

    -
    source

    pub const fn from_bits_retain(bits: u32) -> TextureUsages

    Convert from a bits value exactly.

    -
    source

    pub fn from_name(name: &str) -> Option<TextureUsages>

    Get a flags value with the bits of a flag with the given name set.

    +

    pub const fn from_bits_truncate(bits: u32) -> TextureUsages

    Convert from a bits value, unsetting any unknown bits.

    +

    pub const fn from_bits_retain(bits: u32) -> TextureUsages

    Convert from a bits value exactly.

    +

    pub fn from_name(name: &str) -> Option<TextureUsages>

    Get a flags value with the bits of a flag with the given name set.

    This method will return None if name is empty or doesn’t correspond to any named flag.

    -
    source

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    -
    source

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    -
    source

    pub const fn intersects(&self, other: TextureUsages) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    -
    source

    pub const fn contains(&self, other: TextureUsages) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    -
    source

    pub fn insert(&mut self, other: TextureUsages)

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub fn remove(&mut self, other: TextureUsages)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    +

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    +

    pub const fn intersects(&self, other: TextureUsages) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    +

    pub const fn contains(&self, other: TextureUsages) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    +

    pub fn insert(&mut self, other: TextureUsages)

    The bitwise or (|) of the bits in two flags values.

    +

    pub fn remove(&mut self, other: TextureUsages)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. remove won’t truncate other, but the ! operator will.

    -
    source

    pub fn toggle(&mut self, other: TextureUsages)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub fn set(&mut self, other: TextureUsages, value: bool)

    Call insert when value is true or remove when value is false.

    -
    source

    pub const fn intersection(self, other: TextureUsages) -> TextureUsages

    The bitwise and (&) of the bits in two flags values.

    -
    source

    pub const fn union(self, other: TextureUsages) -> TextureUsages

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub const fn difference(self, other: TextureUsages) -> TextureUsages

    The intersection of a source flags value with the complement of a target flags value (&!).

    +

    pub fn toggle(&mut self, other: TextureUsages)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +

    pub fn set(&mut self, other: TextureUsages, value: bool)

    Call insert when value is true or remove when value is false.

    +

    pub const fn intersection(self, other: TextureUsages) -> TextureUsages

    The bitwise and (&) of the bits in two flags values.

    +

    pub const fn union(self, other: TextureUsages) -> TextureUsages

    The bitwise or (|) of the bits in two flags values.

    +

    pub const fn difference(self, other: TextureUsages) -> TextureUsages

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source

    pub const fn symmetric_difference(self, other: TextureUsages) -> TextureUsages

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub const fn complement(self) -> TextureUsages

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    source§

    impl TextureUsages

    source

    pub const fn iter(&self) -> Iter<TextureUsages>

    Yield a set of contained flags values.

    +

    pub const fn symmetric_difference(self, other: TextureUsages) -> TextureUsages

    The bitwise exclusive-or (^) of the bits in two flags values.

    +

    pub const fn complement(self) -> TextureUsages

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    §

    impl TextureUsages

    pub const fn iter(&self) -> Iter<TextureUsages>

    Yield a set of contained flags values.

    Each yielded flags value will correspond to a defined named flag. Any unknown bits will be yielded together as a final flags value.

    -
    source

    pub const fn iter_names(&self) -> IterNames<TextureUsages>

    Yield a set of contained named flags values.

    +

    pub const fn iter_names(&self) -> IterNames<TextureUsages>

    Yield a set of contained named flags values.

    This method is like iter, except only yields bits in contained named flags. Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

    -

    Trait Implementations§

    source§

    impl Binary for TextureUsages

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    source§

    impl BitAnd for TextureUsages

    source§

    fn bitand(self, other: TextureUsages) -> TextureUsages

    The bitwise and (&) of the bits in two flags values.

    -
    §

    type Output = TextureUsages

    The resulting type after applying the & operator.
    source§

    impl BitAndAssign for TextureUsages

    source§

    fn bitand_assign(&mut self, other: TextureUsages)

    The bitwise and (&) of the bits in two flags values.

    -
    source§

    impl BitOr for TextureUsages

    source§

    fn bitor(self, other: TextureUsages) -> TextureUsages

    The bitwise or (|) of the bits in two flags values.

    -
    §

    type Output = TextureUsages

    The resulting type after applying the | operator.
    source§

    impl BitOrAssign for TextureUsages

    source§

    fn bitor_assign(&mut self, other: TextureUsages)

    The bitwise or (|) of the bits in two flags values.

    -
    source§

    impl BitXor for TextureUsages

    source§

    fn bitxor(self, other: TextureUsages) -> TextureUsages

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    §

    type Output = TextureUsages

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign for TextureUsages

    source§

    fn bitxor_assign(&mut self, other: TextureUsages)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source§

    impl Clone for TextureUsages

    source§

    fn clone(&self) -> TextureUsages

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TextureUsages

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for TextureUsages

    Trait Implementations§

    §

    impl Binary for TextureUsages

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    §

    impl BitAnd for TextureUsages

    §

    fn bitand(self, other: TextureUsages) -> TextureUsages

    The bitwise and (&) of the bits in two flags values.

    +
    §

    type Output = TextureUsages

    The resulting type after applying the & operator.
    §

    impl BitAndAssign for TextureUsages

    §

    fn bitand_assign(&mut self, other: TextureUsages)

    The bitwise and (&) of the bits in two flags values.

    +
    §

    impl BitOr for TextureUsages

    §

    fn bitor(self, other: TextureUsages) -> TextureUsages

    The bitwise or (|) of the bits in two flags values.

    +
    §

    type Output = TextureUsages

    The resulting type after applying the | operator.
    §

    impl BitOrAssign for TextureUsages

    §

    fn bitor_assign(&mut self, other: TextureUsages)

    The bitwise or (|) of the bits in two flags values.

    +
    §

    impl BitXor for TextureUsages

    §

    fn bitxor(self, other: TextureUsages) -> TextureUsages

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    §

    type Output = TextureUsages

    The resulting type after applying the ^ operator.
    §

    impl BitXorAssign for TextureUsages

    §

    fn bitxor_assign(&mut self, other: TextureUsages)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    §

    impl Clone for TextureUsages

    §

    fn clone(&self) -> TextureUsages

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for TextureUsages

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for TextureUsages

    §

    fn deserialize<__D>( __deserializer: __D ) -> Result<TextureUsages, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Extend<TextureUsages> for TextureUsages

    source§

    fn extend<T>(&mut self, iterator: T)
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Extend<TextureUsages> for TextureUsages

    §

    fn extend<T>(&mut self, iterator: T)
    where T: IntoIterator<Item = TextureUsages>,

    The bitwise or (|) of the bits in each flags value.

    -
    source§

    fn extend_one(&mut self, item: A)

    🔬This is a nightly-only experimental API. (extend_one)
    Extends a collection with exactly one element.
    source§

    fn extend_reserve(&mut self, additional: usize)

    🔬This is a nightly-only experimental API. (extend_one)
    Reserves capacity in a collection for the given number of additional elements. Read more
    source§

    impl Flags for TextureUsages

    source§

    const FLAGS: &'static [Flag<TextureUsages>] = _

    The set of defined flags.
    §

    type Bits = u32

    The underlying bits type.
    source§

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u32) -> TextureUsages

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where +

    source§

    fn extend_one(&mut self, item: A)

    🔬This is a nightly-only experimental API. (extend_one)
    Extends a collection with exactly one element.
    source§

    fn extend_reserve(&mut self, additional: usize)

    🔬This is a nightly-only experimental API. (extend_one)
    Reserves capacity in a collection for the given number of additional elements. Read more
    §

    impl Flags for TextureUsages

    §

    const FLAGS: &'static [Flag<TextureUsages>] = _

    The set of defined flags.
    §

    type Bits = u32

    The underlying bits type.
    §

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    §

    fn from_bits_retain(bits: u32) -> TextureUsages

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where Self: Sized,

    Whether any set bits in a source flags value are also set in a target flags value.
    §

    fn contains(&self, other: Self) -> bool
    where Self: Sized,

    Whether all set bits in a source flags value are also set in a target flags value.
    §

    fn insert(&mut self, other: Self)
    where Self: Sized,

    The bitwise or (|) of the bits in two flags values.
    §

    fn remove(&mut self, other: Self)
    where Self: Sized,

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn toggle(&mut self, other: Self)
    where Self: Sized,

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn set(&mut self, other: Self, value: bool)
    where - Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    source§

    impl FromIterator<TextureUsages> for TextureUsages

    source§

    fn from_iter<T>(iterator: T) -> TextureUsages
    where + Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    §

    impl FromIterator<TextureUsages> for TextureUsages

    §

    fn from_iter<T>(iterator: T) -> TextureUsages
    where T: IntoIterator<Item = TextureUsages>,

    The bitwise or (|) of the bits in each flags value.

    -
    source§

    impl Hash for TextureUsages

    source§

    fn hash<__H>(&self, state: &mut __H)
    where +

    §

    impl Hash for TextureUsages

    §

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoIterator for TextureUsages

    §

    type Item = TextureUsages

    The type of the elements being iterated over.
    §

    type IntoIter = Iter<TextureUsages>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> <TextureUsages as IntoIterator>::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl LowerHex for TextureUsages

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    source§

    impl Not for TextureUsages

    source§

    fn not(self) -> TextureUsages

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    §

    type Output = TextureUsages

    The resulting type after applying the ! operator.
    source§

    impl Octal for TextureUsages

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    source§

    impl PartialEq for TextureUsages

    source§

    fn eq(&self, other: &TextureUsages) -> bool

    This method tests for self and other values to be equal, and is used + Self: Sized,
    Feeds a slice of this type into the given Hasher. Read more
    §

    impl IntoIterator for TextureUsages

    §

    type Item = TextureUsages

    The type of the elements being iterated over.
    §

    type IntoIter = Iter<TextureUsages>

    Which kind of iterator are we turning this into?
    §

    fn into_iter(self) -> <TextureUsages as IntoIterator>::IntoIter

    Creates an iterator from a value. Read more
    §

    impl LowerHex for TextureUsages

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    §

    impl Not for TextureUsages

    §

    fn not(self) -> TextureUsages

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    §

    type Output = TextureUsages

    The resulting type after applying the ! operator.
    §

    impl Octal for TextureUsages

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    §

    impl PartialEq for TextureUsages

    §

    fn eq(&self, other: &TextureUsages) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for TextureUsages

    source§

    fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

    §

    impl Serialize for TextureUsages

    §

    fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Sub for TextureUsages

    source§

    fn sub(self, other: TextureUsages) -> TextureUsages

    The intersection of a source flags value with the complement of a target flags value (&!).

    + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl Sub for TextureUsages

    §

    fn sub(self, other: TextureUsages) -> TextureUsages

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    §

    type Output = TextureUsages

    The resulting type after applying the - operator.
    source§

    impl SubAssign for TextureUsages

    source§

    fn sub_assign(&mut self, other: TextureUsages)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    §

    type Output = TextureUsages

    The resulting type after applying the - operator.
    §

    impl SubAssign for TextureUsages

    §

    fn sub_assign(&mut self, other: TextureUsages)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source§

    impl UpperHex for TextureUsages

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    source§

    impl Copy for TextureUsages

    source§

    impl Eq for TextureUsages

    source§

    impl StructuralEq for TextureUsages

    source§

    impl StructuralPartialEq for TextureUsages

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    §

    impl UpperHex for TextureUsages

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    §

    impl Copy for TextureUsages

    §

    impl Eq for TextureUsages

    §

    impl StructuralEq for TextureUsages

    §

    impl StructuralPartialEq for TextureUsages

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    §

    impl<Q, K> Equivalent<K> for Q
    where @@ -95,7 +95,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.TextureView.html b/doc/wgpu/struct.TextureView.html index 7c74c936b7ef..199baf7f4397 100644 --- a/doc/wgpu/struct.TextureView.html +++ b/doc/wgpu/struct.TextureView.html @@ -37,7 +37,7 @@
    Safety
    From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.Tlas.html b/doc/wgpu/struct.Tlas.html index f4c869468cc6..59a02fe9281d 100644 --- a/doc/wgpu/struct.Tlas.html +++ b/doc/wgpu/struct.Tlas.html @@ -30,7 +30,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.TlasBuildEntry.html b/doc/wgpu/struct.TlasBuildEntry.html index 1900252dca77..7b76240515af 100644 --- a/doc/wgpu/struct.TlasBuildEntry.html +++ b/doc/wgpu/struct.TlasBuildEntry.html @@ -19,7 +19,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.TlasInstance.html b/doc/wgpu/struct.TlasInstance.html index be10a66be349..3564cb469d1a 100644 --- a/doc/wgpu/struct.TlasInstance.html +++ b/doc/wgpu/struct.TlasInstance.html @@ -53,7 +53,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.TlasPackage.html b/doc/wgpu/struct.TlasPackage.html index 3767dc33dd8e..212812afbe56 100644 --- a/doc/wgpu/struct.TlasPackage.html +++ b/doc/wgpu/struct.TlasPackage.html @@ -38,7 +38,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.VertexAttribute.html b/doc/wgpu/struct.VertexAttribute.html index 82029face24f..6bfff2ca0917 100644 --- a/doc/wgpu/struct.VertexAttribute.html +++ b/doc/wgpu/struct.VertexAttribute.html @@ -1,5 +1,5 @@ VertexAttribute in wgpu - Rust -

    Struct wgpu::VertexAttribute

    source ·
    #[repr(C)]
    pub struct VertexAttribute { +

    Struct wgpu::VertexAttribute

    #[repr(C)]
    pub struct VertexAttribute { pub format: VertexFormat, pub offset: u64, pub shader_location: u32, @@ -10,19 +10,19 @@

    Fields§

    §format: VertexFormat

    Format of the input

    §offset: u64

    Byte offset of the start of the input

    §shader_location: u32

    Location for this input. Must match the location in the shader.

    -

    Trait Implementations§

    source§

    impl Clone for VertexAttribute

    source§

    fn clone(&self) -> VertexAttribute

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for VertexAttribute

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for VertexAttribute

    Trait Implementations§

    §

    impl Clone for VertexAttribute

    §

    fn clone(&self) -> VertexAttribute

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for VertexAttribute

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for VertexAttribute

    §

    fn deserialize<__D>( __deserializer: __D ) -> Result<VertexAttribute, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Hash for VertexAttribute

    source§

    fn hash<__H>(&self, state: &mut __H)
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Hash for VertexAttribute

    §

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for VertexAttribute

    source§

    fn eq(&self, other: &VertexAttribute) -> bool

    This method tests for self and other values to be equal, and is used + Self: Sized,
    Feeds a slice of this type into the given Hasher. Read more
    §

    impl PartialEq for VertexAttribute

    §

    fn eq(&self, other: &VertexAttribute) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for VertexAttribute

    source§

    fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

    §

    impl Serialize for VertexAttribute

    §

    fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for VertexAttribute

    source§

    impl Eq for VertexAttribute

    source§

    impl StructuralEq for VertexAttribute

    source§

    impl StructuralPartialEq for VertexAttribute

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Copy for VertexAttribute

    §

    impl Eq for VertexAttribute

    §

    impl StructuralEq for VertexAttribute

    §

    impl StructuralPartialEq for VertexAttribute

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    §

    impl<Q, K> Equivalent<K> for Q
    where @@ -38,7 +38,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.VertexBufferLayout.html b/doc/wgpu/struct.VertexBufferLayout.html index 83d5764e39d4..dd84a969eca5 100644 --- a/doc/wgpu/struct.VertexBufferLayout.html +++ b/doc/wgpu/struct.VertexBufferLayout.html @@ -28,7 +28,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/struct.VertexState.html b/doc/wgpu/struct.VertexState.html index a6805f20988f..130153390cb4 100644 --- a/doc/wgpu/struct.VertexState.html +++ b/doc/wgpu/struct.VertexState.html @@ -26,7 +26,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/trait.WasmNotSend.html b/doc/wgpu/trait.WasmNotSend.html index 80d561955601..1d1298aa525a 100644 --- a/doc/wgpu/trait.WasmNotSend.html +++ b/doc/wgpu/trait.WasmNotSend.html @@ -1,3 +1,3 @@ WasmNotSend in wgpu - Rust -

    Trait wgpu::WasmNotSend

    source ·
    pub trait WasmNotSend: Send { }
    Available on non-WebAssembly, or crate feature fragile-send-sync-non-atomic-wasm and non-target feature atomics only.

    Implementors§

    source§

    impl<T> WasmNotSend for T
    where +

    Trait wgpu::WasmNotSend

    pub trait WasmNotSend: Send { }
    Available on non-WebAssembly, or crate feature fragile-send-sync-non-atomic-wasm and non-target feature atomics only.

    Implementors§

    §

    impl<T> WasmNotSend for T
    where T: Send,

    \ No newline at end of file diff --git a/doc/wgpu/trait.WasmNotSendSync.html b/doc/wgpu/trait.WasmNotSendSync.html index 270d6e60026c..99576ef6688e 100644 --- a/doc/wgpu/trait.WasmNotSendSync.html +++ b/doc/wgpu/trait.WasmNotSendSync.html @@ -1,3 +1,3 @@ WasmNotSendSync in wgpu - Rust -

    Trait wgpu::WasmNotSendSync

    source ·
    pub trait WasmNotSendSync: WasmNotSend + WasmNotSync { }

    Implementors§

    source§

    impl<T> WasmNotSendSync for T
    where +

    Trait wgpu::WasmNotSendSync

    pub trait WasmNotSendSync: WasmNotSend + WasmNotSync { }

    Implementors§

    §

    impl<T> WasmNotSendSync for T

    \ No newline at end of file diff --git a/doc/wgpu/trait.WasmNotSync.html b/doc/wgpu/trait.WasmNotSync.html index 425b53923211..cbfb8adf2189 100644 --- a/doc/wgpu/trait.WasmNotSync.html +++ b/doc/wgpu/trait.WasmNotSync.html @@ -1,3 +1,3 @@ WasmNotSync in wgpu - Rust -

    Trait wgpu::WasmNotSync

    source ·
    pub trait WasmNotSync: Sync { }
    Available on non-WebAssembly, or crate feature fragile-send-sync-non-atomic-wasm and non-target feature atomics only.

    Implementors§

    source§

    impl<T> WasmNotSync for T
    where +

    Trait wgpu::WasmNotSync

    pub trait WasmNotSync: Sync { }
    Available on non-WebAssembly, or crate feature fragile-send-sync-non-atomic-wasm and non-target feature atomics only.

    Implementors§

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/type.AccelerationStructureFlags.html b/doc/wgpu/type.AccelerationStructureFlags.html index 34d443573d08..209ca7f65ff8 100644 --- a/doc/wgpu/type.AccelerationStructureFlags.html +++ b/doc/wgpu/type.AccelerationStructureFlags.html @@ -1,3 +1,3 @@ AccelerationStructureFlags in wgpu - Rust -
    pub type AccelerationStructureFlags = AccelerationStructureFlags;
    Expand description

    Flags for an acceleration structure.

    +
    pub type AccelerationStructureFlags = AccelerationStructureFlags;
    Expand description

    Flags for an acceleration structure.

    Aliased Type§

    struct AccelerationStructureFlags(/* private fields */);
    \ No newline at end of file diff --git a/doc/wgpu/type.AccelerationStructureGeometryFlags.html b/doc/wgpu/type.AccelerationStructureGeometryFlags.html index 6c81ed49bf9d..3614523a48cc 100644 --- a/doc/wgpu/type.AccelerationStructureGeometryFlags.html +++ b/doc/wgpu/type.AccelerationStructureGeometryFlags.html @@ -1,3 +1,3 @@ AccelerationStructureGeometryFlags in wgpu - Rust -
    pub type AccelerationStructureGeometryFlags = AccelerationStructureGeometryFlags;
    Expand description

    Flags for a geometry inside a bottom level acceleration structure.

    +
    pub type AccelerationStructureGeometryFlags = AccelerationStructureGeometryFlags;
    Expand description

    Flags for a geometry inside a bottom level acceleration structure.

    Aliased Type§

    struct AccelerationStructureGeometryFlags(/* private fields */);
    \ No newline at end of file diff --git a/doc/wgpu/type.AccelerationStructureUpdateMode.html b/doc/wgpu/type.AccelerationStructureUpdateMode.html index b6ba4edbbd56..682255ce44d6 100644 --- a/doc/wgpu/type.AccelerationStructureUpdateMode.html +++ b/doc/wgpu/type.AccelerationStructureUpdateMode.html @@ -1,5 +1,5 @@ AccelerationStructureUpdateMode in wgpu - Rust -
    pub type AccelerationStructureUpdateMode = AccelerationStructureUpdateMode;
    Expand description

    Update mode for acceleration structure builds.

    +
    pub type AccelerationStructureUpdateMode = AccelerationStructureUpdateMode;
    Expand description

    Update mode for acceleration structure builds.

    Aliased Type§

    enum AccelerationStructureUpdateMode {
         Build = 0,
         PreferUpdate = 1,
    diff --git a/doc/wgpu/type.BlasGeometrySizeDescriptors.html b/doc/wgpu/type.BlasGeometrySizeDescriptors.html
    index 7a9a9683929b..4599918cb089 100644
    --- a/doc/wgpu/type.BlasGeometrySizeDescriptors.html
    +++ b/doc/wgpu/type.BlasGeometrySizeDescriptors.html
    @@ -1,9 +1,9 @@
     BlasGeometrySizeDescriptors in wgpu - Rust
    -    
    pub type BlasGeometrySizeDescriptors = BlasGeometrySizeDescriptors;
    Expand description

    Descriptor for the size defining attributes, for a bottom level acceleration structure.

    +
    pub type BlasGeometrySizeDescriptors = BlasGeometrySizeDescriptors;
    Expand description

    Descriptor for the size defining attributes, for a bottom level acceleration structure.

    Aliased Type§

    enum BlasGeometrySizeDescriptors {
         Triangles {
    -        descriptors: Vec<BlasTriangleGeometrySizeDescriptor>,
    +        descriptors: Vec<BlasTriangleGeometrySizeDescriptor>,
         },
    -}

    Variants§

    §

    Triangles

    Fields

    §descriptors: Vec<BlasTriangleGeometrySizeDescriptor>

    Descriptor for each triangle geometry.

    +}

    Variants§

    §

    Triangles

    Fields

    §descriptors: Vec<BlasTriangleGeometrySizeDescriptor>

    Descriptor for each triangle geometry.

    Triangle geometry version.

    \ No newline at end of file diff --git a/doc/wgpu/type.BlasTriangleGeometrySizeDescriptor.html b/doc/wgpu/type.BlasTriangleGeometrySizeDescriptor.html index f414d4c87b2d..2f1222faa3ff 100644 --- a/doc/wgpu/type.BlasTriangleGeometrySizeDescriptor.html +++ b/doc/wgpu/type.BlasTriangleGeometrySizeDescriptor.html @@ -1,11 +1,11 @@ BlasTriangleGeometrySizeDescriptor in wgpu - Rust -
    pub type BlasTriangleGeometrySizeDescriptor = BlasTriangleGeometrySizeDescriptor;
    Expand description

    Descriptor for the size defining attributes of a triangle geometry, for a bottom level acceleration structure.

    +
    pub type BlasTriangleGeometrySizeDescriptor = BlasTriangleGeometrySizeDescriptor;
    Expand description

    Descriptor for the size defining attributes of a triangle geometry, for a bottom level acceleration structure.

    Aliased Type§

    struct BlasTriangleGeometrySizeDescriptor {
         pub vertex_format: VertexFormat,
         pub vertex_count: u32,
         pub index_format: Option<IndexFormat>,
         pub index_count: Option<u32>,
    -    pub flags: AccelerationStructureGeometryFlags,
    +    pub flags: AccelerationStructureGeometryFlags,
     }

    Fields§

    §vertex_format: VertexFormat

    Format of a vertex position, must be [VertexFormat::Float32x3] with just [Features::EXPERIMENTAL_RAY_TRACING_ACCELERATION_STRUCTURE] but later features may add more formats.

    @@ -14,5 +14,5 @@ If index_format is provided index_count is required.

    §index_count: Option<u32>

    Number of indices. Only needed if an index buffer is used. If index_count is provided index_format is required.

    -
    §flags: AccelerationStructureGeometryFlags

    Flags for the geometry.

    +
    §flags: AccelerationStructureGeometryFlags

    Flags for the geometry.

    \ No newline at end of file diff --git a/doc/wgpu/type.BufferAddress.html b/doc/wgpu/type.BufferAddress.html index bd4233702b19..e687a46701cb 100644 --- a/doc/wgpu/type.BufferAddress.html +++ b/doc/wgpu/type.BufferAddress.html @@ -1,3 +1,3 @@ BufferAddress in wgpu - Rust -

    Type Alias wgpu::BufferAddress

    source ·
    pub type BufferAddress = u64;
    Expand description

    Integral type used for buffer offsets.

    +

    Type Alias wgpu::BufferAddress

    pub type BufferAddress = u64;
    Expand description

    Integral type used for buffer offsets.

    \ No newline at end of file diff --git a/doc/wgpu/type.BufferDescriptor.html b/doc/wgpu/type.BufferDescriptor.html index 00001e0389fc..93872edbcae3 100644 --- a/doc/wgpu/type.BufferDescriptor.html +++ b/doc/wgpu/type.BufferDescriptor.html @@ -1,5 +1,5 @@ BufferDescriptor in wgpu - Rust -

    Type Alias wgpu::BufferDescriptor

    source ·
    pub type BufferDescriptor<'a> = BufferDescriptor<Label<'a>>;
    Expand description

    Describes a Buffer.

    +

    Type Alias wgpu::BufferDescriptor

    source ·
    pub type BufferDescriptor<'a> = BufferDescriptor<Label<'a>>;
    Expand description

    Describes a Buffer.

    For use with Device::create_buffer.

    Corresponds to WebGPU GPUBufferDescriptor.

    Aliased Type§

    struct BufferDescriptor<'a> {
    diff --git a/doc/wgpu/type.BufferSize.html b/doc/wgpu/type.BufferSize.html
    index 54dc793e6320..b0bb567625c6 100644
    --- a/doc/wgpu/type.BufferSize.html
    +++ b/doc/wgpu/type.BufferSize.html
    @@ -1,3 +1,3 @@
     BufferSize in wgpu - Rust
    -    

    Type Alias wgpu::BufferSize

    source ·
    pub type BufferSize = NonZeroU64;
    Expand description

    Integral type used for buffer slice sizes.

    +

    Type Alias wgpu::BufferSize

    pub type BufferSize = NonZeroU64;
    Expand description

    Integral type used for buffer slice sizes.

    Aliased Type§

    struct BufferSize(/* private fields */);
    \ No newline at end of file diff --git a/doc/wgpu/type.CommandEncoderDescriptor.html b/doc/wgpu/type.CommandEncoderDescriptor.html index 09578a187cbf..75abc74206b1 100644 --- a/doc/wgpu/type.CommandEncoderDescriptor.html +++ b/doc/wgpu/type.CommandEncoderDescriptor.html @@ -1,5 +1,5 @@ CommandEncoderDescriptor in wgpu - Rust -
    pub type CommandEncoderDescriptor<'a> = CommandEncoderDescriptor<Label<'a>>;
    Expand description

    Describes a CommandEncoder.

    +
    pub type CommandEncoderDescriptor<'a> = CommandEncoderDescriptor<Label<'a>>;
    Expand description

    Aliased Type§

    struct CommandEncoderDescriptor<'a> {
    diff --git a/doc/wgpu/type.CreateBlasDescriptor.html b/doc/wgpu/type.CreateBlasDescriptor.html
    index 9118e2c90be4..0d2aa3fe2fdd 100644
    --- a/doc/wgpu/type.CreateBlasDescriptor.html
    +++ b/doc/wgpu/type.CreateBlasDescriptor.html
    @@ -1,10 +1,10 @@
     CreateBlasDescriptor in wgpu - Rust
    -    

    Type Alias wgpu::CreateBlasDescriptor

    source ·
    pub type CreateBlasDescriptor<'a> = CreateBlasDescriptor<Label<'a>>;
    Expand description

    Descriptor to create bottom level acceleration structures.

    +

    Type Alias wgpu::CreateBlasDescriptor

    source ·
    pub type CreateBlasDescriptor<'a> = CreateBlasDescriptor<Label<'a>>;
    Expand description

    Descriptor to create bottom level acceleration structures.

    Aliased Type§

    struct CreateBlasDescriptor<'a> {
         pub label: Option<&'a str>,
    -    pub flags: AccelerationStructureFlags,
    -    pub update_mode: AccelerationStructureUpdateMode,
    +    pub flags: AccelerationStructureFlags,
    +    pub update_mode: AccelerationStructureUpdateMode,
     }

    Fields§

    §label: Option<&'a str>

    Label for the bottom level acceleration structure.

    -
    §flags: AccelerationStructureFlags

    Flags for the bottom level acceleration structure.

    -
    §update_mode: AccelerationStructureUpdateMode

    Update mode for the bottom level acceleration structure.

    +
    §flags: AccelerationStructureFlags

    Flags for the bottom level acceleration structure.

    +
    §update_mode: AccelerationStructureUpdateMode

    Update mode for the bottom level acceleration structure.

    \ No newline at end of file diff --git a/doc/wgpu/type.CreateTlasDescriptor.html b/doc/wgpu/type.CreateTlasDescriptor.html index c7b8423304ca..e49e8bdd06c9 100644 --- a/doc/wgpu/type.CreateTlasDescriptor.html +++ b/doc/wgpu/type.CreateTlasDescriptor.html @@ -1,12 +1,12 @@ CreateTlasDescriptor in wgpu - Rust -

    Type Alias wgpu::CreateTlasDescriptor

    source ·
    pub type CreateTlasDescriptor<'a> = CreateTlasDescriptor<Label<'a>>;
    Expand description

    Descriptor to create top level acceleration structures.

    +

    Type Alias wgpu::CreateTlasDescriptor

    source ·
    pub type CreateTlasDescriptor<'a> = CreateTlasDescriptor<Label<'a>>;
    Expand description

    Descriptor to create top level acceleration structures.

    Aliased Type§

    struct CreateTlasDescriptor<'a> {
         pub label: Option<&'a str>,
         pub max_instances: u32,
    -    pub flags: AccelerationStructureFlags,
    -    pub update_mode: AccelerationStructureUpdateMode,
    +    pub flags: AccelerationStructureFlags,
    +    pub update_mode: AccelerationStructureUpdateMode,
     }

    Fields§

    §label: Option<&'a str>

    Label for the top level acceleration structure.

    §max_instances: u32

    Number of instances that can be stored in the acceleration structure.

    -
    §flags: AccelerationStructureFlags

    Flags for the bottom level acceleration structure.

    -
    §update_mode: AccelerationStructureUpdateMode

    Update mode for the bottom level acceleration structure.

    +
    §flags: AccelerationStructureFlags

    Flags for the bottom level acceleration structure.

    +
    §update_mode: AccelerationStructureUpdateMode

    Update mode for the bottom level acceleration structure.

    \ No newline at end of file diff --git a/doc/wgpu/type.DeviceDescriptor.html b/doc/wgpu/type.DeviceDescriptor.html index f8c9aab790c3..47f6ead1c303 100644 --- a/doc/wgpu/type.DeviceDescriptor.html +++ b/doc/wgpu/type.DeviceDescriptor.html @@ -1,5 +1,5 @@ DeviceDescriptor in wgpu - Rust -

    Type Alias wgpu::DeviceDescriptor

    source ·
    pub type DeviceDescriptor<'a> = DeviceDescriptor<Label<'a>>;
    Expand description

    Describes a Device.

    +

    Type Alias wgpu::DeviceDescriptor

    source ·
    pub type DeviceDescriptor<'a> = DeviceDescriptor<Label<'a>>;
    Expand description

    Describes a Device.

    For use with Adapter::request_device.

    Corresponds to WebGPU GPUDeviceDescriptor.

    Aliased Type§

    struct DeviceDescriptor<'a> {
    diff --git a/doc/wgpu/type.DynamicOffset.html b/doc/wgpu/type.DynamicOffset.html
    index f4e28b7c4b80..d08e9da8d4b2 100644
    --- a/doc/wgpu/type.DynamicOffset.html
    +++ b/doc/wgpu/type.DynamicOffset.html
    @@ -1,3 +1,3 @@
     DynamicOffset in wgpu - Rust
    -    

    Type Alias wgpu::DynamicOffset

    source ·
    pub type DynamicOffset = u32;
    Expand description

    Integral type used for dynamic bind group offsets.

    +

    Type Alias wgpu::DynamicOffset

    pub type DynamicOffset = u32;
    Expand description

    Integral type used for dynamic bind group offsets.

    \ No newline at end of file diff --git a/doc/wgpu/type.ImageCopyBuffer.html b/doc/wgpu/type.ImageCopyBuffer.html index 4cb860d09a55..83fae27c3061 100644 --- a/doc/wgpu/type.ImageCopyBuffer.html +++ b/doc/wgpu/type.ImageCopyBuffer.html @@ -1,5 +1,5 @@ ImageCopyBuffer in wgpu - Rust -

    Type Alias wgpu::ImageCopyBuffer

    source ·
    pub type ImageCopyBuffer<B> = TexelCopyBufferInfo<B>;
    👎Deprecated since 24.0.0: This has been renamed to TexelCopyBufferInfo, and will be removed in 25.0.0.
    Expand description

    Old name for a TexelCopyBufferInfo.

    +

    Type Alias wgpu::ImageCopyBuffer

    pub type ImageCopyBuffer<B> = TexelCopyBufferInfo<B>;
    👎Deprecated since 24.0.0: This has been renamed to TexelCopyBufferInfo, and will be removed in 25.0.0.
    Expand description

    Old name for a TexelCopyBufferInfo.

    Aliased Type§

    struct ImageCopyBuffer<B> {
         pub buffer: B,
         pub layout: TexelCopyBufferLayout,
    diff --git a/doc/wgpu/type.ImageCopyTexture.html b/doc/wgpu/type.ImageCopyTexture.html
    index b84b41a33edf..234c708b1461 100644
    --- a/doc/wgpu/type.ImageCopyTexture.html
    +++ b/doc/wgpu/type.ImageCopyTexture.html
    @@ -1,5 +1,5 @@
     ImageCopyTexture in wgpu - Rust
    -    

    Type Alias wgpu::ImageCopyTexture

    source ·
    pub type ImageCopyTexture<T> = TexelCopyTextureInfo<T>;
    👎Deprecated since 24.0.0: This has been renamed to TexelCopyTextureInfo, and will be removed in 25.0.0.
    Expand description

    Old name for a TexelCopyTextureInfo.

    +

    Type Alias wgpu::ImageCopyTexture

    pub type ImageCopyTexture<T> = TexelCopyTextureInfo<T>;
    👎Deprecated since 24.0.0: This has been renamed to TexelCopyTextureInfo, and will be removed in 25.0.0.
    Expand description

    Old name for a TexelCopyTextureInfo.

    Aliased Type§

    struct ImageCopyTexture<T> {
         pub texture: T,
         pub mip_level: u32,
    diff --git a/doc/wgpu/type.ImageCopyTextureTagged.html b/doc/wgpu/type.ImageCopyTextureTagged.html
    index fdd3eda6e21e..e4e1096a3100 100644
    --- a/doc/wgpu/type.ImageCopyTextureTagged.html
    +++ b/doc/wgpu/type.ImageCopyTextureTagged.html
    @@ -1,5 +1,5 @@
     ImageCopyTextureTagged in wgpu - Rust
    -    

    Type Alias wgpu::ImageCopyTextureTagged

    source ·
    pub type ImageCopyTextureTagged<T> = CopyExternalImageDestInfo<T>;
    👎Deprecated since 24.0.0: This has been renamed to CopyExternalImageDestInfo, and will be removed in 25.0.0.
    Expand description

    Old name for a CopyExternalImageDestInfo.

    +

    Type Alias wgpu::ImageCopyTextureTagged

    pub type ImageCopyTextureTagged<T> = CopyExternalImageDestInfo<T>;
    👎Deprecated since 24.0.0: This has been renamed to CopyExternalImageDestInfo, and will be removed in 25.0.0.
    Expand description

    Old name for a [CopyExternalImageDestInfo].

    Aliased Type§

    struct ImageCopyTextureTagged<T> {
         pub texture: T,
         pub mip_level: u32,
    diff --git a/doc/wgpu/type.ImageDataLayout.html b/doc/wgpu/type.ImageDataLayout.html
    index 0ce8cb6681e2..ac84abf04a00 100644
    --- a/doc/wgpu/type.ImageDataLayout.html
    +++ b/doc/wgpu/type.ImageDataLayout.html
    @@ -1,5 +1,5 @@
     ImageDataLayout in wgpu - Rust
    -    

    Type Alias wgpu::ImageDataLayout

    source ·
    pub type ImageDataLayout = TexelCopyBufferLayout;
    👎Deprecated since 24.0.0: This has been renamed to TexelCopyBufferLayout, and will be removed in 25.0.0.
    Expand description

    Old name for a TexelCopyBufferLayout.

    +

    Type Alias wgpu::ImageDataLayout

    pub type ImageDataLayout = TexelCopyBufferLayout;
    👎Deprecated since 24.0.0: This has been renamed to TexelCopyBufferLayout, and will be removed in 25.0.0.
    Expand description

    Old name for a TexelCopyBufferLayout.

    Aliased Type§

    struct ImageDataLayout {
         pub offset: u64,
         pub bytes_per_row: Option<u32>,
    diff --git a/doc/wgpu/type.QuerySetDescriptor.html b/doc/wgpu/type.QuerySetDescriptor.html
    index fbff27e7b2c2..c95afd46cb66 100644
    --- a/doc/wgpu/type.QuerySetDescriptor.html
    +++ b/doc/wgpu/type.QuerySetDescriptor.html
    @@ -1,5 +1,5 @@
     QuerySetDescriptor in wgpu - Rust
    -    

    Type Alias wgpu::QuerySetDescriptor

    source ·
    pub type QuerySetDescriptor<'a> = QuerySetDescriptor<Label<'a>>;
    Expand description

    Describes a QuerySet.

    +

    Type Alias wgpu::QuerySetDescriptor

    source ·
    pub type QuerySetDescriptor<'a> = QuerySetDescriptor<Label<'a>>;
    Expand description

    Describes a QuerySet.

    For use with Device::create_query_set.

    Corresponds to WebGPU GPUQuerySetDescriptor.

    Aliased Type§

    struct QuerySetDescriptor<'a> {
    diff --git a/doc/wgpu/type.RenderBundleDescriptor.html b/doc/wgpu/type.RenderBundleDescriptor.html
    index c8c2db5d9b07..e575bacd72bf 100644
    --- a/doc/wgpu/type.RenderBundleDescriptor.html
    +++ b/doc/wgpu/type.RenderBundleDescriptor.html
    @@ -1,5 +1,5 @@
     RenderBundleDescriptor in wgpu - Rust
    -    

    Type Alias wgpu::RenderBundleDescriptor

    source ·
    pub type RenderBundleDescriptor<'a> = RenderBundleDescriptor<Label<'a>>;
    Expand description

    Describes a RenderBundle.

    +

    Type Alias wgpu::RenderBundleDescriptor

    source ·
    pub type RenderBundleDescriptor<'a> = RenderBundleDescriptor<Label<'a>>;
    Expand description

    Aliased Type§

    struct RenderBundleDescriptor<'a> {
    diff --git a/doc/wgpu/type.SamplerDescriptor.html b/doc/wgpu/type.SamplerDescriptor.html
    index 2875bea7590e..f8a890593ddd 100644
    --- a/doc/wgpu/type.SamplerDescriptor.html
    +++ b/doc/wgpu/type.SamplerDescriptor.html
    @@ -1,5 +1,5 @@
     SamplerDescriptor in wgpu - Rust
    -    

    Type Alias wgpu::SamplerDescriptor

    source ·
    pub type SamplerDescriptor<'a> = SamplerDescriptor<Label<'a>>;
    Expand description

    Describes a Sampler.

    +

    Type Alias wgpu::SamplerDescriptor

    source ·
    pub type SamplerDescriptor<'a> = SamplerDescriptor<Label<'a>>;
    Expand description

    Describes a Sampler.

    For use with Device::create_sampler.

    Corresponds to WebGPU GPUSamplerDescriptor.

    Aliased Type§

    struct SamplerDescriptor<'a> {
    diff --git a/doc/wgpu/type.ShaderLocation.html b/doc/wgpu/type.ShaderLocation.html
    index 522c312c6152..e0ba7a13a877 100644
    --- a/doc/wgpu/type.ShaderLocation.html
    +++ b/doc/wgpu/type.ShaderLocation.html
    @@ -1,3 +1,3 @@
     ShaderLocation in wgpu - Rust
    -    

    Type Alias wgpu::ShaderLocation

    source ·
    pub type ShaderLocation = u32;
    Expand description

    Integral type used for binding locations in shaders.

    +

    Type Alias wgpu::ShaderLocation

    pub type ShaderLocation = u32;
    Expand description

    Integral type used for binding locations in shaders.

    \ No newline at end of file diff --git a/doc/wgpu/type.SurfaceConfiguration.html b/doc/wgpu/type.SurfaceConfiguration.html index 8e2c91d03c71..39adefdbca2d 100644 --- a/doc/wgpu/type.SurfaceConfiguration.html +++ b/doc/wgpu/type.SurfaceConfiguration.html @@ -1,5 +1,5 @@ SurfaceConfiguration in wgpu - Rust -

    Type Alias wgpu::SurfaceConfiguration

    source ·
    pub type SurfaceConfiguration = SurfaceConfiguration<Vec<TextureFormat>>;
    Expand description

    Describes a Surface.

    +

    Type Alias wgpu::SurfaceConfiguration

    source ·
    pub type SurfaceConfiguration = SurfaceConfiguration<Vec<TextureFormat>>;
    Expand description

    Describes a Surface.

    For use with Surface::configure.

    Corresponds to WebGPU GPUCanvasConfiguration.

    Aliased Type§

    struct SurfaceConfiguration {
    diff --git a/doc/wgpu/type.TextureDescriptor.html b/doc/wgpu/type.TextureDescriptor.html
    index 8c9f9a01aad1..fc88009d9810 100644
    --- a/doc/wgpu/type.TextureDescriptor.html
    +++ b/doc/wgpu/type.TextureDescriptor.html
    @@ -1,5 +1,5 @@
     TextureDescriptor in wgpu - Rust
    -    

    Type Alias wgpu::TextureDescriptor

    source ·
    pub type TextureDescriptor<'a> = TextureDescriptor<Label<'a>, &'a [TextureFormat]>;
    Expand description

    Describes a Texture.

    +

    Type Alias wgpu::TextureDescriptor

    source ·
    pub type TextureDescriptor<'a> = TextureDescriptor<Label<'a>, &'a [TextureFormat]>;
    Expand description

    Describes a Texture.

    For use with Device::create_texture.

    Corresponds to WebGPU GPUTextureDescriptor.

    Aliased Type§

    struct TextureDescriptor<'a> {
    diff --git a/doc/wgpu/type.TextureViewDescriptor.html b/doc/wgpu/type.TextureViewDescriptor.html
    index dd41448eab3b..f50358059441 100644
    --- a/doc/wgpu/type.TextureViewDescriptor.html
    +++ b/doc/wgpu/type.TextureViewDescriptor.html
    @@ -1,5 +1,5 @@
     TextureViewDescriptor in wgpu - Rust
    -    

    Type Alias wgpu::TextureViewDescriptor

    source ·
    pub type TextureViewDescriptor<'a> = TextureViewDescriptor<Label<'a>>;
    Expand description

    Describes a TextureView.

    +

    Type Alias wgpu::TextureViewDescriptor

    source ·
    pub type TextureViewDescriptor<'a> = TextureViewDescriptor<Label<'a>>;
    Expand description

    Describes a TextureView.

    For use with Texture::create_view.

    Corresponds to WebGPU GPUTextureViewDescriptor.

    Aliased Type§

    struct TextureViewDescriptor<'a> {
    diff --git a/doc/wgpu/util/enum.TextureDataOrder.html b/doc/wgpu/util/enum.TextureDataOrder.html
    index 2b020740bce7..4e26ebfebbdf 100644
    --- a/doc/wgpu/util/enum.TextureDataOrder.html
    +++ b/doc/wgpu/util/enum.TextureDataOrder.html
    @@ -1,5 +1,5 @@
     TextureDataOrder in wgpu::util - Rust
    -    
    pub enum TextureDataOrder {
    +    
    pub enum TextureDataOrder {
         LayerMajor,
         MipMajor,
     }
    Expand description

    Order in which TextureData is laid out in memory.

    @@ -15,12 +15,12 @@ Layer0Mip2 Layer1Mip2 Layer2Mip2

    This is the layout used by ktx and ktx2 files.

    -

    Trait Implementations§

    source§

    impl Clone for TextureDataOrder

    source§

    fn clone(&self) -> TextureDataOrder

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TextureDataOrder

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for TextureDataOrder

    source§

    fn default() -> TextureDataOrder

    Returns the “default value” for a type. Read more
    source§

    impl Hash for TextureDataOrder

    source§

    fn hash<__H>(&self, state: &mut __H)
    where +

    Trait Implementations§

    §

    impl Clone for TextureDataOrder

    §

    fn clone(&self) -> TextureDataOrder

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for TextureDataOrder

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for TextureDataOrder

    §

    fn default() -> TextureDataOrder

    Returns the “default value” for a type. Read more
    §

    impl Hash for TextureDataOrder

    §

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for TextureDataOrder

    source§

    fn eq(&self, other: &TextureDataOrder) -> bool

    This method tests for self and other values to be equal, and is used + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    §

    impl PartialEq for TextureDataOrder

    §

    fn eq(&self, other: &TextureDataOrder) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Copy for TextureDataOrder

    source§

    impl Eq for TextureDataOrder

    source§

    impl StructuralEq for TextureDataOrder

    source§

    impl StructuralPartialEq for TextureDataOrder

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +sufficient, and should not be overridden without very good reason.

    §

    impl Copy for TextureDataOrder

    §

    impl Eq for TextureDataOrder

    §

    impl StructuralEq for TextureDataOrder

    §

    impl StructuralPartialEq for TextureDataOrder

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    §

    impl<Q, K> Equivalent<K> for Q
    where @@ -35,7 +35,7 @@

    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/util/fn.align_to.html b/doc/wgpu/util/fn.align_to.html index 3b5358281303..4230b0e93a06 100644 --- a/doc/wgpu/util/fn.align_to.html +++ b/doc/wgpu/util/fn.align_to.html @@ -1,5 +1,5 @@ align_to in wgpu::util - Rust -

    Function wgpu::util::align_to

    source ·
    pub fn align_to<T>(value: T, alignment: T) -> T
    where +

    Function wgpu::util::align_to

    pub fn align_to<T>(value: T, alignment: T) -> T
    where T: Add<Output = T> + Copy + Default + PartialEq + Rem<Output = T> + Sub<Output = T>,
    Expand description

    Aligns a value to an alignment.

    Returns the first number greater than or equal to value that is also a multiple of alignment. If value is already a multiple of alignment, diff --git a/doc/wgpu/util/struct.BufferInitDescriptor.html b/doc/wgpu/util/struct.BufferInitDescriptor.html index 729fdaed4a64..604cc89ba779 100644 --- a/doc/wgpu/util/struct.BufferInitDescriptor.html +++ b/doc/wgpu/util/struct.BufferInitDescriptor.html @@ -27,7 +27,7 @@

    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/util/struct.DispatchIndirectArgs.html b/doc/wgpu/util/struct.DispatchIndirectArgs.html index c018279f19b5..2894f89eba65 100644 --- a/doc/wgpu/util/struct.DispatchIndirectArgs.html +++ b/doc/wgpu/util/struct.DispatchIndirectArgs.html @@ -1,5 +1,5 @@ DispatchIndirectArgs in wgpu::util - Rust -
    #[repr(C)]
    pub struct DispatchIndirectArgs { +
    #[repr(C)]
    pub struct DispatchIndirectArgs { pub x: u32, pub y: u32, pub z: u32, @@ -7,8 +7,8 @@

    Fields§

    §x: u32

    The number of work groups in X dimension.

    §y: u32

    The number of work groups in Y dimension.

    §z: u32

    The number of work groups in Z dimension.

    -

    Implementations§

    source§

    impl DispatchIndirectArgs

    source

    pub fn as_bytes(&self) -> &[u8]

    Returns the bytes representation of the struct, ready to be written into a buffer.

    -

    Trait Implementations§

    source§

    impl Clone for DispatchIndirectArgs

    source§

    fn clone(&self) -> DispatchIndirectArgs

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for DispatchIndirectArgs

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for DispatchIndirectArgs

    source§

    fn default() -> DispatchIndirectArgs

    Returns the “default value” for a type. Read more
    source§

    impl Copy for DispatchIndirectArgs

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Implementations§

    §

    impl DispatchIndirectArgs

    pub fn as_bytes(&self) -> &[u8]

    Returns the bytes representation of the struct, ready to be written into a buffer.

    +

    Trait Implementations§

    §

    impl Clone for DispatchIndirectArgs

    §

    fn clone(&self) -> DispatchIndirectArgs

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for DispatchIndirectArgs

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for DispatchIndirectArgs

    §

    fn default() -> DispatchIndirectArgs

    Returns the “default value” for a type. Read more
    §

    impl Copy for DispatchIndirectArgs

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -19,7 +19,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/util/struct.DownloadBuffer.html b/doc/wgpu/util/struct.DownloadBuffer.html index 037f9a61dc89..77b4de181e6d 100644 --- a/doc/wgpu/util/struct.DownloadBuffer.html +++ b/doc/wgpu/util/struct.DownloadBuffer.html @@ -1105,7 +1105,7 @@
    Examples
    From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/util/struct.DrawIndexedIndirectArgs.html b/doc/wgpu/util/struct.DrawIndexedIndirectArgs.html index 46c34180f387..664a866c662f 100644 --- a/doc/wgpu/util/struct.DrawIndexedIndirectArgs.html +++ b/doc/wgpu/util/struct.DrawIndexedIndirectArgs.html @@ -1,5 +1,5 @@ DrawIndexedIndirectArgs in wgpu::util - Rust -
    #[repr(C)]
    pub struct DrawIndexedIndirectArgs { +
    #[repr(C)]
    pub struct DrawIndexedIndirectArgs { pub index_count: u32, pub instance_count: u32, pub first_index: u32, @@ -12,8 +12,8 @@
    §base_vertex: i32

    The value added to the vertex index before indexing into the vertex buffer.

    §first_instance: u32

    The instance ID of the first instance to draw.

    Has to be 0, unless Features::INDIRECT_FIRST_INSTANCE is enabled.

    -

    Implementations§

    source§

    impl DrawIndexedIndirectArgs

    source

    pub fn as_bytes(&self) -> &[u8]

    Returns the bytes representation of the struct, ready to be written in a buffer.

    -

    Trait Implementations§

    source§

    impl Clone for DrawIndexedIndirectArgs

    source§

    fn clone(&self) -> DrawIndexedIndirectArgs

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for DrawIndexedIndirectArgs

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for DrawIndexedIndirectArgs

    source§

    fn default() -> DrawIndexedIndirectArgs

    Returns the “default value” for a type. Read more
    source§

    impl Copy for DrawIndexedIndirectArgs

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Implementations§

    §

    impl DrawIndexedIndirectArgs

    pub fn as_bytes(&self) -> &[u8]

    Returns the bytes representation of the struct, ready to be written in a buffer.

    +

    Trait Implementations§

    §

    impl Clone for DrawIndexedIndirectArgs

    §

    fn clone(&self) -> DrawIndexedIndirectArgs

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for DrawIndexedIndirectArgs

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for DrawIndexedIndirectArgs

    §

    fn default() -> DrawIndexedIndirectArgs

    Returns the “default value” for a type. Read more
    §

    impl Copy for DrawIndexedIndirectArgs

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -24,7 +24,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/util/struct.DrawIndirectArgs.html b/doc/wgpu/util/struct.DrawIndirectArgs.html index f793d3efdbf5..62bd4f072a4a 100644 --- a/doc/wgpu/util/struct.DrawIndirectArgs.html +++ b/doc/wgpu/util/struct.DrawIndirectArgs.html @@ -1,5 +1,5 @@ DrawIndirectArgs in wgpu::util - Rust -

    Struct wgpu::util::DrawIndirectArgs

    source ·
    #[repr(C)]
    pub struct DrawIndirectArgs { +

    Struct wgpu::util::DrawIndirectArgs

    #[repr(C)]
    pub struct DrawIndirectArgs { pub vertex_count: u32, pub instance_count: u32, pub first_vertex: u32, @@ -10,8 +10,8 @@
    §first_vertex: u32

    The Index of the first vertex to draw.

    §first_instance: u32

    The instance ID of the first instance to draw.

    Has to be 0, unless Features::INDIRECT_FIRST_INSTANCE is enabled.

    -

    Implementations§

    source§

    impl DrawIndirectArgs

    source

    pub fn as_bytes(&self) -> &[u8]

    Returns the bytes representation of the struct, ready to be written in a buffer.

    -

    Trait Implementations§

    source§

    impl Clone for DrawIndirectArgs

    source§

    fn clone(&self) -> DrawIndirectArgs

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for DrawIndirectArgs

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for DrawIndirectArgs

    source§

    fn default() -> DrawIndirectArgs

    Returns the “default value” for a type. Read more
    source§

    impl Copy for DrawIndirectArgs

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Implementations§

    §

    impl DrawIndirectArgs

    pub fn as_bytes(&self) -> &[u8]

    Returns the bytes representation of the struct, ready to be written in a buffer.

    +

    Trait Implementations§

    §

    impl Clone for DrawIndirectArgs

    §

    fn clone(&self) -> DrawIndirectArgs

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for DrawIndirectArgs

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for DrawIndirectArgs

    §

    fn default() -> DrawIndirectArgs

    Returns the “default value” for a type. Read more
    §

    impl Copy for DrawIndirectArgs

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -22,7 +22,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu/util/struct.StagingBelt.html b/doc/wgpu/util/struct.StagingBelt.html index 656c63f9b546..61cc58892133 100644 --- a/doc/wgpu/util/struct.StagingBelt.html +++ b/doc/wgpu/util/struct.StagingBelt.html @@ -55,7 +55,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/api/struct.Empty.html b/doc/wgpu_core/api/struct.Empty.html index 8d94ebaa9290..02079b3e1460 100644 --- a/doc/wgpu_core/api/struct.Empty.html +++ b/doc/wgpu_core/api/struct.Empty.html @@ -1,5 +1,5 @@ Empty in wgpu_core::api - Rust -

    Struct wgpu_core::api::Empty

    source ·
    pub struct Empty;

    Trait Implementations§

    source§

    impl Api for Api

    source§

    impl Clone for Api

    source§

    fn clone(&self) -> Api

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Api

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl HalApi for Empty

    source§

    const VARIANT: Backend = Backend::Empty

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Api

    §

    impl Send for Api

    §

    impl Sync for Api

    §

    impl Unpin for Api

    §

    impl UnwindSafe for Api

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Struct wgpu_core::api::Empty

    source ·
    pub struct Empty;

    Trait Implementations§

    source§

    impl Api for Api

    source§

    impl Clone for Api

    source§

    fn clone(&self) -> Api

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Api

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl HalApi for Empty

    source§

    const VARIANT: Backend = Backend::Empty

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Api

    §

    impl Send for Api

    §

    impl Sync for Api

    §

    impl Unpin for Api

    §

    impl UnwindSafe for Api

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -10,7 +10,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/api/struct.Gles.html b/doc/wgpu_core/api/struct.Gles.html index 4db5601808f0..d12e213af84e 100644 --- a/doc/wgpu_core/api/struct.Gles.html +++ b/doc/wgpu_core/api/struct.Gles.html @@ -1,5 +1,5 @@ Gles in wgpu_core::api - Rust -

    Struct wgpu_core::api::Gles

    source ·
    pub struct Gles;

    Trait Implementations§

    source§

    impl Api for Api

    source§

    impl Clone for Api

    source§

    fn clone(&self) -> Api

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Api

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl HalApi for Gles

    Available on gles only.
    source§

    const VARIANT: Backend = Backend::Gl

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Api

    §

    impl Send for Api

    §

    impl Sync for Api

    §

    impl Unpin for Api

    §

    impl UnwindSafe for Api

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Struct wgpu_core::api::Gles

    source ·
    pub struct Gles;

    Trait Implementations§

    source§

    impl Api for Api

    source§

    impl Clone for Api

    source§

    fn clone(&self) -> Api

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Api

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl HalApi for Gles

    Available on gles only.
    source§

    const VARIANT: Backend = Backend::Gl

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Api

    §

    impl Send for Api

    §

    impl Sync for Api

    §

    impl Unpin for Api

    §

    impl UnwindSafe for Api

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -10,7 +10,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/api/struct.Vulkan.html b/doc/wgpu_core/api/struct.Vulkan.html index 6895e707705d..b771fd26cc65 100644 --- a/doc/wgpu_core/api/struct.Vulkan.html +++ b/doc/wgpu_core/api/struct.Vulkan.html @@ -1,5 +1,5 @@ Vulkan in wgpu_core::api - Rust -

    Struct wgpu_core::api::Vulkan

    source ·
    pub struct Vulkan;

    Trait Implementations§

    source§

    impl Api for Api

    source§

    impl Clone for Api

    source§

    fn clone(&self) -> Api

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Api

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl HalApi for Vulkan

    Available on vulkan only.
    source§

    const VARIANT: Backend = Backend::Vulkan

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Api

    §

    impl Send for Api

    §

    impl Sync for Api

    §

    impl Unpin for Api

    §

    impl UnwindSafe for Api

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Struct wgpu_core::api::Vulkan

    source ·
    pub struct Vulkan;

    Trait Implementations§

    source§

    impl Api for Api

    source§

    impl Clone for Api

    source§

    fn clone(&self) -> Api

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Api

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl HalApi for Vulkan

    Available on vulkan only.
    source§

    const VARIANT: Backend = Backend::Vulkan

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Api

    §

    impl Send for Api

    §

    impl Sync for Api

    §

    impl Unpin for Api

    §

    impl UnwindSafe for Api

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -10,7 +10,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/binding_model/enum.BindError.html b/doc/wgpu_core/binding_model/enum.BindError.html index 031f92bce093..75a76e48f9b4 100644 --- a/doc/wgpu_core/binding_model/enum.BindError.html +++ b/doc/wgpu_core/binding_model/enum.BindError.html @@ -21,11 +21,11 @@ group: u32, binding: u32, offset: u32, - buffer_size: BufferAddress, - binding_range: Range<BufferAddress>, - maximum_dynamic_offset: BufferAddress, + buffer_size: BufferAddress, + binding_range: Range<BufferAddress>, + maximum_dynamic_offset: BufferAddress, }, -}

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    MismatchedDynamicOffsetCount

    Fields

    §group: u32
    §actual: usize
    §expected: usize
    §

    UnalignedDynamicBinding

    Fields

    §idx: usize
    §group: u32
    §binding: u32
    §offset: u32
    §alignment: u32
    §limit_name: &'static str
    §

    DynamicBindingOutOfBounds

    Fields

    §idx: usize
    §group: u32
    §binding: u32
    §offset: u32
    §buffer_size: BufferAddress
    §binding_range: Range<BufferAddress>
    §maximum_dynamic_offset: BufferAddress

    Trait Implementations§

    source§

    impl Clone for BindError

    source§

    fn clone(&self) -> BindError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for BindError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for BindError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for BindError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<BindError> for ComputePassErrorInner

    source§

    fn from(source: BindError) -> Self

    Converts to this type from the input type.
    source§

    impl From<BindError> for RenderPassErrorInner

    source§

    fn from(source: BindError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +}

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    MismatchedDynamicOffsetCount

    Fields

    §group: u32
    §actual: usize
    §expected: usize
    §

    UnalignedDynamicBinding

    Fields

    §idx: usize
    §group: u32
    §binding: u32
    §offset: u32
    §alignment: u32
    §limit_name: &'static str
    §

    DynamicBindingOutOfBounds

    Fields

    §idx: usize
    §group: u32
    §binding: u32
    §offset: u32
    §buffer_size: BufferAddress
    §binding_range: Range<BufferAddress>
    §maximum_dynamic_offset: BufferAddress

    Trait Implementations§

    source§

    impl Clone for BindError

    source§

    fn clone(&self) -> BindError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for BindError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for BindError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for BindError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<BindError> for ComputePassErrorInner

    source§

    fn from(source: BindError) -> Self

    Converts to this type from the input type.
    source§

    impl From<BindError> for RenderPassErrorInner

    source§

    fn from(source: BindError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -37,7 +37,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/binding_model/enum.BindGroupLayoutEntryError.html b/doc/wgpu_core/binding_model/enum.BindGroupLayoutEntryError.html index 72bd7d18b9b2..7d841de6c716 100644 --- a/doc/wgpu_core/binding_model/enum.BindGroupLayoutEntryError.html +++ b/doc/wgpu_core/binding_model/enum.BindGroupLayoutEntryError.html @@ -4,10 +4,10 @@ StorageTextureReadWrite, ArrayUnsupported, SampleTypeFloatFilterableBindingMultisampled, - Non2DMultisampled(TextureViewDimension), + Non2DMultisampled(TextureViewDimension), MissingFeatures(MissingFeatures), MissingDownlevelFlags(MissingDownlevelFlags), -}

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    StorageTextureCube

    §

    StorageTextureReadWrite

    §

    ArrayUnsupported

    §

    SampleTypeFloatFilterableBindingMultisampled

    §

    Non2DMultisampled(TextureViewDimension)

    §

    MissingFeatures(MissingFeatures)

    §

    MissingDownlevelFlags(MissingDownlevelFlags)

    Trait Implementations§

    source§

    impl Clone for BindGroupLayoutEntryError

    source§

    fn clone(&self) -> BindGroupLayoutEntryError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for BindGroupLayoutEntryError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for BindGroupLayoutEntryError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for BindGroupLayoutEntryError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<MissingDownlevelFlags> for BindGroupLayoutEntryError

    source§

    fn from(source: MissingDownlevelFlags) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingFeatures> for BindGroupLayoutEntryError

    source§

    fn from(source: MissingFeatures) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +}

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    StorageTextureCube

    §

    StorageTextureReadWrite

    §

    ArrayUnsupported

    §

    SampleTypeFloatFilterableBindingMultisampled

    §

    Non2DMultisampled(TextureViewDimension)

    §

    MissingFeatures(MissingFeatures)

    §

    MissingDownlevelFlags(MissingDownlevelFlags)

    Trait Implementations§

    source§

    impl Clone for BindGroupLayoutEntryError

    source§

    fn clone(&self) -> BindGroupLayoutEntryError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for BindGroupLayoutEntryError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for BindGroupLayoutEntryError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for BindGroupLayoutEntryError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<MissingDownlevelFlags> for BindGroupLayoutEntryError

    source§

    fn from(source: MissingDownlevelFlags) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingFeatures> for BindGroupLayoutEntryError

    source§

    fn from(source: MissingFeatures) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -19,7 +19,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/binding_model/enum.BindingResource.html b/doc/wgpu_core/binding_model/enum.BindingResource.html index f9b3c7f103ac..d37b20c8b3ec 100644 --- a/doc/wgpu_core/binding_model/enum.BindingResource.html +++ b/doc/wgpu_core/binding_model/enum.BindingResource.html @@ -21,7 +21,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/binding_model/enum.BindingTypeMaxCountErrorKind.html b/doc/wgpu_core/binding_model/enum.BindingTypeMaxCountErrorKind.html index 4cd52bde0082..fc041bd5bd67 100644 --- a/doc/wgpu_core/binding_model/enum.BindingTypeMaxCountErrorKind.html +++ b/doc/wgpu_core/binding_model/enum.BindingTypeMaxCountErrorKind.html @@ -18,7 +18,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/binding_model/enum.BindingZone.html b/doc/wgpu_core/binding_model/enum.BindingZone.html index d1dab418ec6a..eb2dfafd980a 100644 --- a/doc/wgpu_core/binding_model/enum.BindingZone.html +++ b/doc/wgpu_core/binding_model/enum.BindingZone.html @@ -1,8 +1,8 @@ BindingZone in wgpu_core::binding_model - Rust
    pub enum BindingZone {
    -    Stage(ShaderStages),
    +    Stage(ShaderStages),
         Pipeline,
    -}

    Variants§

    §

    Stage(ShaderStages)

    §

    Pipeline

    Trait Implementations§

    source§

    impl Clone for BindingZone

    source§

    fn clone(&self) -> BindingZone

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for BindingZone

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for BindingZone

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for BindingZone

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +}

    Variants§

    §

    Stage(ShaderStages)

    §

    Pipeline

    Trait Implementations§

    source§

    impl Clone for BindingZone

    source§

    fn clone(&self) -> BindingZone

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for BindingZone

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for BindingZone

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for BindingZone

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -14,7 +14,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/binding_model/enum.CreateBindGroupError.html b/doc/wgpu_core/binding_model/enum.CreateBindGroupError.html index 7de791b57d58..358b8e8362e2 100644 --- a/doc/wgpu_core/binding_model/enum.CreateBindGroupError.html +++ b/doc/wgpu_core/binding_model/enum.CreateBindGroupError.html @@ -13,7 +13,7 @@ BindingArrayZeroLength, BindingRangeTooLarge { buffer: ResourceErrorIdent, - range: Range<BufferAddress>, + range: Range<BufferAddress>, size: u64, }, BindingSizeTooSmall { @@ -31,7 +31,7 @@ MissingBufferUsage(MissingBufferUsageError), MissingTextureUsage(MissingTextureUsageError), SingleBindingExpected, - UnalignedBufferOffset(BufferAddress, &'static str, u32), + UnalignedBufferOffset(BufferAddress, &'static str, u32), BufferRangeTooLarge { binding: u32, given: u32, @@ -39,7 +39,7 @@ }, WrongBindingType { binding: u32, - actual: BindingType, + actual: BindingType, expected: &'static str, }, InvalidTextureMultisample { @@ -49,19 +49,19 @@ }, InvalidTextureSampleType { binding: u32, - layout_sample_type: TextureSampleType, - view_format: TextureFormat, - view_sample_type: TextureSampleType, + layout_sample_type: TextureSampleType, + view_format: TextureFormat, + view_sample_type: TextureSampleType, }, InvalidTextureDimension { binding: u32, - layout_dimension: TextureViewDimension, - view_dimension: TextureViewDimension, + layout_dimension: TextureViewDimension, + view_dimension: TextureViewDimension, }, InvalidStorageTextureFormat { binding: u32, - layout_format: TextureFormat, - view_format: TextureFormat, + layout_format: TextureFormat, + view_format: TextureFormat, }, InvalidStorageTextureMipLevelCount { binding: u32, @@ -78,12 +78,12 @@ sampler_flt: bool, }, DepthStencilAspect, - StorageReadNotSupported(TextureFormat), - StorageWriteNotSupported(TextureFormat), - StorageReadWriteNotSupported(TextureFormat), + StorageReadNotSupported(TextureFormat), + StorageWriteNotSupported(TextureFormat), + StorageReadWriteNotSupported(TextureFormat), ResourceUsageCompatibility(ResourceUsageCompatibilityError), InvalidResource(InvalidResourceError), -}

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    Device(DeviceError)

    §

    DestroyedResource(DestroyedResourceError)

    §

    BindingArrayPartialLengthMismatch

    Fields

    §actual: usize
    §expected: usize
    §

    BindingArrayLengthMismatch

    Fields

    §actual: usize
    §expected: usize
    §

    BindingArrayZeroLength

    §

    BindingRangeTooLarge

    §

    BindingSizeTooSmall

    Fields

    §actual: u64
    §min: u64
    §

    BindingZeroSize(ResourceErrorIdent)

    §

    BindingsNumMismatch

    Fields

    §actual: usize
    §expected: usize
    §

    DuplicateBinding(u32)

    §

    MissingBindingDeclaration(u32)

    §

    MissingBufferUsage(MissingBufferUsageError)

    §

    MissingTextureUsage(MissingTextureUsageError)

    §

    SingleBindingExpected

    §

    UnalignedBufferOffset(BufferAddress, &'static str, u32)

    §

    BufferRangeTooLarge

    Fields

    §binding: u32
    §given: u32
    §limit: u32
    §

    WrongBindingType

    Fields

    §binding: u32
    §expected: &'static str
    §

    InvalidTextureMultisample

    Fields

    §binding: u32
    §layout_multisampled: bool
    §view_samples: u32
    §

    InvalidTextureSampleType

    Fields

    §binding: u32
    §layout_sample_type: TextureSampleType
    §view_format: TextureFormat
    §view_sample_type: TextureSampleType
    §

    InvalidTextureDimension

    Fields

    §binding: u32
    §layout_dimension: TextureViewDimension
    §view_dimension: TextureViewDimension
    §

    InvalidStorageTextureFormat

    Fields

    §binding: u32
    §layout_format: TextureFormat
    §view_format: TextureFormat
    §

    InvalidStorageTextureMipLevelCount

    Fields

    §binding: u32
    §mip_level_count: u32
    §

    WrongSamplerComparison

    Fields

    §binding: u32
    §layout_cmp: bool
    §sampler_cmp: bool
    §

    WrongSamplerFiltering

    Fields

    §binding: u32
    §layout_flt: bool
    §sampler_flt: bool
    §

    DepthStencilAspect

    §

    StorageReadNotSupported(TextureFormat)

    §

    StorageWriteNotSupported(TextureFormat)

    §

    StorageReadWriteNotSupported(TextureFormat)

    §

    ResourceUsageCompatibility(ResourceUsageCompatibilityError)

    §

    InvalidResource(InvalidResourceError)

    Trait Implementations§

    source§

    impl Clone for CreateBindGroupError

    source§

    fn clone(&self) -> CreateBindGroupError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for CreateBindGroupError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for CreateBindGroupError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for CreateBindGroupError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<DestroyedResourceError> for CreateBindGroupError

    source§

    fn from(source: DestroyedResourceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<DeviceError> for CreateBindGroupError

    source§

    fn from(source: DeviceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<InvalidResourceError> for CreateBindGroupError

    source§

    fn from(source: InvalidResourceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingBufferUsageError> for CreateBindGroupError

    source§

    fn from(source: MissingBufferUsageError) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingTextureUsageError> for CreateBindGroupError

    source§

    fn from(source: MissingTextureUsageError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    }

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    Device(DeviceError)

    §

    DestroyedResource(DestroyedResourceError)

    §

    BindingArrayPartialLengthMismatch

    Fields

    §actual: usize
    §expected: usize
    §

    BindingArrayLengthMismatch

    Fields

    §actual: usize
    §expected: usize
    §

    BindingArrayZeroLength

    §

    BindingRangeTooLarge

    Fields

    §range: Range<BufferAddress>
    §size: u64
    §

    BindingSizeTooSmall

    Fields

    §actual: u64
    §min: u64
    §

    BindingZeroSize(ResourceErrorIdent)

    §

    BindingsNumMismatch

    Fields

    §actual: usize
    §expected: usize
    §

    DuplicateBinding(u32)

    §

    MissingBindingDeclaration(u32)

    §

    MissingBufferUsage(MissingBufferUsageError)

    §

    MissingTextureUsage(MissingTextureUsageError)

    §

    SingleBindingExpected

    §

    UnalignedBufferOffset(BufferAddress, &'static str, u32)

    §

    BufferRangeTooLarge

    Fields

    §binding: u32
    §given: u32
    §limit: u32
    §

    WrongBindingType

    Fields

    §binding: u32
    §actual: BindingType
    §expected: &'static str
    §

    InvalidTextureMultisample

    Fields

    §binding: u32
    §layout_multisampled: bool
    §view_samples: u32
    §

    InvalidTextureSampleType

    Fields

    §binding: u32
    §layout_sample_type: TextureSampleType
    §view_format: TextureFormat
    §view_sample_type: TextureSampleType
    §

    InvalidTextureDimension

    Fields

    §binding: u32
    §layout_dimension: TextureViewDimension
    §view_dimension: TextureViewDimension
    §

    InvalidStorageTextureFormat

    Fields

    §binding: u32
    §layout_format: TextureFormat
    §view_format: TextureFormat
    §

    InvalidStorageTextureMipLevelCount

    Fields

    §binding: u32
    §mip_level_count: u32
    §

    WrongSamplerComparison

    Fields

    §binding: u32
    §layout_cmp: bool
    §sampler_cmp: bool
    §

    WrongSamplerFiltering

    Fields

    §binding: u32
    §layout_flt: bool
    §sampler_flt: bool
    §

    DepthStencilAspect

    §

    StorageReadNotSupported(TextureFormat)

    §

    StorageWriteNotSupported(TextureFormat)

    §

    StorageReadWriteNotSupported(TextureFormat)

    §

    ResourceUsageCompatibility(ResourceUsageCompatibilityError)

    §

    InvalidResource(InvalidResourceError)

    Trait Implementations§

    source§

    impl Clone for CreateBindGroupError

    source§

    fn clone(&self) -> CreateBindGroupError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for CreateBindGroupError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for CreateBindGroupError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for CreateBindGroupError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<DestroyedResourceError> for CreateBindGroupError

    source§

    fn from(source: DestroyedResourceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<DeviceError> for CreateBindGroupError

    source§

    fn from(source: DeviceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<InvalidResourceError> for CreateBindGroupError

    source§

    fn from(source: InvalidResourceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingBufferUsageError> for CreateBindGroupError

    source§

    fn from(source: MissingBufferUsageError) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingTextureUsageError> for CreateBindGroupError

    source§

    fn from(source: MissingTextureUsageError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -95,7 +95,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/binding_model/enum.CreateBindGroupLayoutError.html b/doc/wgpu_core/binding_model/enum.CreateBindGroupLayoutError.html index 1e8a65ee3887..1372fbf87865 100644 --- a/doc/wgpu_core/binding_model/enum.CreateBindGroupLayoutError.html +++ b/doc/wgpu_core/binding_model/enum.CreateBindGroupLayoutError.html @@ -11,8 +11,8 @@ binding: u32, maximum: u32, }, - InvalidVisibility(ShaderStages), -}

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    Device(DeviceError)

    §

    ConflictBinding(u32)

    §

    Entry

    Fields

    §binding: u32
    §

    TooManyBindings(BindingTypeMaxCountError)

    §

    InvalidBindingIndex

    Fields

    §binding: u32
    §maximum: u32
    §

    InvalidVisibility(ShaderStages)

    Trait Implementations§

    source§

    impl Clone for CreateBindGroupLayoutError

    source§

    fn clone(&self) -> CreateBindGroupLayoutError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for CreateBindGroupLayoutError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for CreateBindGroupLayoutError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for CreateBindGroupLayoutError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<CreateBindGroupLayoutError> for ImplicitLayoutError

    source§

    fn from(source: CreateBindGroupLayoutError) -> Self

    Converts to this type from the input type.
    source§

    impl From<DeviceError> for CreateBindGroupLayoutError

    source§

    fn from(source: DeviceError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + InvalidVisibility(ShaderStages), +}

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    Device(DeviceError)

    §

    ConflictBinding(u32)

    §

    Entry

    Fields

    §binding: u32
    §

    TooManyBindings(BindingTypeMaxCountError)

    §

    InvalidBindingIndex

    Fields

    §binding: u32
    §maximum: u32
    §

    InvalidVisibility(ShaderStages)

    Trait Implementations§

    source§

    impl Clone for CreateBindGroupLayoutError

    source§

    fn clone(&self) -> CreateBindGroupLayoutError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for CreateBindGroupLayoutError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for CreateBindGroupLayoutError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for CreateBindGroupLayoutError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<CreateBindGroupLayoutError> for ImplicitLayoutError

    source§

    fn from(source: CreateBindGroupLayoutError) -> Self

    Converts to this type from the input type.
    source§

    impl From<DeviceError> for CreateBindGroupLayoutError

    source§

    fn from(source: DeviceError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -24,7 +24,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/binding_model/enum.CreatePipelineLayoutError.html b/doc/wgpu_core/binding_model/enum.CreatePipelineLayoutError.html index 747a34dea7b3..559fbc57e1b8 100644 --- a/doc/wgpu_core/binding_model/enum.CreatePipelineLayoutError.html +++ b/doc/wgpu_core/binding_model/enum.CreatePipelineLayoutError.html @@ -8,8 +8,8 @@ MissingFeatures(MissingFeatures), MoreThanOnePushConstantRangePerStage { index: usize, - provided: ShaderStages, - intersected: ShaderStages, + provided: ShaderStages, + intersected: ShaderStages, }, PushConstantRangeTooLarge { index: usize, @@ -22,7 +22,7 @@ max: usize, }, InvalidResource(InvalidResourceError), -}

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    Device(DeviceError)

    §

    MisalignedPushConstantRange

    Fields

    §index: usize
    §bound: u32
    §

    MissingFeatures(MissingFeatures)

    §

    MoreThanOnePushConstantRangePerStage

    Fields

    §index: usize
    §provided: ShaderStages
    §intersected: ShaderStages
    §

    PushConstantRangeTooLarge

    Fields

    §index: usize
    §range: Range<u32>
    §max: u32
    §

    TooManyBindings(BindingTypeMaxCountError)

    §

    TooManyGroups

    Fields

    §actual: usize
    §max: usize
    §

    InvalidResource(InvalidResourceError)

    Trait Implementations§

    source§

    impl Clone for CreatePipelineLayoutError

    source§

    fn clone(&self) -> CreatePipelineLayoutError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for CreatePipelineLayoutError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for CreatePipelineLayoutError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for CreatePipelineLayoutError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<CreatePipelineLayoutError> for ImplicitLayoutError

    source§

    fn from(source: CreatePipelineLayoutError) -> Self

    Converts to this type from the input type.
    source§

    impl From<DeviceError> for CreatePipelineLayoutError

    source§

    fn from(source: DeviceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<InvalidResourceError> for CreatePipelineLayoutError

    source§

    fn from(source: InvalidResourceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingFeatures> for CreatePipelineLayoutError

    source§

    fn from(source: MissingFeatures) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +}

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    Device(DeviceError)

    §

    MisalignedPushConstantRange

    Fields

    §index: usize
    §bound: u32
    §

    MissingFeatures(MissingFeatures)

    §

    MoreThanOnePushConstantRangePerStage

    Fields

    §index: usize
    §provided: ShaderStages
    §intersected: ShaderStages
    §

    PushConstantRangeTooLarge

    Fields

    §index: usize
    §range: Range<u32>
    §max: u32
    §

    TooManyBindings(BindingTypeMaxCountError)

    §

    TooManyGroups

    Fields

    §actual: usize
    §max: usize
    §

    InvalidResource(InvalidResourceError)

    Trait Implementations§

    source§

    impl Clone for CreatePipelineLayoutError

    source§

    fn clone(&self) -> CreatePipelineLayoutError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for CreatePipelineLayoutError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for CreatePipelineLayoutError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for CreatePipelineLayoutError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<CreatePipelineLayoutError> for ImplicitLayoutError

    source§

    fn from(source: CreatePipelineLayoutError) -> Self

    Converts to this type from the input type.
    source§

    impl From<DeviceError> for CreatePipelineLayoutError

    source§

    fn from(source: DeviceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<InvalidResourceError> for CreatePipelineLayoutError

    source§

    fn from(source: InvalidResourceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingFeatures> for CreatePipelineLayoutError

    source§

    fn from(source: MissingFeatures) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -34,7 +34,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/binding_model/enum.GetBindGroupLayoutError.html b/doc/wgpu_core/binding_model/enum.GetBindGroupLayoutError.html index 8de096f65839..ed480a1106fa 100644 --- a/doc/wgpu_core/binding_model/enum.GetBindGroupLayoutError.html +++ b/doc/wgpu_core/binding_model/enum.GetBindGroupLayoutError.html @@ -14,7 +14,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/binding_model/enum.PushConstantUploadError.html b/doc/wgpu_core/binding_model/enum.PushConstantUploadError.html index 8aa3ecd2e264..806178cbc382 100644 --- a/doc/wgpu_core/binding_model/enum.PushConstantUploadError.html +++ b/doc/wgpu_core/binding_model/enum.PushConstantUploadError.html @@ -4,24 +4,24 @@ offset: u32, end_offset: u32, idx: usize, - range: PushConstantRange, + range: PushConstantRange, }, PartialRangeMatch { - actual: ShaderStages, + actual: ShaderStages, idx: usize, - matched: ShaderStages, + matched: ShaderStages, }, MissingStages { - actual: ShaderStages, + actual: ShaderStages, idx: usize, - missing: ShaderStages, + missing: ShaderStages, }, UnmatchedStages { - actual: ShaderStages, - unmatched: ShaderStages, + actual: ShaderStages, + unmatched: ShaderStages, }, Unaligned(u32), -}

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    TooLarge

    Fields

    §offset: u32
    §end_offset: u32
    §idx: usize
    §

    PartialRangeMatch

    Fields

    §idx: usize
    §

    MissingStages

    Fields

    §idx: usize
    §

    UnmatchedStages

    Fields

    §unmatched: ShaderStages
    §

    Unaligned(u32)

    Trait Implementations§

    source§

    impl Clone for PushConstantUploadError

    source§

    fn clone(&self) -> PushConstantUploadError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PushConstantUploadError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for PushConstantUploadError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for PushConstantUploadError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<PushConstantUploadError> for ComputePassErrorInner

    source§

    fn from(source: PushConstantUploadError) -> Self

    Converts to this type from the input type.
    source§

    impl From<PushConstantUploadError> for RenderCommandError

    source§

    fn from(source: PushConstantUploadError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +}

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    TooLarge

    Fields

    §offset: u32
    §end_offset: u32
    §idx: usize
    §range: PushConstantRange
    §

    PartialRangeMatch

    Fields

    §actual: ShaderStages
    §idx: usize
    §matched: ShaderStages
    §

    MissingStages

    Fields

    §actual: ShaderStages
    §idx: usize
    §missing: ShaderStages
    §

    UnmatchedStages

    Fields

    §actual: ShaderStages
    §unmatched: ShaderStages
    §

    Unaligned(u32)

    Trait Implementations§

    source§

    impl Clone for PushConstantUploadError

    source§

    fn clone(&self) -> PushConstantUploadError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PushConstantUploadError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for PushConstantUploadError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for PushConstantUploadError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<PushConstantUploadError> for ComputePassErrorInner

    source§

    fn from(source: PushConstantUploadError) -> Self

    Converts to this type from the input type.
    source§

    impl From<PushConstantUploadError> for RenderCommandError

    source§

    fn from(source: PushConstantUploadError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -33,7 +33,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/binding_model/enum.ResolvedBindingResource.html b/doc/wgpu_core/binding_model/enum.ResolvedBindingResource.html index 5ff365974fe9..2988fe3d5128 100644 --- a/doc/wgpu_core/binding_model/enum.ResolvedBindingResource.html +++ b/doc/wgpu_core/binding_model/enum.ResolvedBindingResource.html @@ -18,7 +18,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/binding_model/struct.BindGroup.html b/doc/wgpu_core/binding_model/struct.BindGroup.html index df7f013fae63..cc50e15d60fc 100644 --- a/doc/wgpu_core/binding_model/struct.BindGroup.html +++ b/doc/wgpu_core/binding_model/struct.BindGroup.html @@ -9,7 +9,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/binding_model/struct.BindGroupDescriptor.html b/doc/wgpu_core/binding_model/struct.BindGroupDescriptor.html index 2007b0d50632..e794a5d21448 100644 --- a/doc/wgpu_core/binding_model/struct.BindGroupDescriptor.html +++ b/doc/wgpu_core/binding_model/struct.BindGroupDescriptor.html @@ -22,7 +22,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/binding_model/struct.BindGroupDynamicBindingData.html b/doc/wgpu_core/binding_model/struct.BindGroupDynamicBindingData.html index 924d847d710b..e1a320a8c79d 100644 --- a/doc/wgpu_core/binding_model/struct.BindGroupDynamicBindingData.html +++ b/doc/wgpu_core/binding_model/struct.BindGroupDynamicBindingData.html @@ -9,7 +9,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/binding_model/struct.BindGroupEntry.html b/doc/wgpu_core/binding_model/struct.BindGroupEntry.html index 72b58dc04afb..dfa900a6b003 100644 --- a/doc/wgpu_core/binding_model/struct.BindGroupEntry.html +++ b/doc/wgpu_core/binding_model/struct.BindGroupEntry.html @@ -20,7 +20,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/binding_model/struct.BindGroupLayout.html b/doc/wgpu_core/binding_model/struct.BindGroupLayout.html index e263d573d4a4..6457e7838844 100644 --- a/doc/wgpu_core/binding_model/struct.BindGroupLayout.html +++ b/doc/wgpu_core/binding_model/struct.BindGroupLayout.html @@ -10,7 +10,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/binding_model/struct.BindGroupLayoutDescriptor.html b/doc/wgpu_core/binding_model/struct.BindGroupLayoutDescriptor.html index bf65da883abc..d198c9cacf44 100644 --- a/doc/wgpu_core/binding_model/struct.BindGroupLayoutDescriptor.html +++ b/doc/wgpu_core/binding_model/struct.BindGroupLayoutDescriptor.html @@ -1,11 +1,11 @@ BindGroupLayoutDescriptor in wgpu_core::binding_model - Rust
    pub struct BindGroupLayoutDescriptor<'a> {
         pub label: Label<'a>,
    -    pub entries: Cow<'a, [BindGroupLayoutEntry]>,
    +    pub entries: Cow<'a, [BindGroupLayoutEntry]>,
     }
    Expand description

    Describes a BindGroupLayout.

    Fields§

    §label: Label<'a>

    Debug label of the bind group layout.

    This will show up in graphics debuggers for easy identification.

    -
    §entries: Cow<'a, [BindGroupLayoutEntry]>

    Array of entries in this BindGroupLayout

    +
    §entries: Cow<'a, [BindGroupLayoutEntry]>

    Array of entries in this BindGroupLayout

    Trait Implementations§

    source§

    impl<'a> Clone for BindGroupLayoutDescriptor<'a>

    source§

    fn clone(&self) -> BindGroupLayoutDescriptor<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a> Debug for BindGroupLayoutDescriptor<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for BindGroupLayoutDescriptor<'a>

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> Serialize for BindGroupLayoutDescriptor<'a>

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where @@ -20,7 +20,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/binding_model/struct.BindingTypeMaxCountError.html b/doc/wgpu_core/binding_model/struct.BindingTypeMaxCountError.html index 08990d54a19d..58b062f76be5 100644 --- a/doc/wgpu_core/binding_model/struct.BindingTypeMaxCountError.html +++ b/doc/wgpu_core/binding_model/struct.BindingTypeMaxCountError.html @@ -16,7 +16,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/binding_model/struct.BufferBinding.html b/doc/wgpu_core/binding_model/struct.BufferBinding.html index 8c40a879266d..ceb08173fce0 100644 --- a/doc/wgpu_core/binding_model/struct.BufferBinding.html +++ b/doc/wgpu_core/binding_model/struct.BufferBinding.html @@ -1,9 +1,9 @@ BufferBinding in wgpu_core::binding_model - Rust
    #[repr(C)]
    pub struct BufferBinding { pub buffer_id: BufferId, - pub offset: BufferAddress, - pub size: Option<BufferSize>, -}

    Fields§

    §buffer_id: BufferId§offset: BufferAddress§size: Option<BufferSize>

    Trait Implementations§

    source§

    impl Clone for BufferBinding

    source§

    fn clone(&self) -> BufferBinding

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for BufferBinding

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for BufferBinding

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + pub offset: BufferAddress, + pub size: Option<BufferSize>, +}

    Fields§

    §buffer_id: BufferId§offset: BufferAddress§size: Option<BufferSize>

    Trait Implementations§

    source§

    impl Clone for BufferBinding

    source§

    fn clone(&self) -> BufferBinding

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for BufferBinding

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for BufferBinding

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Hash for BufferBinding

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for BufferBinding

    source§

    fn eq(&self, other: &BufferBinding) -> bool

    This method tests for self and other values to be equal, and is used @@ -25,7 +25,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/binding_model/struct.LateMinBufferBindingSizeMismatch.html b/doc/wgpu_core/binding_model/struct.LateMinBufferBindingSizeMismatch.html index d659cabe6e91..aff4d9338225 100644 --- a/doc/wgpu_core/binding_model/struct.LateMinBufferBindingSizeMismatch.html +++ b/doc/wgpu_core/binding_model/struct.LateMinBufferBindingSizeMismatch.html @@ -2,9 +2,9 @@
    pub struct LateMinBufferBindingSizeMismatch {
         pub group_index: u32,
         pub compact_index: usize,
    -    pub shader_size: BufferAddress,
    -    pub bound_size: BufferAddress,
    -}

    Fields§

    §group_index: u32§compact_index: usize§shader_size: BufferAddress§bound_size: BufferAddress

    Trait Implementations§

    source§

    impl Clone for LateMinBufferBindingSizeMismatch

    source§

    fn clone(&self) -> LateMinBufferBindingSizeMismatch

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for LateMinBufferBindingSizeMismatch

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for LateMinBufferBindingSizeMismatch

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for LateMinBufferBindingSizeMismatch

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<LateMinBufferBindingSizeMismatch> for DispatchError

    source§

    fn from(source: LateMinBufferBindingSizeMismatch) -> Self

    Converts to this type from the input type.
    source§

    impl From<LateMinBufferBindingSizeMismatch> for DrawError

    source§

    fn from(source: LateMinBufferBindingSizeMismatch) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq for LateMinBufferBindingSizeMismatch

    source§

    fn eq(&self, other: &LateMinBufferBindingSizeMismatch) -> bool

    This method tests for self and other values to be equal, and is used + pub shader_size: BufferAddress, + pub bound_size: BufferAddress, +}

    Fields§

    §group_index: u32§compact_index: usize§shader_size: BufferAddress§bound_size: BufferAddress

    Trait Implementations§

    source§

    impl Clone for LateMinBufferBindingSizeMismatch

    source§

    fn clone(&self) -> LateMinBufferBindingSizeMismatch

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for LateMinBufferBindingSizeMismatch

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for LateMinBufferBindingSizeMismatch

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for LateMinBufferBindingSizeMismatch

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<LateMinBufferBindingSizeMismatch> for DispatchError

    source§

    fn from(source: LateMinBufferBindingSizeMismatch) -> Self

    Converts to this type from the input type.
    source§

    impl From<LateMinBufferBindingSizeMismatch> for DrawError

    source§

    fn from(source: LateMinBufferBindingSizeMismatch) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq for LateMinBufferBindingSizeMismatch

    source§

    fn eq(&self, other: &LateMinBufferBindingSizeMismatch) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Eq for LateMinBufferBindingSizeMismatch

    source§

    impl StructuralEq for LateMinBufferBindingSizeMismatch

    source§

    impl StructuralPartialEq for LateMinBufferBindingSizeMismatch

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where @@ -22,7 +22,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/binding_model/struct.PipelineLayout.html b/doc/wgpu_core/binding_model/struct.PipelineLayout.html index a0b882a97d6d..97e2c39fc959 100644 --- a/doc/wgpu_core/binding_model/struct.PipelineLayout.html +++ b/doc/wgpu_core/binding_model/struct.PipelineLayout.html @@ -9,7 +9,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/binding_model/struct.PipelineLayoutDescriptor.html b/doc/wgpu_core/binding_model/struct.PipelineLayoutDescriptor.html index 3364f00409f8..b4040b0dfb48 100644 --- a/doc/wgpu_core/binding_model/struct.PipelineLayoutDescriptor.html +++ b/doc/wgpu_core/binding_model/struct.PipelineLayoutDescriptor.html @@ -2,18 +2,18 @@
    pub struct PipelineLayoutDescriptor<'a> {
         pub label: Label<'a>,
         pub bind_group_layouts: Cow<'a, [BindGroupLayoutId]>,
    -    pub push_constant_ranges: Cow<'a, [PushConstantRange]>,
    +    pub push_constant_ranges: Cow<'a, [PushConstantRange]>,
     }
    Expand description

    Describes a pipeline layout.

    A PipelineLayoutDescriptor can be used to create a pipeline layout.

    Fields§

    §label: Label<'a>

    Debug label of the pipeline layout.

    This will show up in graphics debuggers for easy identification.

    §bind_group_layouts: Cow<'a, [BindGroupLayoutId]>

    Bind groups that this pipeline uses. The first entry will provide all the bindings for “set = 0”, second entry will provide all the bindings for “set = 1” etc.

    -
    §push_constant_ranges: Cow<'a, [PushConstantRange]>

    Set of push constant ranges this pipeline uses. Each shader stage that +

    §push_constant_ranges: Cow<'a, [PushConstantRange]>

    Set of push constant ranges this pipeline uses. Each shader stage that uses push constants must define the range in push constant memory that corresponds to its single layout(push_constant) uniform block.

    If this array is non-empty, the -Features::PUSH_CONSTANTS feature must +Features::PUSH_CONSTANTS feature must be enabled.

    Trait Implementations§

    source§

    impl<'a> Clone for PipelineLayoutDescriptor<'a>

    source§

    fn clone(&self) -> PipelineLayoutDescriptor<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a> Debug for PipelineLayoutDescriptor<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for PipelineLayoutDescriptor<'a>

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> Hash for PipelineLayoutDescriptor<'a>

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where @@ -37,7 +37,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/binding_model/struct.ResolvedBindGroupDescriptor.html b/doc/wgpu_core/binding_model/struct.ResolvedBindGroupDescriptor.html index 276a4e4f5a53..8bf79d1cfa03 100644 --- a/doc/wgpu_core/binding_model/struct.ResolvedBindGroupDescriptor.html +++ b/doc/wgpu_core/binding_model/struct.ResolvedBindGroupDescriptor.html @@ -19,7 +19,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/binding_model/struct.ResolvedBindGroupEntry.html b/doc/wgpu_core/binding_model/struct.ResolvedBindGroupEntry.html index 242af59fa720..41ff03786af4 100644 --- a/doc/wgpu_core/binding_model/struct.ResolvedBindGroupEntry.html +++ b/doc/wgpu_core/binding_model/struct.ResolvedBindGroupEntry.html @@ -17,7 +17,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/binding_model/struct.ResolvedBufferBinding.html b/doc/wgpu_core/binding_model/struct.ResolvedBufferBinding.html index 644d2317dc0b..95688da0d41b 100644 --- a/doc/wgpu_core/binding_model/struct.ResolvedBufferBinding.html +++ b/doc/wgpu_core/binding_model/struct.ResolvedBufferBinding.html @@ -1,9 +1,9 @@ ResolvedBufferBinding in wgpu_core::binding_model - Rust
    pub struct ResolvedBufferBinding {
         pub buffer: Arc<Buffer>,
    -    pub offset: BufferAddress,
    -    pub size: Option<BufferSize>,
    -}

    Fields§

    §buffer: Arc<Buffer>§offset: BufferAddress§size: Option<BufferSize>

    Trait Implementations§

    source§

    impl Clone for ResolvedBufferBinding

    source§

    fn clone(&self) -> ResolvedBufferBinding

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ResolvedBufferBinding

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + pub offset: BufferAddress, + pub size: Option<BufferSize>, +}

    Fields§

    §buffer: Arc<Buffer>§offset: BufferAddress§size: Option<BufferSize>

    Trait Implementations§

    source§

    impl Clone for ResolvedBufferBinding

    source§

    fn clone(&self) -> ResolvedBufferBinding

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ResolvedBufferBinding

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -14,7 +14,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/binding_model/struct.ResolvedPipelineLayoutDescriptor.html b/doc/wgpu_core/binding_model/struct.ResolvedPipelineLayoutDescriptor.html index 3cb4872bad3d..509d4a874223 100644 --- a/doc/wgpu_core/binding_model/struct.ResolvedPipelineLayoutDescriptor.html +++ b/doc/wgpu_core/binding_model/struct.ResolvedPipelineLayoutDescriptor.html @@ -2,18 +2,18 @@
    pub struct ResolvedPipelineLayoutDescriptor<'a> {
         pub label: Label<'a>,
         pub bind_group_layouts: Cow<'a, [Arc<BindGroupLayout>]>,
    -    pub push_constant_ranges: Cow<'a, [PushConstantRange]>,
    +    pub push_constant_ranges: Cow<'a, [PushConstantRange]>,
     }
    Expand description

    Describes a pipeline layout.

    A PipelineLayoutDescriptor can be used to create a pipeline layout.

    Fields§

    §label: Label<'a>

    Debug label of the pipeline layout.

    This will show up in graphics debuggers for easy identification.

    §bind_group_layouts: Cow<'a, [Arc<BindGroupLayout>]>

    Bind groups that this pipeline uses. The first entry will provide all the bindings for “set = 0”, second entry will provide all the bindings for “set = 1” etc.

    -
    §push_constant_ranges: Cow<'a, [PushConstantRange]>

    Set of push constant ranges this pipeline uses. Each shader stage that +

    §push_constant_ranges: Cow<'a, [PushConstantRange]>

    Set of push constant ranges this pipeline uses. Each shader stage that uses push constants must define the range in push constant memory that corresponds to its single layout(push_constant) uniform block.

    If this array is non-empty, the -Features::PUSH_CONSTANTS feature must +Features::PUSH_CONSTANTS feature must be enabled.

    Trait Implementations§

    source§

    impl<'a> Debug for ResolvedPipelineLayoutDescriptor<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where @@ -25,7 +25,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/command/bundle_ffi/fn.wgpu_render_bundle_draw_indexed_indirect.html b/doc/wgpu_core/command/bundle_ffi/fn.wgpu_render_bundle_draw_indexed_indirect.html index 690ed333016f..f594ba910f15 100644 --- a/doc/wgpu_core/command/bundle_ffi/fn.wgpu_render_bundle_draw_indexed_indirect.html +++ b/doc/wgpu_core/command/bundle_ffi/fn.wgpu_render_bundle_draw_indexed_indirect.html @@ -2,5 +2,5 @@
    pub fn wgpu_render_bundle_draw_indexed_indirect(
         bundle: &mut RenderBundleEncoder,
         buffer_id: BufferId,
    -    offset: BufferAddress
    +    offset: BufferAddress
     )
    \ No newline at end of file diff --git a/doc/wgpu_core/command/bundle_ffi/fn.wgpu_render_bundle_draw_indirect.html b/doc/wgpu_core/command/bundle_ffi/fn.wgpu_render_bundle_draw_indirect.html index 63209af1f69b..88028acf9229 100644 --- a/doc/wgpu_core/command/bundle_ffi/fn.wgpu_render_bundle_draw_indirect.html +++ b/doc/wgpu_core/command/bundle_ffi/fn.wgpu_render_bundle_draw_indirect.html @@ -2,5 +2,5 @@
    pub fn wgpu_render_bundle_draw_indirect(
         bundle: &mut RenderBundleEncoder,
         buffer_id: BufferId,
    -    offset: BufferAddress
    +    offset: BufferAddress
     )
    \ No newline at end of file diff --git a/doc/wgpu_core/command/bundle_ffi/fn.wgpu_render_bundle_set_bind_group.html b/doc/wgpu_core/command/bundle_ffi/fn.wgpu_render_bundle_set_bind_group.html index c7c07419ad4d..e181ae864bab 100644 --- a/doc/wgpu_core/command/bundle_ffi/fn.wgpu_render_bundle_set_bind_group.html +++ b/doc/wgpu_core/command/bundle_ffi/fn.wgpu_render_bundle_set_bind_group.html @@ -3,7 +3,7 @@ bundle: &mut RenderBundleEncoder, index: u32, bind_group_id: Option<BindGroupId>, - offsets: *const DynamicOffset, + offsets: *const DynamicOffset, offset_length: usize )
    Expand description

    Safety

    This function is unsafe as there is no guarantee that the given pointer is diff --git a/doc/wgpu_core/command/bundle_ffi/fn.wgpu_render_bundle_set_index_buffer.html b/doc/wgpu_core/command/bundle_ffi/fn.wgpu_render_bundle_set_index_buffer.html index 622a92ccd274..627207d4480d 100644 --- a/doc/wgpu_core/command/bundle_ffi/fn.wgpu_render_bundle_set_index_buffer.html +++ b/doc/wgpu_core/command/bundle_ffi/fn.wgpu_render_bundle_set_index_buffer.html @@ -2,7 +2,7 @@

    pub fn wgpu_render_bundle_set_index_buffer(
         encoder: &mut RenderBundleEncoder,
         buffer: BufferId,
    -    index_format: IndexFormat,
    -    offset: BufferAddress,
    -    size: Option<BufferSize>
    +    index_format: IndexFormat,
    +    offset: BufferAddress,
    +    size: Option<BufferSize>
     )
    \ No newline at end of file diff --git a/doc/wgpu_core/command/bundle_ffi/fn.wgpu_render_bundle_set_push_constants.html b/doc/wgpu_core/command/bundle_ffi/fn.wgpu_render_bundle_set_push_constants.html index 5c6ba2a4a530..af4e71ac8ef4 100644 --- a/doc/wgpu_core/command/bundle_ffi/fn.wgpu_render_bundle_set_push_constants.html +++ b/doc/wgpu_core/command/bundle_ffi/fn.wgpu_render_bundle_set_push_constants.html @@ -1,7 +1,7 @@ wgpu_render_bundle_set_push_constants in wgpu_core::command::bundle_ffi - Rust
    pub unsafe fn wgpu_render_bundle_set_push_constants(
         pass: &mut RenderBundleEncoder,
    -    stages: ShaderStages,
    +    stages: ShaderStages,
         offset: u32,
         size_bytes: u32,
         data: *const u8
    diff --git a/doc/wgpu_core/command/bundle_ffi/fn.wgpu_render_bundle_set_vertex_buffer.html b/doc/wgpu_core/command/bundle_ffi/fn.wgpu_render_bundle_set_vertex_buffer.html
    index 2b32fe53ae34..57434ba8585c 100644
    --- a/doc/wgpu_core/command/bundle_ffi/fn.wgpu_render_bundle_set_vertex_buffer.html
    +++ b/doc/wgpu_core/command/bundle_ffi/fn.wgpu_render_bundle_set_vertex_buffer.html
    @@ -3,6 +3,6 @@
         bundle: &mut RenderBundleEncoder,
         slot: u32,
         buffer_id: BufferId,
    -    offset: BufferAddress,
    -    size: Option<BufferSize>
    +    offset: BufferAddress,
    +    size: Option<BufferSize>
     )
    \ No newline at end of file diff --git a/doc/wgpu_core/command/enum.AttachmentError.html b/doc/wgpu_core/command/enum.AttachmentError.html index 4a9d4488c7a9..ca49e66e187a 100644 --- a/doc/wgpu_core/command/enum.AttachmentError.html +++ b/doc/wgpu_core/command/enum.AttachmentError.html @@ -1,13 +1,13 @@ AttachmentError in wgpu_core::command - Rust
    #[non_exhaustive]
    pub enum AttachmentError { - InvalidDepthStencilAttachmentFormat(TextureFormat), + InvalidDepthStencilAttachmentFormat(TextureFormat), ReadOnlyWithLoad, ReadOnlyWithStore, NoLoad, NoStore, NoClearValue, ClearValueOutOfRange(f32), -}

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    InvalidDepthStencilAttachmentFormat(TextureFormat)

    §

    ReadOnlyWithLoad

    §

    ReadOnlyWithStore

    §

    NoLoad

    §

    NoStore

    §

    NoClearValue

    §

    ClearValueOutOfRange(f32)

    Trait Implementations§

    source§

    impl Clone for AttachmentError

    source§

    fn clone(&self) -> AttachmentError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for AttachmentError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for AttachmentError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for AttachmentError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<AttachmentError> for CommandEncoderError

    source§

    fn from(source: AttachmentError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +}

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    InvalidDepthStencilAttachmentFormat(TextureFormat)

    §

    ReadOnlyWithLoad

    §

    ReadOnlyWithStore

    §

    NoLoad

    §

    NoStore

    §

    NoClearValue

    §

    ClearValueOutOfRange(f32)

    Trait Implementations§

    source§

    impl Clone for AttachmentError

    source§

    fn clone(&self) -> AttachmentError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for AttachmentError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for AttachmentError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for AttachmentError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<AttachmentError> for CommandEncoderError

    source§

    fn from(source: AttachmentError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -19,7 +19,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/command/enum.AttachmentErrorLocation.html b/doc/wgpu_core/command/enum.AttachmentErrorLocation.html index f7fc448fb7e7..a403765d8802 100644 --- a/doc/wgpu_core/command/enum.AttachmentErrorLocation.html +++ b/doc/wgpu_core/command/enum.AttachmentErrorLocation.html @@ -19,7 +19,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/command/enum.ClearError.html b/doc/wgpu_core/command/enum.ClearError.html index a6dbd7cbb34e..26f5ea116553 100644 --- a/doc/wgpu_core/command/enum.ClearError.html +++ b/doc/wgpu_core/command/enum.ClearError.html @@ -3,21 +3,21 @@
    Show 14 variants MissingClearTextureFeature, DestroyedResource(DestroyedResourceError), NoValidTextureClearMode(ResourceErrorIdent), - UnalignedFillSize(BufferAddress), - UnalignedBufferOffset(BufferAddress), + UnalignedFillSize(BufferAddress), + UnalignedBufferOffset(BufferAddress), OffsetPlusSizeExceeds64BitBounds { - start_offset: BufferAddress, - requested_size: BufferAddress, + start_offset: BufferAddress, + requested_size: BufferAddress, }, BufferOverrun { - start_offset: BufferAddress, - end_offset: BufferAddress, - buffer_size: BufferAddress, + start_offset: BufferAddress, + end_offset: BufferAddress, + buffer_size: BufferAddress, }, MissingBufferUsage(MissingBufferUsageError), MissingTextureAspect { - texture_format: TextureFormat, - subresource_range_aspects: TextureAspect, + texture_format: TextureFormat, + subresource_range_aspects: TextureAspect, }, InvalidTextureLevelRange { texture_level_range: Range<u32>, @@ -33,7 +33,7 @@ CommandEncoderError(CommandEncoderError), InvalidResource(InvalidResourceError),
    }
    Expand description

    Error encountered while attempting a clear.

    -

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    MissingClearTextureFeature

    §

    DestroyedResource(DestroyedResourceError)

    §

    NoValidTextureClearMode(ResourceErrorIdent)

    §

    UnalignedFillSize(BufferAddress)

    §

    UnalignedBufferOffset(BufferAddress)

    §

    OffsetPlusSizeExceeds64BitBounds

    Fields

    §start_offset: BufferAddress
    §requested_size: BufferAddress
    §

    BufferOverrun

    Fields

    §start_offset: BufferAddress
    §end_offset: BufferAddress
    §buffer_size: BufferAddress
    §

    MissingBufferUsage(MissingBufferUsageError)

    §

    MissingTextureAspect

    Fields

    §texture_format: TextureFormat
    §subresource_range_aspects: TextureAspect
    §

    InvalidTextureLevelRange

    Fields

    §texture_level_range: Range<u32>
    §subresource_base_mip_level: u32
    §subresource_mip_level_count: Option<u32>
    §

    InvalidTextureLayerRange

    Fields

    §texture_layer_range: Range<u32>
    §subresource_base_array_layer: u32
    §subresource_array_layer_count: Option<u32>
    §

    Device(DeviceError)

    §

    CommandEncoderError(CommandEncoderError)

    §

    InvalidResource(InvalidResourceError)

    Trait Implementations§

    source§

    impl Clone for ClearError

    source§

    fn clone(&self) -> ClearError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ClearError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for ClearError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for ClearError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<ClearError> for QueueWriteError

    source§

    fn from(source: ClearError) -> Self

    Converts to this type from the input type.
    source§

    impl From<ClearError> for TransferError

    source§

    fn from(source: ClearError) -> Self

    Converts to this type from the input type.
    source§

    impl From<CommandEncoderError> for ClearError

    source§

    fn from(source: CommandEncoderError) -> Self

    Converts to this type from the input type.
    source§

    impl From<DestroyedResourceError> for ClearError

    source§

    fn from(source: DestroyedResourceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<DeviceError> for ClearError

    source§

    fn from(source: DeviceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<InvalidResourceError> for ClearError

    source§

    fn from(source: InvalidResourceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingBufferUsageError> for ClearError

    source§

    fn from(source: MissingBufferUsageError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    MissingClearTextureFeature

    §

    DestroyedResource(DestroyedResourceError)

    §

    NoValidTextureClearMode(ResourceErrorIdent)

    §

    UnalignedFillSize(BufferAddress)

    §

    UnalignedBufferOffset(BufferAddress)

    §

    OffsetPlusSizeExceeds64BitBounds

    Fields

    §start_offset: BufferAddress
    §requested_size: BufferAddress
    §

    BufferOverrun

    Fields

    §start_offset: BufferAddress
    §end_offset: BufferAddress
    §buffer_size: BufferAddress
    §

    MissingBufferUsage(MissingBufferUsageError)

    §

    MissingTextureAspect

    Fields

    §texture_format: TextureFormat
    §subresource_range_aspects: TextureAspect
    §

    InvalidTextureLevelRange

    Fields

    §texture_level_range: Range<u32>
    §subresource_base_mip_level: u32
    §subresource_mip_level_count: Option<u32>
    §

    InvalidTextureLayerRange

    Fields

    §texture_layer_range: Range<u32>
    §subresource_base_array_layer: u32
    §subresource_array_layer_count: Option<u32>
    §

    Device(DeviceError)

    §

    CommandEncoderError(CommandEncoderError)

    §

    InvalidResource(InvalidResourceError)

    Trait Implementations§

    source§

    impl Clone for ClearError

    source§

    fn clone(&self) -> ClearError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ClearError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for ClearError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for ClearError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<ClearError> for QueueWriteError

    source§

    fn from(source: ClearError) -> Self

    Converts to this type from the input type.
    source§

    impl From<ClearError> for TransferError

    source§

    fn from(source: ClearError) -> Self

    Converts to this type from the input type.
    source§

    impl From<CommandEncoderError> for ClearError

    source§

    fn from(source: CommandEncoderError) -> Self

    Converts to this type from the input type.
    source§

    impl From<DestroyedResourceError> for ClearError

    source§

    fn from(source: DestroyedResourceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<DeviceError> for ClearError

    source§

    fn from(source: DeviceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<InvalidResourceError> for ClearError

    source§

    fn from(source: InvalidResourceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingBufferUsageError> for ClearError

    source§

    fn from(source: MissingBufferUsageError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -45,7 +45,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/command/enum.ColorAttachmentError.html b/doc/wgpu_core/command/enum.ColorAttachmentError.html index dc7667ebeb9f..c75d94556816 100644 --- a/doc/wgpu_core/command/enum.ColorAttachmentError.html +++ b/doc/wgpu_core/command/enum.ColorAttachmentError.html @@ -1,6 +1,6 @@ ColorAttachmentError in wgpu_core::command - Rust
    #[non_exhaustive]
    pub enum ColorAttachmentError { - InvalidFormat(TextureFormat), + InvalidFormat(TextureFormat), TooMany { given: usize, limit: usize, @@ -9,7 +9,7 @@ total: u32, limit: u32, }, -}

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    InvalidFormat(TextureFormat)

    §

    TooMany

    Fields

    §given: usize
    §limit: usize
    §

    TooManyBytesPerSample

    Fields

    §total: u32
    §limit: u32

    Trait Implementations§

    source§

    impl Clone for ColorAttachmentError

    source§

    fn clone(&self) -> ColorAttachmentError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ColorAttachmentError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for ColorAttachmentError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for ColorAttachmentError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<ColorAttachmentError> for CommandEncoderError

    source§

    fn from(source: ColorAttachmentError) -> Self

    Converts to this type from the input type.
    source§

    impl From<ColorAttachmentError> for CreateRenderBundleError

    source§

    fn from(source: ColorAttachmentError) -> Self

    Converts to this type from the input type.
    source§

    impl From<ColorAttachmentError> for CreateRenderPipelineError

    source§

    fn from(source: ColorAttachmentError) -> Self

    Converts to this type from the input type.
    source§

    impl From<ColorAttachmentError> for RenderPassErrorInner

    source§

    fn from(source: ColorAttachmentError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +}

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    InvalidFormat(TextureFormat)

    §

    TooMany

    Fields

    §given: usize
    §limit: usize
    §

    TooManyBytesPerSample

    Fields

    §total: u32
    §limit: u32

    Trait Implementations§

    source§

    impl Clone for ColorAttachmentError

    source§

    fn clone(&self) -> ColorAttachmentError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ColorAttachmentError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for ColorAttachmentError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for ColorAttachmentError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<ColorAttachmentError> for CommandEncoderError

    source§

    fn from(source: ColorAttachmentError) -> Self

    Converts to this type from the input type.
    source§

    impl From<ColorAttachmentError> for CreateRenderBundleError

    source§

    fn from(source: ColorAttachmentError) -> Self

    Converts to this type from the input type.
    source§

    impl From<ColorAttachmentError> for CreateRenderPipelineError

    source§

    fn from(source: ColorAttachmentError) -> Self

    Converts to this type from the input type.
    source§

    impl From<ColorAttachmentError> for RenderPassErrorInner

    source§

    fn from(source: ColorAttachmentError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -21,7 +21,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/command/enum.CommandEncoderError.html b/doc/wgpu_core/command/enum.CommandEncoderError.html index 268dc2fda8f9..5c3eedd00ee2 100644 --- a/doc/wgpu_core/command/enum.CommandEncoderError.html +++ b/doc/wgpu_core/command/enum.CommandEncoderError.html @@ -25,7 +25,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/command/enum.ComputeCommand.html b/doc/wgpu_core/command/enum.ComputeCommand.html index edbf7cbb532d..c926c430291a 100644 --- a/doc/wgpu_core/command/enum.ComputeCommand.html +++ b/doc/wgpu_core/command/enum.ComputeCommand.html @@ -14,7 +14,7 @@ Dispatch([u32; 3]), DispatchIndirect { buffer_id: BufferId, - offset: BufferAddress, + offset: BufferAddress, }, PushDebugGroup { color: u32, @@ -42,7 +42,7 @@

    Note: this is not a byte offset like offset. Rather, it is the index of the first u32 element in push_constant_data to read.

    Set a range of push constants to values stored in push_constant_data.

    -
    §

    Dispatch([u32; 3])

    §

    DispatchIndirect

    Fields

    §buffer_id: BufferId
    §

    PushDebugGroup

    Fields

    §color: u32
    §len: usize
    §

    PopDebugGroup

    §

    InsertDebugMarker

    Fields

    §color: u32
    §len: usize
    §

    WriteTimestamp

    Fields

    §query_set_id: QuerySetId
    §query_index: u32
    §

    BeginPipelineStatisticsQuery

    Fields

    §query_set_id: QuerySetId
    §query_index: u32
    §

    EndPipelineStatisticsQuery

    Implementations§

    source§

    impl ComputeCommand

    §

    Dispatch([u32; 3])

    §

    DispatchIndirect

    Fields

    §buffer_id: BufferId
    §offset: BufferAddress
    §

    PushDebugGroup

    Fields

    §color: u32
    §len: usize
    §

    PopDebugGroup

    §

    InsertDebugMarker

    Fields

    §color: u32
    §len: usize
    §

    WriteTimestamp

    Fields

    §query_set_id: QuerySetId
    §query_index: u32
    §

    BeginPipelineStatisticsQuery

    Fields

    §query_set_id: QuerySetId
    §query_index: u32
    §

    EndPipelineStatisticsQuery

    Implementations§

    source§

    impl ComputeCommand

    source

    pub fn resolve_compute_command_ids( hub: &Hub, commands: &[ComputeCommand] ) -> Result<Vec<ArcComputeCommand>, ComputePassError>

    Available on crate features serde or replay only.

    Resolves all ids in a list of commands into the corresponding resource Arc.

    @@ -60,7 +60,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/command/enum.ComputePassErrorInner.html b/doc/wgpu_core/command/enum.ComputePassErrorInner.html index 83a6449b37ea..29f7a53cd686 100644 --- a/doc/wgpu_core/command/enum.ComputePassErrorInner.html +++ b/doc/wgpu_core/command/enum.ComputePassErrorInner.html @@ -8,7 +8,7 @@ max: u32, }, DestroyedResource(DestroyedResourceError), - UnalignedIndirectBufferOffset(BufferAddress), + UnalignedIndirectBufferOffset(BufferAddress), IndirectBufferOverrun { offset: u64, end_offset: u64, @@ -29,7 +29,7 @@ PassEnded, InvalidResource(InvalidResourceError), }
    Expand description

    Error encountered when performing a compute pass.

    -

    Variants§

    §

    Device(DeviceError)

    §

    Encoder(CommandEncoderError)

    §

    InvalidParentEncoder

    §

    BindGroupIndexOutOfRange

    Fields

    §index: u32
    §max: u32
    §

    DestroyedResource(DestroyedResourceError)

    §

    UnalignedIndirectBufferOffset(BufferAddress)

    §

    IndirectBufferOverrun

    Fields

    §offset: u64
    §end_offset: u64
    §buffer_size: u64
    §

    ResourceUsageCompatibility(ResourceUsageCompatibilityError)

    §

    MissingBufferUsage(MissingBufferUsageError)

    §

    InvalidPopDebugGroup

    §

    Dispatch(DispatchError)

    §

    Bind(BindError)

    §

    PushConstants(PushConstantUploadError)

    §

    PushConstantOffsetAlignment

    §

    PushConstantSizeAlignment

    §

    PushConstantOutOfMemory

    §

    QueryUse(QueryUseError)

    §

    MissingFeatures(MissingFeatures)

    §

    MissingDownlevelFlags(MissingDownlevelFlags)

    §

    PassEnded

    §

    InvalidResource(InvalidResourceError)

    Trait Implementations§

    source§

    impl Clone for ComputePassErrorInner

    source§

    fn clone(&self) -> ComputePassErrorInner

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ComputePassErrorInner

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for ComputePassErrorInner

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for ComputePassErrorInner

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<BindError> for ComputePassErrorInner

    source§

    fn from(source: BindError) -> Self

    Converts to this type from the input type.
    source§

    impl From<CommandEncoderError> for ComputePassErrorInner

    source§

    fn from(source: CommandEncoderError) -> Self

    Converts to this type from the input type.
    source§

    impl From<DestroyedResourceError> for ComputePassErrorInner

    source§

    fn from(source: DestroyedResourceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<DeviceError> for ComputePassErrorInner

    source§

    fn from(source: DeviceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<DispatchError> for ComputePassErrorInner

    source§

    fn from(source: DispatchError) -> Self

    Converts to this type from the input type.
    source§

    impl From<InvalidResourceError> for ComputePassErrorInner

    source§

    fn from(source: InvalidResourceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingBufferUsageError> for ComputePassErrorInner

    source§

    fn from(source: MissingBufferUsageError) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingDownlevelFlags> for ComputePassErrorInner

    source§

    fn from(source: MissingDownlevelFlags) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingFeatures> for ComputePassErrorInner

    source§

    fn from(source: MissingFeatures) -> Self

    Converts to this type from the input type.
    source§

    impl From<PushConstantUploadError> for ComputePassErrorInner

    source§

    fn from(source: PushConstantUploadError) -> Self

    Converts to this type from the input type.
    source§

    impl From<QueryUseError> for ComputePassErrorInner

    source§

    fn from(source: QueryUseError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Variants§

    §

    Device(DeviceError)

    §

    Encoder(CommandEncoderError)

    §

    InvalidParentEncoder

    §

    BindGroupIndexOutOfRange

    Fields

    §index: u32
    §max: u32
    §

    DestroyedResource(DestroyedResourceError)

    §

    UnalignedIndirectBufferOffset(BufferAddress)

    §

    IndirectBufferOverrun

    Fields

    §offset: u64
    §end_offset: u64
    §buffer_size: u64
    §

    ResourceUsageCompatibility(ResourceUsageCompatibilityError)

    §

    MissingBufferUsage(MissingBufferUsageError)

    §

    InvalidPopDebugGroup

    §

    Dispatch(DispatchError)

    §

    Bind(BindError)

    §

    PushConstants(PushConstantUploadError)

    §

    PushConstantOffsetAlignment

    §

    PushConstantSizeAlignment

    §

    PushConstantOutOfMemory

    §

    QueryUse(QueryUseError)

    §

    MissingFeatures(MissingFeatures)

    §

    MissingDownlevelFlags(MissingDownlevelFlags)

    §

    PassEnded

    §

    InvalidResource(InvalidResourceError)

    Trait Implementations§

    source§

    impl Clone for ComputePassErrorInner

    source§

    fn clone(&self) -> ComputePassErrorInner

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ComputePassErrorInner

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for ComputePassErrorInner

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for ComputePassErrorInner

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<BindError> for ComputePassErrorInner

    source§

    fn from(source: BindError) -> Self

    Converts to this type from the input type.
    source§

    impl From<CommandEncoderError> for ComputePassErrorInner

    source§

    fn from(source: CommandEncoderError) -> Self

    Converts to this type from the input type.
    source§

    impl From<DestroyedResourceError> for ComputePassErrorInner

    source§

    fn from(source: DestroyedResourceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<DeviceError> for ComputePassErrorInner

    source§

    fn from(source: DeviceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<DispatchError> for ComputePassErrorInner

    source§

    fn from(source: DispatchError) -> Self

    Converts to this type from the input type.
    source§

    impl From<InvalidResourceError> for ComputePassErrorInner

    source§

    fn from(source: InvalidResourceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingBufferUsageError> for ComputePassErrorInner

    source§

    fn from(source: MissingBufferUsageError) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingDownlevelFlags> for ComputePassErrorInner

    source§

    fn from(source: MissingDownlevelFlags) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingFeatures> for ComputePassErrorInner

    source§

    fn from(source: MissingFeatures) -> Self

    Converts to this type from the input type.
    source§

    impl From<PushConstantUploadError> for ComputePassErrorInner

    source§

    fn from(source: PushConstantUploadError) -> Self

    Converts to this type from the input type.
    source§

    impl From<QueryUseError> for ComputePassErrorInner

    source§

    fn from(source: QueryUseError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -41,7 +41,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/command/enum.CopyError.html b/doc/wgpu_core/command/enum.CopyError.html index b10c2abb58e0..b803b0143522 100644 --- a/doc/wgpu_core/command/enum.CopyError.html +++ b/doc/wgpu_core/command/enum.CopyError.html @@ -17,7 +17,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/command/enum.CopySide.html b/doc/wgpu_core/command/enum.CopySide.html index 3d8995cd7d5b..f87566c2bebc 100644 --- a/doc/wgpu_core/command/enum.CopySide.html +++ b/doc/wgpu_core/command/enum.CopySide.html @@ -13,7 +13,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/command/enum.CreateRenderBundleError.html b/doc/wgpu_core/command/enum.CreateRenderBundleError.html index 3297f35f8629..2033e4fa39a3 100644 --- a/doc/wgpu_core/command/enum.CreateRenderBundleError.html +++ b/doc/wgpu_core/command/enum.CreateRenderBundleError.html @@ -15,7 +15,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/command/enum.DispatchError.html b/doc/wgpu_core/command/enum.DispatchError.html index 1e3b42ea9480..a84a3b606948 100644 --- a/doc/wgpu_core/command/enum.DispatchError.html +++ b/doc/wgpu_core/command/enum.DispatchError.html @@ -19,7 +19,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/command/enum.DrawError.html b/doc/wgpu_core/command/enum.DrawError.html index 6e9b124ce9e9..972642ba4908 100644 --- a/doc/wgpu_core/command/enum.DrawError.html +++ b/doc/wgpu_core/command/enum.DrawError.html @@ -14,7 +14,7 @@ slot: u32, }, VertexOutOfBounds { - step_mode: VertexStepMode, + step_mode: VertexStepMode, offset: u64, limit: u64, slot: u32, @@ -30,12 +30,12 @@ }, UnmatchedIndexFormats { pipeline: ResourceErrorIdent, - pipeline_format: IndexFormat, - buffer_format: IndexFormat, + pipeline_format: IndexFormat, + buffer_format: IndexFormat, }, BindingSizeTooSmall(LateMinBufferBindingSizeMismatch), }
    Expand description

    Error validating a draw call.

    -

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    MissingBlendConstant

    §

    MissingPipeline

    §

    MissingVertexBuffer

    Fields

    §index: u32
    §

    MissingIndexBuffer

    §

    IncompatibleBindGroup(Box<BinderError>)

    §

    VertexBeyondLimit

    Fields

    §last_vertex: u64
    §vertex_limit: u64
    §slot: u32
    §

    VertexOutOfBounds

    Fields

    §step_mode: VertexStepMode
    §offset: u64
    §limit: u64
    §slot: u32
    §

    InstanceBeyondLimit

    Fields

    §last_instance: u64
    §instance_limit: u64
    §slot: u32
    §

    IndexBeyondLimit

    Fields

    §last_index: u64
    §index_limit: u64
    §

    UnmatchedIndexFormats

    Fields

    §pipeline_format: IndexFormat
    §buffer_format: IndexFormat
    §

    BindingSizeTooSmall(LateMinBufferBindingSizeMismatch)

    Trait Implementations§

    source§

    impl Clone for DrawError

    source§

    fn clone(&self) -> DrawError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for DrawError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for DrawError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for DrawError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<Box<BinderError>> for DrawError

    source§

    fn from(source: Box<BinderError>) -> Self

    Converts to this type from the input type.
    source§

    impl From<DrawError> for RenderPassErrorInner

    source§

    fn from(source: DrawError) -> Self

    Converts to this type from the input type.
    source§

    impl From<LateMinBufferBindingSizeMismatch> for DrawError

    source§

    fn from(source: LateMinBufferBindingSizeMismatch) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    MissingBlendConstant

    §

    MissingPipeline

    §

    MissingVertexBuffer

    Fields

    §index: u32
    §

    MissingIndexBuffer

    §

    IncompatibleBindGroup(Box<BinderError>)

    §

    VertexBeyondLimit

    Fields

    §last_vertex: u64
    §vertex_limit: u64
    §slot: u32
    §

    VertexOutOfBounds

    Fields

    §step_mode: VertexStepMode
    §offset: u64
    §limit: u64
    §slot: u32
    §

    InstanceBeyondLimit

    Fields

    §last_instance: u64
    §instance_limit: u64
    §slot: u32
    §

    IndexBeyondLimit

    Fields

    §last_index: u64
    §index_limit: u64
    §

    UnmatchedIndexFormats

    Fields

    §pipeline_format: IndexFormat
    §buffer_format: IndexFormat
    §

    BindingSizeTooSmall(LateMinBufferBindingSizeMismatch)

    Trait Implementations§

    source§

    impl Clone for DrawError

    source§

    fn clone(&self) -> DrawError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for DrawError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for DrawError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for DrawError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<Box<BinderError>> for DrawError

    source§

    fn from(source: Box<BinderError>) -> Self

    Converts to this type from the input type.
    source§

    impl From<DrawError> for RenderPassErrorInner

    source§

    fn from(source: DrawError) -> Self

    Converts to this type from the input type.
    source§

    impl From<LateMinBufferBindingSizeMismatch> for DrawError

    source§

    fn from(source: LateMinBufferBindingSizeMismatch) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -47,7 +47,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/command/enum.DrawKind.html b/doc/wgpu_core/command/enum.DrawKind.html index 0c0269dd122b..afb6cde9cd65 100644 --- a/doc/wgpu_core/command/enum.DrawKind.html +++ b/doc/wgpu_core/command/enum.DrawKind.html @@ -15,7 +15,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/command/enum.ExecutionError.html b/doc/wgpu_core/command/enum.ExecutionError.html index 5ab02e5afc7b..8b75574403da 100644 --- a/doc/wgpu_core/command/enum.ExecutionError.html +++ b/doc/wgpu_core/command/enum.ExecutionError.html @@ -15,7 +15,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/command/enum.LoadOp.html b/doc/wgpu_core/command/enum.LoadOp.html index 445c6fcaad5f..f33c58fd2946 100644 --- a/doc/wgpu_core/command/enum.LoadOp.html +++ b/doc/wgpu_core/command/enum.LoadOp.html @@ -1,5 +1,5 @@ LoadOp in wgpu_core::command - Rust -
    #[repr(u8)]
    pub enum LoadOp<V> { +
    #[repr(u8)]
    pub enum LoadOp<V> { Clear(V), Load = 1, }
    Expand description

    Operation to perform to the output attachment at the start of a render pass.

    @@ -13,29 +13,29 @@ where the initial value doesn’t matter (e.g. the render target will be cleared using a skybox).

    §

    Load = 1

    Loads the existing value for this attachment into the render pass.

    -

    Implementations§

    source§

    impl<V> LoadOp<V>

    source

    pub fn eq_variant<T>(&self, other: LoadOp<T>) -> bool

    Returns true if variants are same (ignoring clear value)

    -

    Trait Implementations§

    source§

    impl<V> Clone for LoadOp<V>
    where - V: Clone,

    source§

    fn clone(&self) -> LoadOp<V>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<V> Debug for LoadOp<V>
    where - V: Debug,

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<V> Default for LoadOp<V>
    where - V: Default,

    source§

    fn default() -> LoadOp<V>

    Returns the “default value” for a type. Read more
    source§

    impl<'de, V> Deserialize<'de> for LoadOp<V>
    where - V: Deserialize<'de>,

    Implementations§

    §

    impl<V> LoadOp<V>

    pub fn eq_variant<T>(&self, other: LoadOp<T>) -> bool

    Returns true if variants are same (ignoring clear value)

    +

    Trait Implementations§

    §

    impl<V> Clone for LoadOp<V>
    where + V: Clone,

    §

    fn clone(&self) -> LoadOp<V>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<V> Debug for LoadOp<V>
    where + V: Debug,

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<V> Default for LoadOp<V>
    where + V: Default,

    §

    fn default() -> LoadOp<V>

    Returns the “default value” for a type. Read more
    §

    impl<'de, V> Deserialize<'de> for LoadOp<V>
    where + V: Deserialize<'de>,

    §

    fn deserialize<__D>( __deserializer: __D ) -> Result<LoadOp<V>, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<V> Hash for LoadOp<V>
    where - V: Hash,

    source§

    fn hash<__H>(&self, state: &mut __H)
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<V> Hash for LoadOp<V>
    where + V: Hash,

    §

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl<V> PartialEq for LoadOp<V>
    where - V: PartialEq,

    source§

    fn eq(&self, other: &LoadOp<V>) -> bool

    This method tests for self and other values to be equal, and is used + Self: Sized,
    Feeds a slice of this type into the given Hasher. Read more
    §

    impl<V> PartialEq for LoadOp<V>
    where + V: PartialEq,

    §

    fn eq(&self, other: &LoadOp<V>) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl<V> Serialize for LoadOp<V>
    where - V: Serialize,

    source§

    fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

    §

    impl<V> Serialize for LoadOp<V>
    where + V: Serialize,

    §

    fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl<V> Copy for LoadOp<V>
    where - V: Copy,

    source§

    impl<V> Eq for LoadOp<V>
    where - V: Eq,

    source§

    impl<V> StructuralEq for LoadOp<V>

    source§

    impl<V> StructuralPartialEq for LoadOp<V>

    Auto Trait Implementations§

    §

    impl<V> RefUnwindSafe for LoadOp<V>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl<V> Copy for LoadOp<V>
    where + V: Copy,

    §

    impl<V> Eq for LoadOp<V>
    where + V: Eq,

    §

    impl<V> StructuralEq for LoadOp<V>

    §

    impl<V> StructuralPartialEq for LoadOp<V>

    Auto Trait Implementations§

    §

    impl<V> RefUnwindSafe for LoadOp<V>
    where V: RefUnwindSafe,

    §

    impl<V> Send for LoadOp<V>
    where V: Send,

    §

    impl<V> Sync for LoadOp<V>
    where V: Sync,

    §

    impl<V> Unpin for LoadOp<V>
    where @@ -56,7 +56,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/command/enum.PassErrorScope.html b/doc/wgpu_core/command/enum.PassErrorScope.html index 5fc33374fe9d..3fabe5a5b352 100644 --- a/doc/wgpu_core/command/enum.PassErrorScope.html +++ b/doc/wgpu_core/command/enum.PassErrorScope.html @@ -40,7 +40,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/command/enum.QueryError.html b/doc/wgpu_core/command/enum.QueryError.html index 7564b37510db..0fe84f7861e8 100644 --- a/doc/wgpu_core/command/enum.QueryError.html +++ b/doc/wgpu_core/command/enum.QueryError.html @@ -20,7 +20,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/command/enum.QueryUseError.html b/doc/wgpu_core/command/enum.QueryUseError.html index 0b9ec05143e8..513a38fba916 100644 --- a/doc/wgpu_core/command/enum.QueryUseError.html +++ b/doc/wgpu_core/command/enum.QueryUseError.html @@ -30,7 +30,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/command/enum.RenderCommandError.html b/doc/wgpu_core/command/enum.RenderCommandError.html index 88704d6cfd5c..161bed6e25c8 100644 --- a/doc/wgpu_core/command/enum.RenderCommandError.html +++ b/doc/wgpu_core/command/enum.RenderCommandError.html @@ -16,13 +16,13 @@ MissingBufferUsage(MissingBufferUsageError), MissingTextureUsage(MissingTextureUsageError), PushConstants(PushConstantUploadError), - InvalidViewportRect(Rect<f32>, Extent3d), + InvalidViewportRect(Rect<f32>, Extent3d), InvalidViewportDepth(f32, f32), - InvalidScissorRect(Rect<u32>, Extent3d), + InvalidScissorRect(Rect<u32>, Extent3d), Unimplemented(&'static str), }
    Expand description

    Error encountered when encoding a render command. This is the shared error set between render bundles and passes.

    -

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    BindGroupIndexOutOfRange

    Fields

    §index: u32
    §max: u32
    §

    VertexBufferIndexOutOfRange

    Fields

    §index: u32
    §max: u32
    §

    IncompatiblePipelineTargets(RenderPassCompatibilityError)

    §

    IncompatibleDepthAccess(ResourceErrorIdent)

    §

    IncompatibleStencilAccess(ResourceErrorIdent)

    §

    ResourceUsageCompatibility(ResourceUsageCompatibilityError)

    §

    DestroyedResource(DestroyedResourceError)

    §

    MissingBufferUsage(MissingBufferUsageError)

    §

    MissingTextureUsage(MissingTextureUsageError)

    §

    PushConstants(PushConstantUploadError)

    §

    InvalidViewportRect(Rect<f32>, Extent3d)

    §

    InvalidViewportDepth(f32, f32)

    §

    InvalidScissorRect(Rect<u32>, Extent3d)

    §

    Unimplemented(&'static str)

    Trait Implementations§

    source§

    impl Clone for RenderCommandError

    source§

    fn clone(&self) -> RenderCommandError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RenderCommandError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for RenderCommandError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for RenderCommandError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<DestroyedResourceError> for RenderCommandError

    source§

    fn from(source: DestroyedResourceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingBufferUsageError> for RenderCommandError

    source§

    fn from(source: MissingBufferUsageError) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingTextureUsageError> for RenderCommandError

    source§

    fn from(source: MissingTextureUsageError) -> Self

    Converts to this type from the input type.
    source§

    impl From<PushConstantUploadError> for RenderCommandError

    source§

    fn from(source: PushConstantUploadError) -> Self

    Converts to this type from the input type.
    source§

    impl From<RenderCommandError> for RenderPassErrorInner

    source§

    fn from(source: RenderCommandError) -> Self

    Converts to this type from the input type.
    source§

    impl From<RenderPassCompatibilityError> for RenderCommandError

    source§

    fn from(source: RenderPassCompatibilityError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    BindGroupIndexOutOfRange

    Fields

    §index: u32
    §max: u32
    §

    VertexBufferIndexOutOfRange

    Fields

    §index: u32
    §max: u32
    §

    IncompatiblePipelineTargets(RenderPassCompatibilityError)

    §

    IncompatibleDepthAccess(ResourceErrorIdent)

    §

    IncompatibleStencilAccess(ResourceErrorIdent)

    §

    ResourceUsageCompatibility(ResourceUsageCompatibilityError)

    §

    DestroyedResource(DestroyedResourceError)

    §

    MissingBufferUsage(MissingBufferUsageError)

    §

    MissingTextureUsage(MissingTextureUsageError)

    §

    PushConstants(PushConstantUploadError)

    §

    InvalidViewportRect(Rect<f32>, Extent3d)

    §

    InvalidViewportDepth(f32, f32)

    §

    InvalidScissorRect(Rect<u32>, Extent3d)

    §

    Unimplemented(&'static str)

    Trait Implementations§

    source§

    impl Clone for RenderCommandError

    source§

    fn clone(&self) -> RenderCommandError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RenderCommandError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for RenderCommandError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for RenderCommandError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<DestroyedResourceError> for RenderCommandError

    source§

    fn from(source: DestroyedResourceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingBufferUsageError> for RenderCommandError

    source§

    fn from(source: MissingBufferUsageError) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingTextureUsageError> for RenderCommandError

    source§

    fn from(source: MissingTextureUsageError) -> Self

    Converts to this type from the input type.
    source§

    impl From<PushConstantUploadError> for RenderCommandError

    source§

    fn from(source: PushConstantUploadError) -> Self

    Converts to this type from the input type.
    source§

    impl From<RenderCommandError> for RenderPassErrorInner

    source§

    fn from(source: RenderCommandError) -> Self

    Converts to this type from the input type.
    source§

    impl From<RenderPassCompatibilityError> for RenderCommandError

    source§

    fn from(source: RenderPassCompatibilityError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -34,7 +34,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/command/enum.RenderPassErrorInner.html b/doc/wgpu_core/command/enum.RenderPassErrorInner.html index 24dfa3f95273..bf2cf82bddce 100644 --- a/doc/wgpu_core/command/enum.RenderPassErrorInner.html +++ b/doc/wgpu_core/command/enum.RenderPassErrorInner.html @@ -6,7 +6,7 @@ InvalidParentEncoder, UnsupportedResolveTargetFormat { location: AttachmentErrorLocation, - format: TextureFormat, + format: TextureFormat, }, MissingAttachments, TextureViewIsNotRenderable { @@ -15,9 +15,9 @@ }, AttachmentsDimensionMismatch { expected_location: AttachmentErrorLocation, - expected_extent: Extent3d, + expected_extent: Extent3d, actual_location: AttachmentErrorLocation, - actual_extent: Extent3d, + actual_extent: Extent3d, }, AttachmentSampleCountMismatch { expected_location: AttachmentErrorLocation, @@ -32,15 +32,15 @@ }, MismatchedResolveTextureFormat { location: AttachmentErrorLocation, - src: TextureFormat, - dst: TextureFormat, + src: TextureFormat, + dst: TextureFormat, }, InvalidDepthOps, InvalidStencilOps, InvalidValuesOffset, MissingFeatures(MissingFeatures), MissingDownlevelFlags(MissingDownlevelFlags), - UnalignedIndirectBufferOffset(BufferAddress), + UnalignedIndirectBufferOffset(BufferAddress), IndirectBufferOverrun { count: Option<NonZeroU32>, offset: u64, @@ -75,7 +75,7 @@ PassEnded, InvalidResource(InvalidResourceError), }
    Expand description

    Error encountered when performing a render pass.

    -

    Variants§

    §

    Device(DeviceError)

    §

    ColorAttachment(ColorAttachmentError)

    §

    Encoder(CommandEncoderError)

    §

    InvalidParentEncoder

    §

    UnsupportedResolveTargetFormat

    §

    MissingAttachments

    §

    TextureViewIsNotRenderable

    §

    AttachmentsDimensionMismatch

    Fields

    §expected_location: AttachmentErrorLocation
    §expected_extent: Extent3d
    §actual_location: AttachmentErrorLocation
    §actual_extent: Extent3d
    §

    AttachmentSampleCountMismatch

    Fields

    §expected_location: AttachmentErrorLocation
    §expected_samples: u32
    §actual_location: AttachmentErrorLocation
    §actual_samples: u32
    §

    InvalidResolveSampleCounts

    Fields

    §src: u32
    §dst: u32
    §

    MismatchedResolveTextureFormat

    §

    InvalidDepthOps

    §

    InvalidStencilOps

    §

    InvalidValuesOffset

    §

    MissingFeatures(MissingFeatures)

    §

    MissingDownlevelFlags(MissingDownlevelFlags)

    §

    UnalignedIndirectBufferOffset(BufferAddress)

    §

    IndirectBufferOverrun

    Fields

    §offset: u64
    §end_offset: u64
    §buffer_size: u64
    §

    IndirectCountBufferOverrun

    Fields

    §begin_count_offset: u64
    §end_count_offset: u64
    §count_buffer_size: u64
    §

    InvalidPopDebugGroup

    §

    ResourceUsageCompatibility(ResourceUsageCompatibilityError)

    §

    IncompatibleBundleTargets(RenderPassCompatibilityError)

    §

    IncompatibleBundleReadOnlyDepthStencil

    Fields

    §pass_depth: bool
    §pass_stencil: bool
    §bundle_depth: bool
    §bundle_stencil: bool
    §

    RenderCommand(RenderCommandError)

    §

    Draw(DrawError)

    §

    Bind(BindError)

    §

    PushConstantOffsetAlignment

    §

    PushConstantSizeAlignment

    §

    PushConstantOutOfMemory

    §

    QueryUse(QueryUseError)

    §

    MultiViewMismatch

    §

    MultiViewDimensionMismatch

    §

    MissingOcclusionQuerySet

    §

    DestroyedResource(DestroyedResourceError)

    §

    PassEnded

    §

    InvalidResource(InvalidResourceError)

    Trait Implementations§

    source§

    impl Clone for RenderPassErrorInner

    source§

    fn clone(&self) -> RenderPassErrorInner

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RenderPassErrorInner

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for RenderPassErrorInner

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for RenderPassErrorInner

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<BindError> for RenderPassErrorInner

    source§

    fn from(source: BindError) -> Self

    Converts to this type from the input type.
    source§

    impl From<ColorAttachmentError> for RenderPassErrorInner

    source§

    fn from(source: ColorAttachmentError) -> Self

    Converts to this type from the input type.
    source§

    impl From<CommandEncoderError> for RenderPassErrorInner

    source§

    fn from(source: CommandEncoderError) -> Self

    Converts to this type from the input type.
    source§

    impl From<DestroyedResourceError> for RenderPassErrorInner

    source§

    fn from(source: DestroyedResourceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<DeviceError> for RenderPassErrorInner

    source§

    fn from(error: DeviceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<DrawError> for RenderPassErrorInner

    source§

    fn from(source: DrawError) -> Self

    Converts to this type from the input type.
    source§

    impl From<InvalidResourceError> for RenderPassErrorInner

    source§

    fn from(source: InvalidResourceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingBufferUsageError> for RenderPassErrorInner

    source§

    fn from(error: MissingBufferUsageError) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingDownlevelFlags> for RenderPassErrorInner

    source§

    fn from(source: MissingDownlevelFlags) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingFeatures> for RenderPassErrorInner

    source§

    fn from(source: MissingFeatures) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingTextureUsageError> for RenderPassErrorInner

    source§

    fn from(error: MissingTextureUsageError) -> Self

    Converts to this type from the input type.
    source§

    impl From<QueryUseError> for RenderPassErrorInner

    source§

    fn from(source: QueryUseError) -> Self

    Converts to this type from the input type.
    source§

    impl From<RenderCommandError> for RenderPassErrorInner

    source§

    fn from(source: RenderCommandError) -> Self

    Converts to this type from the input type.
    source§

    impl From<RenderPassCompatibilityError> for RenderPassErrorInner

    source§

    fn from(source: RenderPassCompatibilityError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Variants§

    §

    Device(DeviceError)

    §

    ColorAttachment(ColorAttachmentError)

    §

    Encoder(CommandEncoderError)

    §

    InvalidParentEncoder

    §

    UnsupportedResolveTargetFormat

    Fields

    §format: TextureFormat
    §

    MissingAttachments

    §

    TextureViewIsNotRenderable

    §

    AttachmentsDimensionMismatch

    Fields

    §expected_location: AttachmentErrorLocation
    §expected_extent: Extent3d
    §actual_location: AttachmentErrorLocation
    §actual_extent: Extent3d
    §

    AttachmentSampleCountMismatch

    Fields

    §expected_location: AttachmentErrorLocation
    §expected_samples: u32
    §actual_location: AttachmentErrorLocation
    §actual_samples: u32
    §

    InvalidResolveSampleCounts

    Fields

    §src: u32
    §dst: u32
    §

    MismatchedResolveTextureFormat

    Fields

    §src: TextureFormat
    §dst: TextureFormat
    §

    InvalidDepthOps

    §

    InvalidStencilOps

    §

    InvalidValuesOffset

    §

    MissingFeatures(MissingFeatures)

    §

    MissingDownlevelFlags(MissingDownlevelFlags)

    §

    UnalignedIndirectBufferOffset(BufferAddress)

    §

    IndirectBufferOverrun

    Fields

    §offset: u64
    §end_offset: u64
    §buffer_size: u64
    §

    IndirectCountBufferOverrun

    Fields

    §begin_count_offset: u64
    §end_count_offset: u64
    §count_buffer_size: u64
    §

    InvalidPopDebugGroup

    §

    ResourceUsageCompatibility(ResourceUsageCompatibilityError)

    §

    IncompatibleBundleTargets(RenderPassCompatibilityError)

    §

    IncompatibleBundleReadOnlyDepthStencil

    Fields

    §pass_depth: bool
    §pass_stencil: bool
    §bundle_depth: bool
    §bundle_stencil: bool
    §

    RenderCommand(RenderCommandError)

    §

    Draw(DrawError)

    §

    Bind(BindError)

    §

    PushConstantOffsetAlignment

    §

    PushConstantSizeAlignment

    §

    PushConstantOutOfMemory

    §

    QueryUse(QueryUseError)

    §

    MultiViewMismatch

    §

    MultiViewDimensionMismatch

    §

    MissingOcclusionQuerySet

    §

    DestroyedResource(DestroyedResourceError)

    §

    PassEnded

    §

    InvalidResource(InvalidResourceError)

    Trait Implementations§

    source§

    impl Clone for RenderPassErrorInner

    source§

    fn clone(&self) -> RenderPassErrorInner

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RenderPassErrorInner

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for RenderPassErrorInner

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for RenderPassErrorInner

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<BindError> for RenderPassErrorInner

    source§

    fn from(source: BindError) -> Self

    Converts to this type from the input type.
    source§

    impl From<ColorAttachmentError> for RenderPassErrorInner

    source§

    fn from(source: ColorAttachmentError) -> Self

    Converts to this type from the input type.
    source§

    impl From<CommandEncoderError> for RenderPassErrorInner

    source§

    fn from(source: CommandEncoderError) -> Self

    Converts to this type from the input type.
    source§

    impl From<DestroyedResourceError> for RenderPassErrorInner

    source§

    fn from(source: DestroyedResourceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<DeviceError> for RenderPassErrorInner

    source§

    fn from(error: DeviceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<DrawError> for RenderPassErrorInner

    source§

    fn from(source: DrawError) -> Self

    Converts to this type from the input type.
    source§

    impl From<InvalidResourceError> for RenderPassErrorInner

    source§

    fn from(source: InvalidResourceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingBufferUsageError> for RenderPassErrorInner

    source§

    fn from(error: MissingBufferUsageError) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingDownlevelFlags> for RenderPassErrorInner

    source§

    fn from(source: MissingDownlevelFlags) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingFeatures> for RenderPassErrorInner

    source§

    fn from(source: MissingFeatures) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingTextureUsageError> for RenderPassErrorInner

    source§

    fn from(error: MissingTextureUsageError) -> Self

    Converts to this type from the input type.
    source§

    impl From<QueryUseError> for RenderPassErrorInner

    source§

    fn from(source: QueryUseError) -> Self

    Converts to this type from the input type.
    source§

    impl From<RenderCommandError> for RenderPassErrorInner

    source§

    fn from(source: RenderCommandError) -> Self

    Converts to this type from the input type.
    source§

    impl From<RenderPassCompatibilityError> for RenderPassErrorInner

    source§

    fn from(source: RenderPassCompatibilityError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -87,7 +87,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/command/enum.ResolveError.html b/doc/wgpu_core/command/enum.ResolveError.html index 1e592a9b644f..3e0134996ac1 100644 --- a/doc/wgpu_core/command/enum.ResolveError.html +++ b/doc/wgpu_core/command/enum.ResolveError.html @@ -11,12 +11,12 @@ start_query: u32, end_query: u32, stride: u32, - buffer_size: BufferAddress, - buffer_start_offset: BufferAddress, - buffer_end_offset: BufferAddress, + buffer_size: BufferAddress, + buffer_start_offset: BufferAddress, + buffer_end_offset: BufferAddress, }, }
    Expand description

    Error encountered while trying to resolve a query.

    -

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    MissingBufferUsage(MissingBufferUsageError)

    §

    BufferOffsetAlignment

    §

    QueryOverrun

    Fields

    §start_query: u32
    §end_query: u32
    §query_set_size: u32
    §

    BufferOverrun

    Fields

    §start_query: u32
    §end_query: u32
    §stride: u32
    §buffer_size: BufferAddress
    §buffer_start_offset: BufferAddress
    §buffer_end_offset: BufferAddress

    Trait Implementations§

    source§

    impl Clone for ResolveError

    source§

    fn clone(&self) -> ResolveError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ResolveError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for ResolveError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for ResolveError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<MissingBufferUsageError> for ResolveError

    source§

    fn from(source: MissingBufferUsageError) -> Self

    Converts to this type from the input type.
    source§

    impl From<ResolveError> for QueryError

    source§

    fn from(source: ResolveError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    MissingBufferUsage(MissingBufferUsageError)

    §

    BufferOffsetAlignment

    §

    QueryOverrun

    Fields

    §start_query: u32
    §end_query: u32
    §query_set_size: u32
    §

    BufferOverrun

    Fields

    §start_query: u32
    §end_query: u32
    §stride: u32
    §buffer_size: BufferAddress
    §buffer_start_offset: BufferAddress
    §buffer_end_offset: BufferAddress

    Trait Implementations§

    source§

    impl Clone for ResolveError

    source§

    fn clone(&self) -> ResolveError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ResolveError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for ResolveError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for ResolveError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<MissingBufferUsageError> for ResolveError

    source§

    fn from(source: MissingBufferUsageError) -> Self

    Converts to this type from the input type.
    source§

    impl From<ResolveError> for QueryError

    source§

    fn from(source: ResolveError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -28,7 +28,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/command/enum.ResolvedPassChannel.html b/doc/wgpu_core/command/enum.ResolvedPassChannel.html index ec910f088c4f..b7cc2aa95372 100644 --- a/doc/wgpu_core/command/enum.ResolvedPassChannel.html +++ b/doc/wgpu_core/command/enum.ResolvedPassChannel.html @@ -1,8 +1,8 @@ ResolvedPassChannel in wgpu_core::command - Rust
    pub enum ResolvedPassChannel<V> {
         ReadOnly,
    -    Operational(Operations<V>),
    -}

    Variants§

    §

    ReadOnly

    §

    Operational(Operations<V>)

    Trait Implementations§

    source§

    impl<V: Debug> Debug for ResolvedPassChannel<V>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<V> RefUnwindSafe for ResolvedPassChannel<V>
    where + Operational(Operations<V>), +}

    Variants§

    §

    ReadOnly

    §

    Operational(Operations<V>)

    Trait Implementations§

    source§

    impl<V: Debug> Debug for ResolvedPassChannel<V>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<V> RefUnwindSafe for ResolvedPassChannel<V>
    where V: RefUnwindSafe,

    §

    impl<V> Send for ResolvedPassChannel<V>
    where V: Send,

    §

    impl<V> Sync for ResolvedPassChannel<V>
    where V: Sync,

    §

    impl<V> Unpin for ResolvedPassChannel<V>
    where @@ -17,7 +17,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/command/enum.SimplifiedQueryType.html b/doc/wgpu_core/command/enum.SimplifiedQueryType.html index 356a360bbf89..8982dc8761dd 100644 --- a/doc/wgpu_core/command/enum.SimplifiedQueryType.html +++ b/doc/wgpu_core/command/enum.SimplifiedQueryType.html @@ -3,7 +3,7 @@ Occlusion, Timestamp, PipelineStatistics, -}

    Variants§

    §

    Occlusion

    §

    Timestamp

    §

    PipelineStatistics

    Trait Implementations§

    source§

    impl Clone for SimplifiedQueryType

    source§

    fn clone(&self) -> SimplifiedQueryType

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SimplifiedQueryType

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<QueryType> for SimplifiedQueryType

    source§

    fn from(q: QueryType) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq for SimplifiedQueryType

    source§

    fn eq(&self, other: &SimplifiedQueryType) -> bool

    This method tests for self and other values to be equal, and is used +}

    Variants§

    §

    Occlusion

    §

    Timestamp

    §

    PipelineStatistics

    Trait Implementations§

    source§

    impl Clone for SimplifiedQueryType

    source§

    fn clone(&self) -> SimplifiedQueryType

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SimplifiedQueryType

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<QueryType> for SimplifiedQueryType

    source§

    fn from(q: QueryType) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq for SimplifiedQueryType

    source§

    fn eq(&self, other: &SimplifiedQueryType) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Copy for SimplifiedQueryType

    source§

    impl Eq for SimplifiedQueryType

    source§

    impl StructuralEq for SimplifiedQueryType

    source§

    impl StructuralPartialEq for SimplifiedQueryType

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where @@ -20,7 +20,7 @@

    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/command/enum.StoreOp.html b/doc/wgpu_core/command/enum.StoreOp.html index 84f9fcbfde6f..765cac1711cb 100644 --- a/doc/wgpu_core/command/enum.StoreOp.html +++ b/doc/wgpu_core/command/enum.StoreOp.html @@ -1,5 +1,5 @@ StoreOp in wgpu_core::command - Rust -
    #[repr(C)]
    pub enum StoreOp { +
    #[repr(C)]
    pub enum StoreOp { Store = 0, Discard = 1, }
    Expand description

    Operation to perform to the output attachment at the end of a render pass.

    @@ -11,19 +11,19 @@ the respective other texture-aspect will be preserved.)

    This can be significantly faster on tile-based render hardware.

    Prefer this if the attachment is not read by subsequent passes.

    -

    Trait Implementations§

    source§

    impl Clone for StoreOp

    source§

    fn clone(&self) -> StoreOp

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for StoreOp

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for StoreOp

    source§

    fn default() -> StoreOp

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for StoreOp

    Trait Implementations§

    §

    impl Clone for StoreOp

    §

    fn clone(&self) -> StoreOp

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for StoreOp

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for StoreOp

    §

    fn default() -> StoreOp

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for StoreOp

    §

    fn deserialize<__D>( __deserializer: __D ) -> Result<StoreOp, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Hash for StoreOp

    source§

    fn hash<__H>(&self, state: &mut __H)
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Hash for StoreOp

    §

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for StoreOp

    source§

    fn eq(&self, other: &StoreOp) -> bool

    This method tests for self and other values to be equal, and is used + Self: Sized,
    Feeds a slice of this type into the given Hasher. Read more
    §

    impl PartialEq for StoreOp

    §

    fn eq(&self, other: &StoreOp) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for StoreOp

    source§

    fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

    §

    impl Serialize for StoreOp

    §

    fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for StoreOp

    source§

    impl Eq for StoreOp

    source§

    impl StructuralEq for StoreOp

    source§

    impl StructuralPartialEq for StoreOp

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Copy for StoreOp

    §

    impl Eq for StoreOp

    §

    impl StructuralEq for StoreOp

    §

    impl StructuralPartialEq for StoreOp

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    §

    impl<Q, K> Equivalent<K> for Q
    where @@ -39,7 +39,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/command/enum.TransferError.html b/doc/wgpu_core/command/enum.TransferError.html index d80d397a233f..6d36475eec32 100644 --- a/doc/wgpu_core/command/enum.TransferError.html +++ b/doc/wgpu_core/command/enum.TransferError.html @@ -4,9 +4,9 @@ MissingBufferUsage(MissingBufferUsageError), MissingTextureUsage(MissingTextureUsageError), BufferOverrun { - start_offset: BufferAddress, - end_offset: BufferAddress, - buffer_size: BufferAddress, + start_offset: BufferAddress, + end_offset: BufferAddress, + buffer_size: BufferAddress, side: CopySide, }, TextureOverrun { @@ -17,16 +17,16 @@ side: CopySide, }, InvalidTextureAspect { - format: TextureFormat, - aspect: TextureAspect, + format: TextureFormat, + aspect: TextureAspect, }, InvalidTextureMipLevel { level: u32, total: u32, }, InvalidDimensionExternal, - UnalignedBufferOffset(BufferAddress), - UnalignedCopySize(BufferAddress), + UnalignedBufferOffset(BufferAddress), + UnalignedCopySize(BufferAddress), UnalignedCopyWidth, UnalignedCopyHeight, UnalignedCopyOriginX, @@ -40,17 +40,17 @@ CopyDstMissingAspects, CopyAspectNotOne, CopyFromForbiddenTextureFormat { - format: TextureFormat, - aspect: TextureAspect, + format: TextureFormat, + aspect: TextureAspect, }, CopyToForbiddenTextureFormat { - format: TextureFormat, - aspect: TextureAspect, + format: TextureFormat, + aspect: TextureAspect, }, - ExternalCopyToForbiddenTextureFormat(TextureFormat), + ExternalCopyToForbiddenTextureFormat(TextureFormat), TextureFormatsNotCopyCompatible { - src_format: TextureFormat, - dst_format: TextureFormat, + src_format: TextureFormat, + dst_format: TextureFormat, }, MemoryInitFailure(ClearError), MissingDownlevelFlags(MissingDownlevelFlags), @@ -62,7 +62,7 @@ count: u32, }, }
    Expand description

    Error encountered while attempting a data transfer.

    -

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    SameSourceDestinationBuffer

    §

    MissingBufferUsage(MissingBufferUsageError)

    §

    MissingTextureUsage(MissingTextureUsageError)

    §

    BufferOverrun

    Fields

    §start_offset: BufferAddress
    §end_offset: BufferAddress
    §buffer_size: BufferAddress
    §

    TextureOverrun

    Fields

    §start_offset: u32
    §end_offset: u32
    §texture_size: u32
    §

    InvalidTextureAspect

    Fields

    §

    InvalidTextureMipLevel

    Fields

    §level: u32
    §total: u32
    §

    InvalidDimensionExternal

    §

    UnalignedBufferOffset(BufferAddress)

    §

    UnalignedCopySize(BufferAddress)

    §

    UnalignedCopyWidth

    §

    UnalignedCopyHeight

    §

    UnalignedCopyOriginX

    §

    UnalignedCopyOriginY

    §

    UnalignedBytesPerRow

    §

    UnspecifiedBytesPerRow

    §

    UnspecifiedRowsPerImage

    §

    InvalidBytesPerRow

    §

    InvalidRowsPerImage

    §

    CopySrcMissingAspects

    §

    CopyDstMissingAspects

    §

    CopyAspectNotOne

    §

    CopyFromForbiddenTextureFormat

    Fields

    §

    CopyToForbiddenTextureFormat

    Fields

    §

    ExternalCopyToForbiddenTextureFormat(TextureFormat)

    §

    TextureFormatsNotCopyCompatible

    Fields

    §src_format: TextureFormat
    §dst_format: TextureFormat
    §

    MemoryInitFailure(ClearError)

    §

    MissingDownlevelFlags(MissingDownlevelFlags)

    §

    InvalidSampleCount

    Fields

    §sample_count: u32
    §

    InvalidMipLevel

    Fields

    §requested: u32
    §count: u32

    Trait Implementations§

    source§

    impl Clone for TransferError

    source§

    fn clone(&self) -> TransferError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TransferError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for TransferError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for TransferError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<ClearError> for TransferError

    source§

    fn from(source: ClearError) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingBufferUsageError> for TransferError

    source§

    fn from(source: MissingBufferUsageError) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingDownlevelFlags> for TransferError

    source§

    fn from(source: MissingDownlevelFlags) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingTextureUsageError> for TransferError

    source§

    fn from(source: MissingTextureUsageError) -> Self

    Converts to this type from the input type.
    source§

    impl From<TransferError> for CopyError

    source§

    fn from(source: TransferError) -> Self

    Converts to this type from the input type.
    source§

    impl From<TransferError> for QueueWriteError

    source§

    fn from(source: TransferError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    SameSourceDestinationBuffer

    §

    MissingBufferUsage(MissingBufferUsageError)

    §

    MissingTextureUsage(MissingTextureUsageError)

    §

    BufferOverrun

    Fields

    §start_offset: BufferAddress
    §end_offset: BufferAddress
    §buffer_size: BufferAddress
    §

    TextureOverrun

    Fields

    §start_offset: u32
    §end_offset: u32
    §texture_size: u32
    §

    InvalidTextureAspect

    Fields

    §format: TextureFormat
    §aspect: TextureAspect
    §

    InvalidTextureMipLevel

    Fields

    §level: u32
    §total: u32
    §

    InvalidDimensionExternal

    §

    UnalignedBufferOffset(BufferAddress)

    §

    UnalignedCopySize(BufferAddress)

    §

    UnalignedCopyWidth

    §

    UnalignedCopyHeight

    §

    UnalignedCopyOriginX

    §

    UnalignedCopyOriginY

    §

    UnalignedBytesPerRow

    §

    UnspecifiedBytesPerRow

    §

    UnspecifiedRowsPerImage

    §

    InvalidBytesPerRow

    §

    InvalidRowsPerImage

    §

    CopySrcMissingAspects

    §

    CopyDstMissingAspects

    §

    CopyAspectNotOne

    §

    CopyFromForbiddenTextureFormat

    Fields

    §format: TextureFormat
    §aspect: TextureAspect
    §

    CopyToForbiddenTextureFormat

    Fields

    §format: TextureFormat
    §aspect: TextureAspect
    §

    ExternalCopyToForbiddenTextureFormat(TextureFormat)

    §

    TextureFormatsNotCopyCompatible

    Fields

    §src_format: TextureFormat
    §dst_format: TextureFormat
    §

    MemoryInitFailure(ClearError)

    §

    MissingDownlevelFlags(MissingDownlevelFlags)

    §

    InvalidSampleCount

    Fields

    §sample_count: u32
    §

    InvalidMipLevel

    Fields

    §requested: u32
    §count: u32

    Trait Implementations§

    source§

    impl Clone for TransferError

    source§

    fn clone(&self) -> TransferError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TransferError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for TransferError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for TransferError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<ClearError> for TransferError

    source§

    fn from(source: ClearError) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingBufferUsageError> for TransferError

    source§

    fn from(source: MissingBufferUsageError) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingDownlevelFlags> for TransferError

    source§

    fn from(source: MissingDownlevelFlags) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingTextureUsageError> for TransferError

    source§

    fn from(source: MissingTextureUsageError) -> Self

    Converts to this type from the input type.
    source§

    impl From<TransferError> for CopyError

    source§

    fn from(source: TransferError) -> Self

    Converts to this type from the input type.
    source§

    impl From<TransferError> for QueueWriteError

    source§

    fn from(source: TransferError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -74,7 +74,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/command/struct.ArcRenderPassDepthStencilAttachment.html b/doc/wgpu_core/command/struct.ArcRenderPassDepthStencilAttachment.html index 51ded3635bea..13ce62f62c08 100644 --- a/doc/wgpu_core/command/struct.ArcRenderPassDepthStencilAttachment.html +++ b/doc/wgpu_core/command/struct.ArcRenderPassDepthStencilAttachment.html @@ -17,7 +17,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/command/struct.CommandBuffer.html b/doc/wgpu_core/command/struct.CommandBuffer.html index b40c2d7d6b1b..ed5e624bdecd 100644 --- a/doc/wgpu_core/command/struct.CommandBuffer.html +++ b/doc/wgpu_core/command/struct.CommandBuffer.html @@ -33,7 +33,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/command/struct.CommandBufferMutable.html b/doc/wgpu_core/command/struct.CommandBufferMutable.html index 6549c5189057..da1f235b8ad5 100644 --- a/doc/wgpu_core/command/struct.CommandBufferMutable.html +++ b/doc/wgpu_core/command/struct.CommandBufferMutable.html @@ -10,7 +10,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/command/struct.ComputePass.html b/doc/wgpu_core/command/struct.ComputePass.html index 08338928d790..fca40ffc3653 100644 --- a/doc/wgpu_core/command/struct.ComputePass.html +++ b/doc/wgpu_core/command/struct.ComputePass.html @@ -9,7 +9,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/command/struct.ComputePassDescriptor.html b/doc/wgpu_core/command/struct.ComputePassDescriptor.html index cac80ac232bc..6ef0c071a718 100644 --- a/doc/wgpu_core/command/struct.ComputePassDescriptor.html +++ b/doc/wgpu_core/command/struct.ComputePassDescriptor.html @@ -14,7 +14,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/command/struct.ComputePassError.html b/doc/wgpu_core/command/struct.ComputePassError.html index b3d7dd1edd2b..2b3b7933dab2 100644 --- a/doc/wgpu_core/command/struct.ComputePassError.html +++ b/doc/wgpu_core/command/struct.ComputePassError.html @@ -15,7 +15,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/command/struct.PassChannel.html b/doc/wgpu_core/command/struct.PassChannel.html index 2603828b47bb..44f8034e5670 100644 --- a/doc/wgpu_core/command/struct.PassChannel.html +++ b/doc/wgpu_core/command/struct.PassChannel.html @@ -39,7 +39,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/command/struct.PassTimestampWrites.html b/doc/wgpu_core/command/struct.PassTimestampWrites.html index 2af81b2d078f..5e409a2349f2 100644 --- a/doc/wgpu_core/command/struct.PassTimestampWrites.html +++ b/doc/wgpu_core/command/struct.PassTimestampWrites.html @@ -27,7 +27,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/command/struct.Rect.html b/doc/wgpu_core/command/struct.Rect.html index 2691c20c712c..93d44ba5b8a3 100644 --- a/doc/wgpu_core/command/struct.Rect.html +++ b/doc/wgpu_core/command/struct.Rect.html @@ -25,7 +25,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/command/struct.RenderBundle.html b/doc/wgpu_core/command/struct.RenderBundle.html index dcd890a5f2ff..92c5e885881a 100644 --- a/doc/wgpu_core/command/struct.RenderBundle.html +++ b/doc/wgpu_core/command/struct.RenderBundle.html @@ -9,7 +9,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/command/struct.RenderBundleEncoder.html b/doc/wgpu_core/command/struct.RenderBundleEncoder.html index 6964d81faa94..60a19c02eb42 100644 --- a/doc/wgpu_core/command/struct.RenderBundleEncoder.html +++ b/doc/wgpu_core/command/struct.RenderBundleEncoder.html @@ -6,9 +6,9 @@ ) -> Result<Self, CreateRenderBundleError>
    source

    pub fn dummy(parent_id: DeviceId) -> Self

    source

    pub fn parent(&self) -> DeviceId

    source

    pub fn set_index_buffer( &mut self, buffer_id: BufferId, - index_format: IndexFormat, - offset: BufferAddress, - size: Option<BufferSize> + index_format: IndexFormat, + offset: BufferAddress, + size: Option<BufferSize> )

    Trait Implementations§

    source§

    impl Debug for RenderBundleEncoder

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for RenderBundleEncoder

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Serialize for RenderBundleEncoder

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where @@ -22,7 +22,7 @@

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/command/struct.RenderBundleEncoderDescriptor.html b/doc/wgpu_core/command/struct.RenderBundleEncoderDescriptor.html index 8531392a01d4..600b3433e539 100644 --- a/doc/wgpu_core/command/struct.RenderBundleEncoderDescriptor.html +++ b/doc/wgpu_core/command/struct.RenderBundleEncoderDescriptor.html @@ -1,18 +1,18 @@ RenderBundleEncoderDescriptor in wgpu_core::command - Rust
    pub struct RenderBundleEncoderDescriptor<'a> {
         pub label: Label<'a>,
    -    pub color_formats: Cow<'a, [Option<TextureFormat>]>,
    -    pub depth_stencil: Option<RenderBundleDepthStencil>,
    +    pub color_formats: Cow<'a, [Option<TextureFormat>]>,
    +    pub depth_stencil: Option<RenderBundleDepthStencil>,
         pub sample_count: u32,
         pub multiview: Option<NonZeroU32>,
     }
    Expand description

    Describes a RenderBundleEncoder.

    Fields§

    §label: Label<'a>

    Debug label of the render bundle encoder.

    This will show up in graphics debuggers for easy identification.

    -
    §color_formats: Cow<'a, [Option<TextureFormat>]>

    The formats of the color attachments that this render bundle is capable +

    §color_formats: Cow<'a, [Option<TextureFormat>]>

    The formats of the color attachments that this render bundle is capable to rendering to.

    This must match the formats of the color attachments in the renderpass this render bundle is executed in.

    -
    §depth_stencil: Option<RenderBundleDepthStencil>

    Information about the depth attachment that this render bundle is +

    §depth_stencil: Option<RenderBundleDepthStencil>

    Information about the depth attachment that this render bundle is capable to rendering to.

    The format must match the format of the depth attachments in the renderpass this render bundle is executed in.

    @@ -42,7 +42,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/command/struct.RenderBundleError.html b/doc/wgpu_core/command/struct.RenderBundleError.html index 40a6c7905fd4..cb80234a4d0c 100644 --- a/doc/wgpu_core/command/struct.RenderBundleError.html +++ b/doc/wgpu_core/command/struct.RenderBundleError.html @@ -15,7 +15,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/command/struct.RenderPass.html b/doc/wgpu_core/command/struct.RenderPass.html index 28d5649dfa48..907db79531a9 100644 --- a/doc/wgpu_core/command/struct.RenderPass.html +++ b/doc/wgpu_core/command/struct.RenderPass.html @@ -9,7 +9,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/command/struct.RenderPassColorAttachment.html b/doc/wgpu_core/command/struct.RenderPassColorAttachment.html index 1345bbf3d1c3..dff784bd77bb 100644 --- a/doc/wgpu_core/command/struct.RenderPassColorAttachment.html +++ b/doc/wgpu_core/command/struct.RenderPassColorAttachment.html @@ -2,12 +2,12 @@
    #[repr(C)]
    pub struct RenderPassColorAttachment { pub view: TextureViewId, pub resolve_target: Option<TextureViewId>, - pub load_op: LoadOp<Color>, + pub load_op: LoadOp<Color>, pub store_op: StoreOp, }
    Expand description

    Describes a color attachment to a render pass.

    Fields§

    §view: TextureViewId

    The view to use as an attachment.

    §resolve_target: Option<TextureViewId>

    The view that will receive the resolved output if multisampling is used.

    -
    §load_op: LoadOp<Color>

    Operation to perform to the output attachment at the start of a +

    §load_op: LoadOp<Color>

    Operation to perform to the output attachment at the start of a renderpass.

    This must be clear if it is the first renderpass rendering to a swap chain image.

    @@ -28,7 +28,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/command/struct.RenderPassDepthStencilAttachment.html b/doc/wgpu_core/command/struct.RenderPassDepthStencilAttachment.html index 849797b68ab8..20d74dfde1c4 100644 --- a/doc/wgpu_core/command/struct.RenderPassDepthStencilAttachment.html +++ b/doc/wgpu_core/command/struct.RenderPassDepthStencilAttachment.html @@ -23,7 +23,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/command/struct.RenderPassDescriptor.html b/doc/wgpu_core/command/struct.RenderPassDescriptor.html index 68c5004009af..dcb3ea9649fb 100644 --- a/doc/wgpu_core/command/struct.RenderPassDescriptor.html +++ b/doc/wgpu_core/command/struct.RenderPassDescriptor.html @@ -23,7 +23,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/command/struct.RenderPassError.html b/doc/wgpu_core/command/struct.RenderPassError.html index d3b5d8a4b2af..b17a923ef20f 100644 --- a/doc/wgpu_core/command/struct.RenderPassError.html +++ b/doc/wgpu_core/command/struct.RenderPassError.html @@ -15,7 +15,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/command/type.CopyExternalImageDestInfo.html b/doc/wgpu_core/command/type.CopyExternalImageDestInfo.html index f48601b0038d..22d05b9c962a 100644 --- a/doc/wgpu_core/command/type.CopyExternalImageDestInfo.html +++ b/doc/wgpu_core/command/type.CopyExternalImageDestInfo.html @@ -1,15 +1,15 @@ CopyExternalImageDestInfo in wgpu_core::command - Rust -
    pub type CopyExternalImageDestInfo = CopyExternalImageDestInfo<TextureId>;

    Aliased Type§

    struct CopyExternalImageDestInfo {
    +    
    pub type CopyExternalImageDestInfo = CopyExternalImageDestInfo<TextureId>;

    Aliased Type§

    struct CopyExternalImageDestInfo {
         pub texture: Id<Texture>,
         pub mip_level: u32,
    -    pub origin: Origin3d,
    -    pub aspect: TextureAspect,
    -    pub color_space: PredefinedColorSpace,
    +    pub origin: Origin3d,
    +    pub aspect: TextureAspect,
    +    pub color_space: PredefinedColorSpace,
         pub premultiplied_alpha: bool,
     }

    Fields§

    §texture: Id<Texture>

    The texture to be copied to/from.

    §mip_level: u32

    The target mip level of the texture.

    -
    §origin: Origin3d

    The base texel of the texture in the selected mip_level.

    -
    §aspect: TextureAspect

    The copy aspect.

    -
    §color_space: PredefinedColorSpace

    The color space of this texture.

    +
    §origin: Origin3d

    The base texel of the texture in the selected mip_level.

    +
    §aspect: TextureAspect

    The copy aspect.

    +
    §color_space: PredefinedColorSpace

    The color space of this texture.

    §premultiplied_alpha: bool

    The premultiplication of this texture

    \ No newline at end of file diff --git a/doc/wgpu_core/command/type.ImageCopyBuffer.html b/doc/wgpu_core/command/type.ImageCopyBuffer.html index f5f0dee5a9ad..6a0de4fd31de 100644 --- a/doc/wgpu_core/command/type.ImageCopyBuffer.html +++ b/doc/wgpu_core/command/type.ImageCopyBuffer.html @@ -1,7 +1,7 @@ ImageCopyBuffer in wgpu_core::command - Rust -
    pub type ImageCopyBuffer = TexelCopyBufferInfo<BufferId>;
    👎Deprecated since 24.0.0: This has been renamed to TexelCopyBufferInfo, and will be removed in 25.0.0.

    Aliased Type§

    struct ImageCopyBuffer {
    +    
    pub type ImageCopyBuffer = TexelCopyBufferInfo<BufferId>;
    👎Deprecated since 24.0.0: This has been renamed to TexelCopyBufferInfo, and will be removed in 25.0.0.

    Aliased Type§

    struct ImageCopyBuffer {
         pub buffer: Id<Buffer>,
    -    pub layout: TexelCopyBufferLayout,
    +    pub layout: TexelCopyBufferLayout,
     }

    Fields§

    §buffer: Id<Buffer>

    The buffer to be copied to/from.

    -
    §layout: TexelCopyBufferLayout

    The layout of the texture data in this buffer.

    +
    §layout: TexelCopyBufferLayout

    The layout of the texture data in this buffer.

    \ No newline at end of file diff --git a/doc/wgpu_core/command/type.ImageCopyTexture.html b/doc/wgpu_core/command/type.ImageCopyTexture.html index 36b6b2028ed1..0ea10effe730 100644 --- a/doc/wgpu_core/command/type.ImageCopyTexture.html +++ b/doc/wgpu_core/command/type.ImageCopyTexture.html @@ -1,13 +1,13 @@ ImageCopyTexture in wgpu_core::command - Rust -
    pub type ImageCopyTexture = TexelCopyTextureInfo<TextureId>;
    👎Deprecated since 24.0.0: This has been renamed to TexelCopyTextureInfo, and will be removed in 25.0.0.

    Aliased Type§

    struct ImageCopyTexture {
    +    
    pub type ImageCopyTexture = TexelCopyTextureInfo<TextureId>;
    👎Deprecated since 24.0.0: This has been renamed to TexelCopyTextureInfo, and will be removed in 25.0.0.

    Aliased Type§

    struct ImageCopyTexture {
         pub texture: Id<Texture>,
         pub mip_level: u32,
    -    pub origin: Origin3d,
    -    pub aspect: TextureAspect,
    +    pub origin: Origin3d,
    +    pub aspect: TextureAspect,
     }

    Fields§

    §texture: Id<Texture>

    The texture to be copied to/from.

    §mip_level: u32

    The target mip level of the texture.

    -
    §origin: Origin3d

    The base texel of the texture in the selected mip_level. Together +

    §origin: Origin3d

    The base texel of the texture in the selected mip_level. Together with the copy_size argument to copy functions, defines the sub-region of the texture to copy.

    -
    §aspect: TextureAspect

    The copy aspect.

    +
    §aspect: TextureAspect

    The copy aspect.

    \ No newline at end of file diff --git a/doc/wgpu_core/command/type.ImageCopyTextureTagged.html b/doc/wgpu_core/command/type.ImageCopyTextureTagged.html index 4b2fd732136d..67083aee1bd5 100644 --- a/doc/wgpu_core/command/type.ImageCopyTextureTagged.html +++ b/doc/wgpu_core/command/type.ImageCopyTextureTagged.html @@ -1,15 +1,15 @@ ImageCopyTextureTagged in wgpu_core::command - Rust -
    pub type ImageCopyTextureTagged = CopyExternalImageDestInfo<TextureId>;
    👎Deprecated since 24.0.0: This has been renamed to TexelCopyTextureSourceInfo, and will be removed in 25.0.0.

    Aliased Type§

    struct ImageCopyTextureTagged {
    +    
    pub type ImageCopyTextureTagged = CopyExternalImageDestInfo<TextureId>;
    👎Deprecated since 24.0.0: This has been renamed to TexelCopyTextureSourceInfo, and will be removed in 25.0.0.

    Aliased Type§

    struct ImageCopyTextureTagged {
         pub texture: Id<Texture>,
         pub mip_level: u32,
    -    pub origin: Origin3d,
    -    pub aspect: TextureAspect,
    -    pub color_space: PredefinedColorSpace,
    +    pub origin: Origin3d,
    +    pub aspect: TextureAspect,
    +    pub color_space: PredefinedColorSpace,
         pub premultiplied_alpha: bool,
     }

    Fields§

    §texture: Id<Texture>

    The texture to be copied to/from.

    §mip_level: u32

    The target mip level of the texture.

    -
    §origin: Origin3d

    The base texel of the texture in the selected mip_level.

    -
    §aspect: TextureAspect

    The copy aspect.

    -
    §color_space: PredefinedColorSpace

    The color space of this texture.

    +
    §origin: Origin3d

    The base texel of the texture in the selected mip_level.

    +
    §aspect: TextureAspect

    The copy aspect.

    +
    §color_space: PredefinedColorSpace

    The color space of this texture.

    §premultiplied_alpha: bool

    The premultiplication of this texture

    \ No newline at end of file diff --git a/doc/wgpu_core/command/type.RenderBundleDescriptor.html b/doc/wgpu_core/command/type.RenderBundleDescriptor.html index 404a6c5d11dd..ad27f1b61a62 100644 --- a/doc/wgpu_core/command/type.RenderBundleDescriptor.html +++ b/doc/wgpu_core/command/type.RenderBundleDescriptor.html @@ -1,5 +1,5 @@ RenderBundleDescriptor in wgpu_core::command - Rust -
    pub type RenderBundleDescriptor<'a> = RenderBundleDescriptor<Label<'a>>;

    Aliased Type§

    struct RenderBundleDescriptor<'a> {
    +    
    pub type RenderBundleDescriptor<'a> = RenderBundleDescriptor<Label<'a>>;

    Aliased Type§

    struct RenderBundleDescriptor<'a> {
         pub label: Option<Cow<'a, str>>,
     }

    Fields§

    §label: Option<Cow<'a, str>>

    Debug label of the render bundle encoder. This will show up in graphics debuggers for easy identification.

    \ No newline at end of file diff --git a/doc/wgpu_core/command/type.TexelCopyBufferInfo.html b/doc/wgpu_core/command/type.TexelCopyBufferInfo.html index 23b495f760fd..075379fc9858 100644 --- a/doc/wgpu_core/command/type.TexelCopyBufferInfo.html +++ b/doc/wgpu_core/command/type.TexelCopyBufferInfo.html @@ -1,7 +1,7 @@ TexelCopyBufferInfo in wgpu_core::command - Rust -
    pub type TexelCopyBufferInfo = TexelCopyBufferInfo<BufferId>;

    Aliased Type§

    struct TexelCopyBufferInfo {
    +    
    pub type TexelCopyBufferInfo = TexelCopyBufferInfo<BufferId>;

    Aliased Type§

    struct TexelCopyBufferInfo {
         pub buffer: Id<Buffer>,
    -    pub layout: TexelCopyBufferLayout,
    +    pub layout: TexelCopyBufferLayout,
     }

    Fields§

    §buffer: Id<Buffer>

    The buffer to be copied to/from.

    -
    §layout: TexelCopyBufferLayout

    The layout of the texture data in this buffer.

    +
    §layout: TexelCopyBufferLayout

    The layout of the texture data in this buffer.

    \ No newline at end of file diff --git a/doc/wgpu_core/command/type.TexelCopyTextureInfo.html b/doc/wgpu_core/command/type.TexelCopyTextureInfo.html index c15daeff5cc0..93906caa7fda 100644 --- a/doc/wgpu_core/command/type.TexelCopyTextureInfo.html +++ b/doc/wgpu_core/command/type.TexelCopyTextureInfo.html @@ -1,13 +1,13 @@ TexelCopyTextureInfo in wgpu_core::command - Rust -
    pub type TexelCopyTextureInfo = TexelCopyTextureInfo<TextureId>;

    Aliased Type§

    struct TexelCopyTextureInfo {
    +    
    pub type TexelCopyTextureInfo = TexelCopyTextureInfo<TextureId>;

    Aliased Type§

    struct TexelCopyTextureInfo {
         pub texture: Id<Texture>,
         pub mip_level: u32,
    -    pub origin: Origin3d,
    -    pub aspect: TextureAspect,
    +    pub origin: Origin3d,
    +    pub aspect: TextureAspect,
     }

    Fields§

    §texture: Id<Texture>

    The texture to be copied to/from.

    §mip_level: u32

    The target mip level of the texture.

    -
    §origin: Origin3d

    The base texel of the texture in the selected mip_level. Together +

    §origin: Origin3d

    The base texel of the texture in the selected mip_level. Together with the copy_size argument to copy functions, defines the sub-region of the texture to copy.

    -
    §aspect: TextureAspect

    The copy aspect.

    +
    §aspect: TextureAspect

    The copy aspect.

    \ No newline at end of file diff --git a/doc/wgpu_core/device/enum.DeviceError.html b/doc/wgpu_core/device/enum.DeviceError.html index 2ce46a910bc1..55425bb17dda 100644 --- a/doc/wgpu_core/device/enum.DeviceError.html +++ b/doc/wgpu_core/device/enum.DeviceError.html @@ -22,7 +22,7 @@ T: Display + ?Sized,
    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/device/enum.HostMap.html b/doc/wgpu_core/device/enum.HostMap.html index 752a2aea5463..f07e4c780427 100644 --- a/doc/wgpu_core/device/enum.HostMap.html +++ b/doc/wgpu_core/device/enum.HostMap.html @@ -22,7 +22,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/device/enum.RenderPassCompatibilityError.html b/doc/wgpu_core/device/enum.RenderPassCompatibilityError.html index 39d4297a0f62..5f6d80ea37c9 100644 --- a/doc/wgpu_core/device/enum.RenderPassCompatibilityError.html +++ b/doc/wgpu_core/device/enum.RenderPassCompatibilityError.html @@ -2,13 +2,13 @@
    #[non_exhaustive]
    pub enum RenderPassCompatibilityError { IncompatibleColorAttachment { indices: Vec<usize>, - expected: Vec<Option<TextureFormat>>, - actual: Vec<Option<TextureFormat>>, + expected: Vec<Option<TextureFormat>>, + actual: Vec<Option<TextureFormat>>, res: ResourceErrorIdent, }, IncompatibleDepthStencilAttachment { - expected: Option<TextureFormat>, - actual: Option<TextureFormat>, + expected: Option<TextureFormat>, + actual: Option<TextureFormat>, res: ResourceErrorIdent, }, IncompatibleSampleCount { @@ -21,7 +21,7 @@ actual: Option<NonZeroU32>, res: ResourceErrorIdent, }, -}

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    IncompatibleColorAttachment

    §

    IncompatibleDepthStencilAttachment

    §

    IncompatibleSampleCount

    Fields

    §expected: u32
    §actual: u32
    §

    IncompatibleMultiview

    Trait Implementations§

    source§

    impl Clone for RenderPassCompatibilityError

    source§

    fn clone(&self) -> RenderPassCompatibilityError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RenderPassCompatibilityError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for RenderPassCompatibilityError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for RenderPassCompatibilityError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<RenderPassCompatibilityError> for RenderCommandError

    source§

    fn from(source: RenderPassCompatibilityError) -> Self

    Converts to this type from the input type.
    source§

    impl From<RenderPassCompatibilityError> for RenderPassErrorInner

    source§

    fn from(source: RenderPassCompatibilityError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +}

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    IncompatibleColorAttachment

    Fields

    §indices: Vec<usize>
    §expected: Vec<Option<TextureFormat>>
    §actual: Vec<Option<TextureFormat>>
    §

    IncompatibleDepthStencilAttachment

    Fields

    §expected: Option<TextureFormat>
    §actual: Option<TextureFormat>
    §

    IncompatibleSampleCount

    Fields

    §expected: u32
    §actual: u32
    §

    IncompatibleMultiview

    Trait Implementations§

    source§

    impl Clone for RenderPassCompatibilityError

    source§

    fn clone(&self) -> RenderPassCompatibilityError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RenderPassCompatibilityError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for RenderPassCompatibilityError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for RenderPassCompatibilityError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<RenderPassCompatibilityError> for RenderCommandError

    source§

    fn from(source: RenderPassCompatibilityError) -> Self

    Converts to this type from the input type.
    source§

    impl From<RenderPassCompatibilityError> for RenderPassErrorInner

    source§

    fn from(source: RenderPassCompatibilityError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -33,7 +33,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/device/enum.WaitIdleError.html b/doc/wgpu_core/device/enum.WaitIdleError.html index 675da8c328b1..bee0a2a2e56c 100644 --- a/doc/wgpu_core/device/enum.WaitIdleError.html +++ b/doc/wgpu_core/device/enum.WaitIdleError.html @@ -14,7 +14,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/device/fn.create_validator.html b/doc/wgpu_core/device/fn.create_validator.html index c56d5587a8d0..4a519f4191d7 100644 --- a/doc/wgpu_core/device/fn.create_validator.html +++ b/doc/wgpu_core/device/fn.create_validator.html @@ -1,7 +1,7 @@ create_validator in wgpu_core::device - Rust
    pub fn create_validator(
    -    features: Features,
    -    downlevel: DownlevelFlags,
    +    features: Features,
    +    downlevel: DownlevelFlags,
         flags: ValidationFlags
     ) -> Validator
    Expand description

    Create a validator with the given validation flags.

    \ No newline at end of file diff --git a/doc/wgpu_core/device/queue/enum.QueueSubmitError.html b/doc/wgpu_core/device/queue/enum.QueueSubmitError.html index e1d71011c7df..10599f0a3cfb 100644 --- a/doc/wgpu_core/device/queue/enum.QueueSubmitError.html +++ b/doc/wgpu_core/device/queue/enum.QueueSubmitError.html @@ -20,7 +20,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/device/queue/enum.QueueWriteError.html b/doc/wgpu_core/device/queue/enum.QueueWriteError.html index 7d2078d51389..89d9716f5cf7 100644 --- a/doc/wgpu_core/device/queue/enum.QueueWriteError.html +++ b/doc/wgpu_core/device/queue/enum.QueueWriteError.html @@ -17,7 +17,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/device/queue/enum.TempResource.html b/doc/wgpu_core/device/queue/enum.TempResource.html index a8801f3e87bc..9d0b3d7b5635 100644 --- a/doc/wgpu_core/device/queue/enum.TempResource.html +++ b/doc/wgpu_core/device/queue/enum.TempResource.html @@ -28,7 +28,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/device/queue/struct.Queue.html b/doc/wgpu_core/device/queue/struct.Queue.html index 0a89ce87ab48..54e3973d2004 100644 --- a/doc/wgpu_core/device/queue/struct.Queue.html +++ b/doc/wgpu_core/device/queue/struct.Queue.html @@ -2,27 +2,27 @@

    Struct wgpu_core::device::queue::Queue

    source ·
    pub struct Queue { /* private fields */ }

    Implementations§

    source§

    impl Queue

    source

    pub fn write_buffer( &self, buffer: Fallible<Buffer>, - buffer_offset: BufferAddress, + buffer_offset: BufferAddress, data: &[u8] ) -> Result<(), QueueWriteError>

    source

    pub fn create_staging_buffer( &self, - buffer_size: BufferSize + buffer_size: BufferSize ) -> Result<(StagingBuffer, NonNull<u8>), QueueWriteError>

    source

    pub fn write_staging_buffer( &self, buffer: Fallible<Buffer>, - buffer_offset: BufferAddress, + buffer_offset: BufferAddress, staging_buffer: StagingBuffer ) -> Result<(), QueueWriteError>

    source

    pub fn validate_write_buffer( &self, buffer: Fallible<Buffer>, buffer_offset: u64, - buffer_size: BufferSize + buffer_size: BufferSize ) -> Result<(), QueueWriteError>

    source

    pub fn write_texture( &self, - destination: TexelCopyTextureInfo<Fallible<Texture>>, + destination: TexelCopyTextureInfo<Fallible<Texture>>, data: &[u8], - data_layout: &TexelCopyBufferLayout, - size: &Extent3d + data_layout: &TexelCopyBufferLayout, + size: &Extent3d ) -> Result<(), QueueWriteError>

    source

    pub fn submit( &self, command_buffers: &[Arc<CommandBuffer>] @@ -40,7 +40,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/device/resource/struct.Device.html b/doc/wgpu_core/device/resource/struct.Device.html index b16b9dfafcec..4f8b63164b76 100644 --- a/doc/wgpu_core/device/resource/struct.Device.html +++ b/doc/wgpu_core/device/resource/struct.Device.html @@ -1,13 +1,13 @@ Device in wgpu_core::device::resource - Rust
    pub struct Device { /* private fields */ }
    Expand description

    Structure describing a logical device. Some members are internally mutable, stored behind mutexes.

    -

    Implementations§

    source§

    impl Device

    source

    pub fn backend(&self) -> Backend

    Returns the backend this device is using.

    +

    Implementations§

    source§

    impl Device

    source

    pub fn backend(&self) -> Backend

    Returns the backend this device is using.

    source

    pub fn is_valid(&self) -> bool

    source

    pub fn check_is_valid(&self) -> Result<(), DeviceError>

    source

    pub fn handle_hal_error(&self, error: DeviceError) -> DeviceError

    source

    pub fn get_queue(&self) -> Option<Arc<Queue>>

    source

    pub fn set_queue(&self, queue: &Arc<Queue>)

    source

    pub unsafe fn create_pipeline_cache( self: &Arc<Self>, desc: &PipelineCacheDescriptor<'_> ) -> Result<Arc<PipelineCache>, CreatePipelineCacheError>

    Safety

    The data field on desc must have previously been returned from crate::global::Global::pipeline_cache_get_data

    -
    source

    pub fn get_hal_counters(&self) -> HalCounters

    source

    pub fn generate_allocator_report(&self) -> Option<AllocatorReport>

    Trait Implementations§

    source§

    impl Debug for Device

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for Device

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Labeled for Device

    source§

    fn label(&self) -> &str

    Returns a string identifying this resource for logging and errors. Read more
    source§

    fn error_ident(&self) -> ResourceErrorIdent

    source§

    impl ResourceType for Device

    source§

    const TYPE: &'static str = "Device"

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for Device

    §

    impl Send for Device

    §

    impl Sync for Device

    §

    impl Unpin for Device

    §

    impl !UnwindSafe for Device

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    source

    pub fn get_hal_counters(&self) -> HalCounters

    source

    pub fn generate_allocator_report(&self) -> Option<AllocatorReport>

    Trait Implementations§

    source§

    impl Debug for Device

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for Device

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Labeled for Device

    source§

    fn label(&self) -> &str

    Returns a string identifying this resource for logging and errors. Read more
    source§

    fn error_ident(&self) -> ResourceErrorIdent

    source§

    impl ResourceType for Device

    source§

    const TYPE: &'static str = "Device"

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for Device

    §

    impl Send for Device

    §

    impl Sync for Device

    §

    impl Unpin for Device

    §

    impl !UnwindSafe for Device

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -17,7 +17,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/device/struct.DeviceLostInvocation.html b/doc/wgpu_core/device/struct.DeviceLostInvocation.html index 34a13fc4bccf..e7f1b2632d11 100644 --- a/doc/wgpu_core/device/struct.DeviceLostInvocation.html +++ b/doc/wgpu_core/device/struct.DeviceLostInvocation.html @@ -9,5 +9,5 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where T: Send,

    \ No newline at end of file diff --git a/doc/wgpu_core/device/struct.DeviceMismatch.html b/doc/wgpu_core/device/struct.DeviceMismatch.html index cb2ef706b217..6b54667de9ff 100644 --- a/doc/wgpu_core/device/struct.DeviceMismatch.html +++ b/doc/wgpu_core/device/struct.DeviceMismatch.html @@ -14,7 +14,7 @@ T: Display + ?Sized,
    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/device/struct.ImplicitPipelineContext.html b/doc/wgpu_core/device/struct.ImplicitPipelineContext.html index 89b1b18ca6e7..172f79e57f7b 100644 --- a/doc/wgpu_core/device/struct.ImplicitPipelineContext.html +++ b/doc/wgpu_core/device/struct.ImplicitPipelineContext.html @@ -16,7 +16,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/device/struct.ImplicitPipelineIds.html b/doc/wgpu_core/device/struct.ImplicitPipelineIds.html index d0e5ef5d95af..556dea427fb4 100644 --- a/doc/wgpu_core/device/struct.ImplicitPipelineIds.html +++ b/doc/wgpu_core/device/struct.ImplicitPipelineIds.html @@ -12,7 +12,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/device/struct.MissingDownlevelFlags.html b/doc/wgpu_core/device/struct.MissingDownlevelFlags.html index 59c1c3dee26d..bfd6ffcad7d7 100644 --- a/doc/wgpu_core/device/struct.MissingDownlevelFlags.html +++ b/doc/wgpu_core/device/struct.MissingDownlevelFlags.html @@ -1,5 +1,5 @@ MissingDownlevelFlags in wgpu_core::device - Rust -
    pub struct MissingDownlevelFlags(pub DownlevelFlags);

    Tuple Fields§

    §0: DownlevelFlags

    Trait Implementations§

    source§

    impl Clone for MissingDownlevelFlags

    source§

    fn clone(&self) -> MissingDownlevelFlags

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for MissingDownlevelFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for MissingDownlevelFlags

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for MissingDownlevelFlags

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<MissingDownlevelFlags> for BindGroupLayoutEntryError

    source§

    fn from(source: MissingDownlevelFlags) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingDownlevelFlags> for ComputePassErrorInner

    source§

    fn from(source: MissingDownlevelFlags) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingDownlevelFlags> for ConfigureSurfaceError

    source§

    fn from(source: MissingDownlevelFlags) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingDownlevelFlags> for CreateBufferError

    source§

    fn from(source: MissingDownlevelFlags) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingDownlevelFlags> for CreateComputePipelineError

    source§

    fn from(source: MissingDownlevelFlags) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingDownlevelFlags> for CreateRenderPipelineError

    source§

    fn from(source: MissingDownlevelFlags) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingDownlevelFlags> for CreateTextureError

    source§

    fn from(source: MissingDownlevelFlags) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingDownlevelFlags> for RenderPassErrorInner

    source§

    fn from(source: MissingDownlevelFlags) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingDownlevelFlags> for TransferError

    source§

    fn from(source: MissingDownlevelFlags) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +
    pub struct MissingDownlevelFlags(pub DownlevelFlags);

    Tuple Fields§

    §0: DownlevelFlags

    Trait Implementations§

    source§

    impl Clone for MissingDownlevelFlags

    source§

    fn clone(&self) -> MissingDownlevelFlags

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for MissingDownlevelFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for MissingDownlevelFlags

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for MissingDownlevelFlags

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<MissingDownlevelFlags> for BindGroupLayoutEntryError

    source§

    fn from(source: MissingDownlevelFlags) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingDownlevelFlags> for ComputePassErrorInner

    source§

    fn from(source: MissingDownlevelFlags) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingDownlevelFlags> for ConfigureSurfaceError

    source§

    fn from(source: MissingDownlevelFlags) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingDownlevelFlags> for CreateBufferError

    source§

    fn from(source: MissingDownlevelFlags) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingDownlevelFlags> for CreateComputePipelineError

    source§

    fn from(source: MissingDownlevelFlags) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingDownlevelFlags> for CreateRenderPipelineError

    source§

    fn from(source: MissingDownlevelFlags) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingDownlevelFlags> for CreateTextureError

    source§

    fn from(source: MissingDownlevelFlags) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingDownlevelFlags> for RenderPassErrorInner

    source§

    fn from(source: MissingDownlevelFlags) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingDownlevelFlags> for TransferError

    source§

    fn from(source: MissingDownlevelFlags) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -11,7 +11,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/device/struct.MissingFeatures.html b/doc/wgpu_core/device/struct.MissingFeatures.html index abe88b78a55d..0676753a0522 100644 --- a/doc/wgpu_core/device/struct.MissingFeatures.html +++ b/doc/wgpu_core/device/struct.MissingFeatures.html @@ -1,5 +1,5 @@ MissingFeatures in wgpu_core::device - Rust -
    pub struct MissingFeatures(pub Features);

    Tuple Fields§

    §0: Features

    Trait Implementations§

    source§

    impl Clone for MissingFeatures

    source§

    fn clone(&self) -> MissingFeatures

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for MissingFeatures

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for MissingFeatures

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for MissingFeatures

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<MissingFeatures> for BindGroupLayoutEntryError

    source§

    fn from(source: MissingFeatures) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingFeatures> for CommandEncoderError

    source§

    fn from(source: MissingFeatures) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingFeatures> for ComputePassErrorInner

    source§

    fn from(source: MissingFeatures) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingFeatures> for CreatePipelineCacheError

    source§

    fn from(source: MissingFeatures) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingFeatures> for CreatePipelineLayoutError

    source§

    fn from(source: MissingFeatures) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingFeatures> for CreateQuerySetError

    source§

    fn from(source: MissingFeatures) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingFeatures> for CreateRenderPipelineError

    source§

    fn from(source: MissingFeatures) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingFeatures> for CreateSamplerError

    source§

    fn from(source: MissingFeatures) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingFeatures> for CreateShaderModuleError

    source§

    fn from(source: MissingFeatures) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingFeatures> for CreateTextureViewError

    source§

    fn from(source: MissingFeatures) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingFeatures> for QueryError

    source§

    fn from(source: MissingFeatures) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingFeatures> for RenderPassErrorInner

    source§

    fn from(source: MissingFeatures) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +
    pub struct MissingFeatures(pub Features);

    Tuple Fields§

    §0: Features

    Trait Implementations§

    source§

    impl Clone for MissingFeatures

    source§

    fn clone(&self) -> MissingFeatures

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for MissingFeatures

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for MissingFeatures

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for MissingFeatures

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<MissingFeatures> for BindGroupLayoutEntryError

    source§

    fn from(source: MissingFeatures) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingFeatures> for CommandEncoderError

    source§

    fn from(source: MissingFeatures) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingFeatures> for ComputePassErrorInner

    source§

    fn from(source: MissingFeatures) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingFeatures> for CreatePipelineCacheError

    source§

    fn from(source: MissingFeatures) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingFeatures> for CreatePipelineLayoutError

    source§

    fn from(source: MissingFeatures) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingFeatures> for CreateQuerySetError

    source§

    fn from(source: MissingFeatures) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingFeatures> for CreateRenderPipelineError

    source§

    fn from(source: MissingFeatures) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingFeatures> for CreateSamplerError

    source§

    fn from(source: MissingFeatures) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingFeatures> for CreateShaderModuleError

    source§

    fn from(source: MissingFeatures) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingFeatures> for CreateTextureViewError

    source§

    fn from(source: MissingFeatures) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingFeatures> for QueryError

    source§

    fn from(source: MissingFeatures) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingFeatures> for RenderPassErrorInner

    source§

    fn from(source: MissingFeatures) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -11,7 +11,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/device/struct.UserClosures.html b/doc/wgpu_core/device/struct.UserClosures.html index 5641ba7b1d4d..cf80d787a32d 100644 --- a/doc/wgpu_core/device/struct.UserClosures.html +++ b/doc/wgpu_core/device/struct.UserClosures.html @@ -13,5 +13,5 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where T: Send,

    \ No newline at end of file diff --git a/doc/wgpu_core/device/trace/enum.Action.html b/doc/wgpu_core/device/trace/enum.Action.html index 22c66f16a7ce..684c1de00566 100644 --- a/doc/wgpu_core/device/trace/enum.Action.html +++ b/doc/wgpu_core/device/trace/enum.Action.html @@ -2,9 +2,9 @@
    pub enum Action<'a> {
     
    Show 42 variants Init { desc: DeviceDescriptor<'a>, - backend: Backend, + backend: Backend, }, - ConfigureSurface(SurfaceId, SurfaceConfiguration<Vec<TextureFormat>>), + ConfigureSurface(SurfaceId, SurfaceConfiguration<Vec<TextureFormat>>), CreateBuffer(BufferId, BufferDescriptor<'a>), FreeBuffer(BufferId), DestroyBuffer(BufferId), @@ -68,20 +68,20 @@ WriteBuffer { id: BufferId, data: String, - range: Range<BufferAddress>, + range: Range<BufferAddress>, queued: bool, }, WriteTexture { to: TexelCopyTextureInfo, data: String, - layout: TexelCopyBufferLayout, - size: Extent3d, + layout: TexelCopyBufferLayout, + size: Extent3d, }, Submit(SubmissionIndex, Vec<Command>), CreateBlas { id: BlasId, desc: BlasDescriptor<'a>, - sizes: BlasGeometrySizeDescriptors, + sizes: BlasGeometrySizeDescriptors, }, FreeBlas(BlasId), DestroyBlas(BlasId), @@ -91,7 +91,7 @@ }, FreeTlas(TlasId), DestroyTlas(TlasId), -
    }
    Available on crate features trace or replay only.

    Variants§

    §

    Init

    Fields

    §backend: Backend
    §

    ConfigureSurface(SurfaceId, SurfaceConfiguration<Vec<TextureFormat>>)

    §

    CreateBuffer(BufferId, BufferDescriptor<'a>)

    §

    FreeBuffer(BufferId)

    §

    DestroyBuffer(BufferId)

    §

    CreateTexture(TextureId, TextureDescriptor<'a>)

    §

    FreeTexture(TextureId)

    §

    DestroyTexture(TextureId)

    §

    CreateTextureView

    §

    DestroyTextureView(TextureViewId)

    §

    CreateSampler(SamplerId, SamplerDescriptor<'a>)

    §

    DestroySampler(SamplerId)

    §

    GetSurfaceTexture

    Fields

    §parent_id: SurfaceId
    §

    Present(SurfaceId)

    §

    DiscardSurfaceTexture(SurfaceId)

    §

    CreateBindGroupLayout(BindGroupLayoutId, BindGroupLayoutDescriptor<'a>)

    §

    DestroyBindGroupLayout(BindGroupLayoutId)

    §

    CreatePipelineLayout(PipelineLayoutId, PipelineLayoutDescriptor<'a>)

    §

    DestroyPipelineLayout(PipelineLayoutId)

    §

    CreateBindGroup(BindGroupId, BindGroupDescriptor<'a>)

    §

    DestroyBindGroup(BindGroupId)

    §

    CreateShaderModule

    §

    DestroyShaderModule(ShaderModuleId)

    §

    CreateComputePipeline

    §

    DestroyComputePipeline(ComputePipelineId)

    §

    CreateRenderPipeline

    §

    DestroyRenderPipeline(RenderPipelineId)

    §

    CreatePipelineCache

    §

    DestroyPipelineCache(PipelineCacheId)

    §

    CreateRenderBundle

    Fields

    §base: BasePass<RenderCommand>
    §

    DestroyRenderBundle(RenderBundleId)

    §

    CreateQuerySet

    §

    DestroyQuerySet(QuerySetId)

    §

    WriteBuffer

    Fields

    §data: String
    §queued: bool
    §

    WriteTexture

    §

    Submit(SubmissionIndex, Vec<Command>)

    §

    CreateBlas

    §

    FreeBlas(BlasId)

    §

    DestroyBlas(BlasId)

    §

    CreateTlas

    Fields

    §

    FreeTlas(TlasId)

    §

    DestroyTlas(TlasId)

    Trait Implementations§

    source§

    impl<'a> Debug for Action<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for Action<'a>

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where +

    }
    Available on crate features trace or replay only.

    Variants§

    §

    Init

    Fields

    §backend: Backend
    §

    ConfigureSurface(SurfaceId, SurfaceConfiguration<Vec<TextureFormat>>)

    §

    CreateBuffer(BufferId, BufferDescriptor<'a>)

    §

    FreeBuffer(BufferId)

    §

    DestroyBuffer(BufferId)

    §

    CreateTexture(TextureId, TextureDescriptor<'a>)

    §

    FreeTexture(TextureId)

    §

    DestroyTexture(TextureId)

    §

    CreateTextureView

    §

    DestroyTextureView(TextureViewId)

    §

    CreateSampler(SamplerId, SamplerDescriptor<'a>)

    §

    DestroySampler(SamplerId)

    §

    GetSurfaceTexture

    Fields

    §parent_id: SurfaceId
    §

    Present(SurfaceId)

    §

    DiscardSurfaceTexture(SurfaceId)

    §

    CreateBindGroupLayout(BindGroupLayoutId, BindGroupLayoutDescriptor<'a>)

    §

    DestroyBindGroupLayout(BindGroupLayoutId)

    §

    CreatePipelineLayout(PipelineLayoutId, PipelineLayoutDescriptor<'a>)

    §

    DestroyPipelineLayout(PipelineLayoutId)

    §

    CreateBindGroup(BindGroupId, BindGroupDescriptor<'a>)

    §

    DestroyBindGroup(BindGroupId)

    §

    CreateShaderModule

    §

    DestroyShaderModule(ShaderModuleId)

    §

    CreateComputePipeline

    §

    DestroyComputePipeline(ComputePipelineId)

    §

    CreateRenderPipeline

    §

    DestroyRenderPipeline(RenderPipelineId)

    §

    CreatePipelineCache

    §

    DestroyPipelineCache(PipelineCacheId)

    §

    CreateRenderBundle

    Fields

    §base: BasePass<RenderCommand>
    §

    DestroyRenderBundle(RenderBundleId)

    §

    CreateQuerySet

    §

    DestroyQuerySet(QuerySetId)

    §

    WriteBuffer

    Fields

    §data: String
    §range: Range<BufferAddress>
    §queued: bool
    §

    WriteTexture

    Fields

    §data: String
    §layout: TexelCopyBufferLayout
    §size: Extent3d
    §

    Submit(SubmissionIndex, Vec<Command>)

    §

    CreateBlas

    Fields

    §sizes: BlasGeometrySizeDescriptors
    §

    FreeBlas(BlasId)

    §

    DestroyBlas(BlasId)

    §

    CreateTlas

    Fields

    §

    FreeTlas(TlasId)

    §

    DestroyTlas(TlasId)

    Trait Implementations§

    source§

    impl<'a> Debug for Action<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for Action<'a>

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> Serialize for Action<'a>

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for Action<'a>

    §

    impl<'a> Send for Action<'a>

    §

    impl<'a> Sync for Action<'a>

    §

    impl<'a> Unpin for Action<'a>

    §

    impl<'a> UnwindSafe for Action<'a>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where @@ -104,7 +104,7 @@

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/device/trace/enum.Command.html b/doc/wgpu_core/device/trace/enum.Command.html index e48bc7794ff6..00fdca03ae40 100644 --- a/doc/wgpu_core/device/trace/enum.Command.html +++ b/doc/wgpu_core/device/trace/enum.Command.html @@ -2,34 +2,34 @@
    pub enum Command {
     
    Show 15 variants CopyBufferToBuffer { src: BufferId, - src_offset: BufferAddress, + src_offset: BufferAddress, dst: BufferId, - dst_offset: BufferAddress, - size: BufferAddress, + dst_offset: BufferAddress, + size: BufferAddress, }, CopyBufferToTexture { src: TexelCopyBufferInfo, dst: TexelCopyTextureInfo, - size: Extent3d, + size: Extent3d, }, CopyTextureToBuffer { src: TexelCopyTextureInfo, dst: TexelCopyBufferInfo, - size: Extent3d, + size: Extent3d, }, CopyTextureToTexture { src: TexelCopyTextureInfo, dst: TexelCopyTextureInfo, - size: Extent3d, + size: Extent3d, }, ClearBuffer { dst: BufferId, - offset: BufferAddress, - size: Option<BufferAddress>, + offset: BufferAddress, + size: Option<BufferAddress>, }, ClearTexture { dst: TextureId, - subresource_range: ImageSubresourceRange, + subresource_range: ImageSubresourceRange, }, WriteTimestamp { query_set_id: QuerySetId, @@ -40,7 +40,7 @@ start_query: u32, query_count: u32, destination: BufferId, - destination_offset: BufferAddress, + destination_offset: BufferAddress, }, PushDebugGroup(String), PopDebugGroup, @@ -64,7 +64,7 @@ blas: Vec<TraceBlasBuildEntry>, tlas: Vec<TraceTlasPackage>, }, -
    }
    Available on crate features trace or replay only.

    Variants§

    §

    CopyBufferToBuffer

    Fields

    §src_offset: BufferAddress
    §dst_offset: BufferAddress
    §

    CopyBufferToTexture

    §

    CopyTextureToBuffer

    §

    CopyTextureToTexture

    §

    ClearBuffer

    §

    ClearTexture

    Fields

    §subresource_range: ImageSubresourceRange
    §

    WriteTimestamp

    Fields

    §query_set_id: QuerySetId
    §query_index: u32
    §

    ResolveQuerySet

    Fields

    §query_set_id: QuerySetId
    §start_query: u32
    §query_count: u32
    §destination: BufferId
    §destination_offset: BufferAddress
    §

    PushDebugGroup(String)

    §

    PopDebugGroup

    §

    InsertDebugMarker(String)

    §

    RunComputePass

    Fields

    §base: BasePass<ComputeCommand>
    §timestamp_writes: Option<PassTimestampWrites>
    §

    RunRenderPass

    Fields

    §base: BasePass<RenderCommand>
    §timestamp_writes: Option<PassTimestampWrites>
    §occlusion_query_set_id: Option<QuerySetId>
    §

    BuildAccelerationStructuresUnsafeTlas

    §

    BuildAccelerationStructures

    Trait Implementations§

    source§

    impl Debug for Command

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for Command

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where +

    }
    Available on crate features trace or replay only.

    Variants§

    §

    CopyBufferToBuffer

    Fields

    §src_offset: BufferAddress
    §dst_offset: BufferAddress
    §size: BufferAddress
    §

    CopyBufferToTexture

    Fields

    §size: Extent3d
    §

    CopyTextureToBuffer

    Fields

    §size: Extent3d
    §

    CopyTextureToTexture

    §

    ClearBuffer

    Fields

    §offset: BufferAddress
    §size: Option<BufferAddress>
    §

    ClearTexture

    Fields

    §subresource_range: ImageSubresourceRange
    §

    WriteTimestamp

    Fields

    §query_set_id: QuerySetId
    §query_index: u32
    §

    ResolveQuerySet

    Fields

    §query_set_id: QuerySetId
    §start_query: u32
    §query_count: u32
    §destination: BufferId
    §destination_offset: BufferAddress
    §

    PushDebugGroup(String)

    §

    PopDebugGroup

    §

    InsertDebugMarker(String)

    §

    RunComputePass

    Fields

    §base: BasePass<ComputeCommand>
    §timestamp_writes: Option<PassTimestampWrites>
    §

    RunRenderPass

    Fields

    §base: BasePass<RenderCommand>
    §timestamp_writes: Option<PassTimestampWrites>
    §occlusion_query_set_id: Option<QuerySetId>
    §

    BuildAccelerationStructuresUnsafeTlas

    §

    BuildAccelerationStructures

    Trait Implementations§

    source§

    impl Debug for Command

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for Command

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Serialize for Command

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where @@ -77,7 +77,7 @@

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/device/type.DeviceDescriptor.html b/doc/wgpu_core/device/type.DeviceDescriptor.html index d2b6fb92546b..498a4a3df85f 100644 --- a/doc/wgpu_core/device/type.DeviceDescriptor.html +++ b/doc/wgpu_core/device/type.DeviceDescriptor.html @@ -1,17 +1,17 @@ DeviceDescriptor in wgpu_core::device - Rust -
    pub type DeviceDescriptor<'a> = DeviceDescriptor<Label<'a>>;

    Aliased Type§

    struct DeviceDescriptor<'a> {
    +    
    pub type DeviceDescriptor<'a> = DeviceDescriptor<Label<'a>>;

    Aliased Type§

    struct DeviceDescriptor<'a> {
         pub label: Option<Cow<'a, str>>,
    -    pub required_features: Features,
    -    pub required_limits: Limits,
    -    pub memory_hints: MemoryHints,
    +    pub required_features: Features,
    +    pub required_limits: Limits,
    +    pub memory_hints: MemoryHints,
     }

    Fields§

    §label: Option<Cow<'a, str>>

    Debug label for the device.

    -
    §required_features: Features

    Specifies the features that are required by the device request. +

    §required_features: Features

    Specifies the features that are required by the device request. The request will fail if the adapter cannot provide these features.

    Exactly the specified set of features, and no more or less, will be allowed in validation of API calls on the resulting device.

    -
    §required_limits: Limits

    Specifies the limits that are required by the device request. +

    §required_limits: Limits

    Specifies the limits that are required by the device request. The request will fail if the adapter cannot provide these limits.

    Exactly the specified limits, and no better or worse, will be allowed in validation of API calls on the resulting device.

    -
    §memory_hints: MemoryHints

    Hints for memory allocation strategies.

    +
    §memory_hints: MemoryHints

    Hints for memory allocation strategies.

    \ No newline at end of file diff --git a/doc/wgpu_core/device/type.DeviceLostClosure.html b/doc/wgpu_core/device/type.DeviceLostClosure.html index d9d1038d8148..68853d4a18c5 100644 --- a/doc/wgpu_core/device/type.DeviceLostClosure.html +++ b/doc/wgpu_core/device/type.DeviceLostClosure.html @@ -1,2 +1,2 @@ DeviceLostClosure in wgpu_core::device - Rust -
    pub type DeviceLostClosure = Box<dyn FnOnce(DeviceLostReason, String) + Send + 'static>;
    Available on send_sync only.

    Aliased Type§

    struct DeviceLostClosure(/* private fields */);
    \ No newline at end of file +
    pub type DeviceLostClosure = Box<dyn FnOnce(DeviceLostReason, String) + Send + 'static>;
    Available on send_sync only.

    Aliased Type§

    struct DeviceLostClosure(/* private fields */);
    \ No newline at end of file diff --git a/doc/wgpu_core/error/struct.ContextError.html b/doc/wgpu_core/error/struct.ContextError.html index 95b0943a6b2c..1b502882e655 100644 --- a/doc/wgpu_core/error/struct.ContextError.html +++ b/doc/wgpu_core/error/struct.ContextError.html @@ -14,7 +14,7 @@
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/error/struct.MultiError.html b/doc/wgpu_core/error/struct.MultiError.html index 48529e1cd2f0..c2b3ff994dbc 100644 --- a/doc/wgpu_core/error/struct.MultiError.html +++ b/doc/wgpu_core/error/struct.MultiError.html @@ -16,7 +16,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/fn.hal_label.html b/doc/wgpu_core/fn.hal_label.html index b74547c0ea09..2db434d34d2c 100644 --- a/doc/wgpu_core/fn.hal_label.html +++ b/doc/wgpu_core/fn.hal_label.html @@ -1,2 +1,2 @@ hal_label in wgpu_core - Rust -

    Function wgpu_core::hal_label

    source ·
    pub fn hal_label(opt: Option<&str>, flags: InstanceFlags) -> Option<&str>
    \ No newline at end of file +

    Function wgpu_core::hal_label

    source ·
    pub fn hal_label(opt: Option<&str>, flags: InstanceFlags) -> Option<&str>
    \ No newline at end of file diff --git a/doc/wgpu_core/global/struct.Global.html b/doc/wgpu_core/global/struct.Global.html index 5776b40849fc..89492d774636 100644 --- a/doc/wgpu_core/global/struct.Global.html +++ b/doc/wgpu_core/global/struct.Global.html @@ -6,13 +6,13 @@ &self, command_encoder_id: CommandEncoderId, dst: BufferId, - offset: BufferAddress, - size: Option<BufferAddress> + offset: BufferAddress, + size: Option<BufferAddress> ) -> Result<(), ClearError>
    source

    pub fn command_encoder_clear_texture( &self, command_encoder_id: CommandEncoderId, dst: TextureId, - subresource_range: &ImageSubresourceRange + subresource_range: &ImageSubresourceRange ) -> Result<(), ClearError>

    source§

    impl Global

    source

    pub fn command_encoder_create_compute_pass( &self, encoder_id: CommandEncoderId, @@ -29,7 +29,7 @@ pass: &mut ComputePass, index: u32, bind_group_id: Option<BindGroupId>, - offsets: &[DynamicOffset] + offsets: &[DynamicOffset] ) -> Result<(), ComputePassError>

    source

    pub fn compute_pass_set_pipeline( &self, pass: &mut ComputePass, @@ -49,7 +49,7 @@ &self, pass: &mut ComputePass, buffer_id: BufferId, - offset: BufferAddress + offset: BufferAddress ) -> Result<(), ComputePassError>

    source

    pub fn compute_pass_push_debug_group( &self, pass: &mut ComputePass, @@ -88,7 +88,7 @@ start_query: u32, query_count: u32, destination: BufferId, - destination_offset: BufferAddress + destination_offset: BufferAddress ) -> Result<(), QueryError>

    source§

    impl Global

    source

    pub fn command_encoder_build_acceleration_structures_unsafe_tlas<'a>( &self, command_encoder_id: CommandEncoderId, @@ -115,7 +115,7 @@ pass: &mut RenderPass, index: u32, bind_group_id: Option<BindGroupId>, - offsets: &[DynamicOffset] + offsets: &[DynamicOffset] ) -> Result<(), RenderPassError>

    source

    pub fn render_pass_set_pipeline( &self, pass: &mut RenderPass, @@ -124,20 +124,20 @@ &self, pass: &mut RenderPass, buffer_id: BufferId, - index_format: IndexFormat, - offset: BufferAddress, - size: Option<BufferSize> + index_format: IndexFormat, + offset: BufferAddress, + size: Option<BufferSize> ) -> Result<(), RenderPassError>

    source

    pub fn render_pass_set_vertex_buffer( &self, pass: &mut RenderPass, slot: u32, buffer_id: BufferId, - offset: BufferAddress, - size: Option<BufferSize> + offset: BufferAddress, + size: Option<BufferSize> ) -> Result<(), RenderPassError>

    source

    pub fn render_pass_set_blend_constant( &self, pass: &mut RenderPass, - color: Color + color: Color ) -> Result<(), RenderPassError>

    source

    pub fn render_pass_set_stencil_reference( &self, pass: &mut RenderPass, @@ -161,7 +161,7 @@ ) -> Result<(), RenderPassError>

    source

    pub fn render_pass_set_push_constants( &self, pass: &mut RenderPass, - stages: ShaderStages, + stages: ShaderStages, offset: u32, data: &[u8] ) -> Result<(), RenderPassError>

    source

    pub fn render_pass_draw( @@ -183,39 +183,39 @@ &self, pass: &mut RenderPass, buffer_id: BufferId, - offset: BufferAddress + offset: BufferAddress ) -> Result<(), RenderPassError>

    source

    pub fn render_pass_draw_indexed_indirect( &self, pass: &mut RenderPass, buffer_id: BufferId, - offset: BufferAddress + offset: BufferAddress ) -> Result<(), RenderPassError>

    source

    pub fn render_pass_multi_draw_indirect( &self, pass: &mut RenderPass, buffer_id: BufferId, - offset: BufferAddress, + offset: BufferAddress, count: u32 ) -> Result<(), RenderPassError>

    source

    pub fn render_pass_multi_draw_indexed_indirect( &self, pass: &mut RenderPass, buffer_id: BufferId, - offset: BufferAddress, + offset: BufferAddress, count: u32 ) -> Result<(), RenderPassError>

    source

    pub fn render_pass_multi_draw_indirect_count( &self, pass: &mut RenderPass, buffer_id: BufferId, - offset: BufferAddress, + offset: BufferAddress, count_buffer_id: BufferId, - count_buffer_offset: BufferAddress, + count_buffer_offset: BufferAddress, max_count: u32 ) -> Result<(), RenderPassError>

    source

    pub fn render_pass_multi_draw_indexed_indirect_count( &self, pass: &mut RenderPass, buffer_id: BufferId, - offset: BufferAddress, + offset: BufferAddress, count_buffer_id: BufferId, - count_buffer_offset: BufferAddress, + count_buffer_offset: BufferAddress, max_count: u32 ) -> Result<(), RenderPassError>

    source

    pub fn render_pass_push_debug_group( &self, @@ -258,32 +258,32 @@ &self, command_encoder_id: CommandEncoderId, source: BufferId, - source_offset: BufferAddress, + source_offset: BufferAddress, destination: BufferId, - destination_offset: BufferAddress, - size: BufferAddress + destination_offset: BufferAddress, + size: BufferAddress ) -> Result<(), CopyError>

    source

    pub fn command_encoder_copy_buffer_to_texture( &self, command_encoder_id: CommandEncoderId, source: &TexelCopyBufferInfo, destination: &TexelCopyTextureInfo, - copy_size: &Extent3d + copy_size: &Extent3d ) -> Result<(), CopyError>

    source

    pub fn command_encoder_copy_texture_to_buffer( &self, command_encoder_id: CommandEncoderId, source: &TexelCopyTextureInfo, destination: &TexelCopyBufferInfo, - copy_size: &Extent3d + copy_size: &Extent3d ) -> Result<(), CopyError>

    source

    pub fn command_encoder_copy_texture_to_texture( &self, command_encoder_id: CommandEncoderId, source: &TexelCopyTextureInfo, destination: &TexelCopyTextureInfo, - copy_size: &Extent3d + copy_size: &Extent3d ) -> Result<(), CopyError>

    source§

    impl Global

    source

    pub fn command_encoder_finish( &self, encoder_id: CommandEncoderId, - _desc: &CommandBufferDescriptor<Label<'_>> + _desc: &CommandBufferDescriptor<Label<'_>> ) -> (CommandBufferId, Option<CommandEncoderError>)

    source

    pub fn command_encoder_push_debug_group( &self, encoder_id: CommandEncoderId, @@ -303,10 +303,10 @@ &self, surface_id: SurfaceId, adapter_id: AdapterId -) -> Result<SurfaceCapabilities, GetSurfaceSupportError>

    source

    pub fn device_features(&self, device_id: DeviceId) -> Features

    source

    pub fn device_limits(&self, device_id: DeviceId) -> Limits

    source

    pub fn device_downlevel_properties( +) -> Result<SurfaceCapabilities, GetSurfaceSupportError>

    source

    pub fn device_features(&self, device_id: DeviceId) -> Features

    source

    pub fn device_limits(&self, device_id: DeviceId) -> Limits

    source

    pub fn device_downlevel_properties( &self, device_id: DeviceId -) -> DownlevelCapabilities

    source

    pub fn device_create_buffer( +) -> DownlevelCapabilities

    source

    pub fn device_create_buffer( &self, device_id: DeviceId, desc: &BufferDescriptor<'_>, @@ -323,10 +323,10 @@ Device timeline and leave the newly created GPUBuffer invalid.

    Ideally, we would simply let device_create_buffer take care of all of this, but some errors must be detected before we can even construct a -wgpu_types::BufferDescriptor to give it. For example, the WebGPU API +wgpu_types::BufferDescriptor to give it. For example, the WebGPU API allows a GPUBufferDescriptor’s usage property to be any WebIDL unsigned long value, but we can’t construct a -wgpu_types::BufferUsages value from values with unassigned bits +wgpu_types::BufferUsages value from values with unassigned bits set. This means we must validate usage before we can call device_create_buffer.

    When that validation fails, we must arrange for the buffer id to be @@ -344,7 +344,7 @@

    source

    pub fn device_set_buffer_data( &self, buffer_id: BufferId, - offset: BufferAddress, + offset: BufferAddress, data: &[u8] ) -> BufferAccessResult

    Available on crate feature replay only.
    source

    pub fn buffer_destroy(&self, buffer_id: BufferId) -> Result<(), DestroyError>

    source

    pub fn buffer_drop(&self, buffer_id: BufferId)

    source

    pub fn device_create_texture( &self, @@ -429,7 +429,7 @@
    source

    pub fn shader_module_drop(&self, shader_module_id: ShaderModuleId)

    source

    pub fn device_create_command_encoder( &self, device_id: DeviceId, - desc: &CommandEncoderDescriptor<Label<'_>>, + desc: &CommandEncoderDescriptor<Label<'_>>, id_in: Option<CommandEncoderId> ) -> (CommandEncoderId, Option<DeviceError>)

    source

    pub fn command_encoder_drop(&self, command_encoder_id: CommandEncoderId)

    source

    pub fn command_buffer_drop(&self, command_buffer_id: CommandBufferId)

    source

    pub fn device_create_render_bundle_encoder( &self, @@ -483,11 +483,11 @@ &self, surface_id: SurfaceId, device_id: DeviceId, - config: &SurfaceConfiguration<Vec<TextureFormat>> + config: &SurfaceConfiguration<Vec<TextureFormat>> ) -> Option<ConfigureSurfaceError>

    source

    pub fn device_poll( &self, device_id: DeviceId, - maintain: Maintain<SubmissionIndex> + maintain: Maintain<SubmissionIndex> ) -> Result<bool, WaitIdleError>

    Check device_id for freeable resources and completed buffer mappings.

    Return queue_empty indicating whether there are more queue submissions still in flight.

    source

    pub fn poll_all_devices(&self, force_wait: bool) -> Result<bool, WaitIdleError>

    Poll all devices on all backends.

    @@ -502,51 +502,51 @@
    source

    pub fn device_destroy(&self, device_id: DeviceId)

    source

    pub fn device_get_internal_counters( &self, device_id: DeviceId -) -> InternalCounters

    source

    pub fn device_generate_allocator_report( +) -> InternalCounters

    source

    pub fn device_generate_allocator_report( &self, device_id: DeviceId -) -> Option<AllocatorReport>

    source

    pub fn queue_drop(&self, queue_id: QueueId)

    source

    pub fn buffer_map_async( +) -> Option<AllocatorReport>

    source

    pub fn queue_drop(&self, queue_id: QueueId)

    source

    pub fn buffer_map_async( &self, buffer_id: BufferId, - offset: BufferAddress, - size: Option<BufferAddress>, + offset: BufferAddress, + size: Option<BufferAddress>, op: BufferMapOperation ) -> Result<SubmissionIndex, BufferAccessError>

    op.callback is guaranteed to be called.

    source

    pub fn buffer_get_mapped_range( &self, buffer_id: BufferId, - offset: BufferAddress, - size: Option<BufferAddress> + offset: BufferAddress, + size: Option<BufferAddress> ) -> Result<(NonNull<u8>, u64), BufferAccessError>

    source

    pub fn buffer_unmap(&self, buffer_id: BufferId) -> BufferAccessResult

    source§

    impl Global

    source

    pub fn queue_write_buffer( &self, queue_id: QueueId, buffer_id: BufferId, - buffer_offset: BufferAddress, + buffer_offset: BufferAddress, data: &[u8] ) -> Result<(), QueueWriteError>

    source

    pub fn queue_create_staging_buffer( &self, queue_id: QueueId, - buffer_size: BufferSize, + buffer_size: BufferSize, id_in: Option<StagingBufferId> ) -> Result<(StagingBufferId, NonNull<u8>), QueueWriteError>

    source

    pub fn queue_write_staging_buffer( &self, queue_id: QueueId, buffer_id: BufferId, - buffer_offset: BufferAddress, + buffer_offset: BufferAddress, staging_buffer_id: StagingBufferId ) -> Result<(), QueueWriteError>

    source

    pub fn queue_validate_write_buffer( &self, queue_id: QueueId, buffer_id: BufferId, buffer_offset: u64, - buffer_size: BufferSize + buffer_size: BufferSize ) -> Result<(), QueueWriteError>

    source

    pub fn queue_write_texture( &self, queue_id: QueueId, destination: &TexelCopyTextureInfo, data: &[u8], - data_layout: &TexelCopyBufferLayout, - size: &Extent3d + data_layout: &TexelCopyBufferLayout, + size: &Extent3d ) -> Result<(), QueueWriteError>

    source

    pub fn queue_submit( &self, queue_id: QueueId, @@ -559,14 +559,14 @@ &self, device_id: DeviceId, desc: &BlasDescriptor<'_>, - sizes: BlasGeometrySizeDescriptors, + sizes: BlasGeometrySizeDescriptors, id_in: Option<BlasId> ) -> (BlasId, Option<u64>, Option<CreateBlasError>)

    source

    pub fn device_create_tlas( &self, device_id: DeviceId, desc: &TlasDescriptor<'_>, id_in: Option<TlasId> -) -> (TlasId, Option<CreateTlasError>)

    source

    pub fn blas_destroy(&self, blas_id: BlasId) -> Result<(), DestroyError>

    source

    pub fn blas_drop(&self, blas_id: BlasId)

    source

    pub fn tlas_destroy(&self, tlas_id: TlasId) -> Result<(), DestroyError>

    source

    pub fn tlas_drop(&self, tlas_id: TlasId)

    source§

    impl Global

    source

    pub fn new(name: &str, instance_desc: InstanceDescriptor) -> Self

    source

    pub unsafe fn from_hal_instance<A: HalApi>( +) -> (TlasId, Option<CreateTlasError>)

    source

    pub fn blas_destroy(&self, blas_id: BlasId) -> Result<(), DestroyError>

    source

    pub fn blas_drop(&self, blas_id: BlasId)

    source

    pub fn tlas_destroy(&self, tlas_id: TlasId) -> Result<(), DestroyError>

    source

    pub fn tlas_drop(&self, tlas_id: TlasId)

    source§

    impl Global

    source

    pub fn new(name: &str, instance_desc: InstanceDescriptor) -> Self

    source

    pub unsafe fn from_hal_instance<A: HalApi>( name: &str, hal_instance: A::Instance ) -> Self

    Safety
    @@ -600,10 +600,10 @@
    Safety
  • window_handle must remain valid as long as the returned SurfaceId is being used.
  • -
    source

    pub fn surface_drop(&self, id: SurfaceId)

    source

    pub fn enumerate_adapters(&self, backends: Backends) -> Vec<AdapterId>

    source

    pub fn request_adapter( +

    source

    pub fn surface_drop(&self, id: SurfaceId)

    source

    pub fn enumerate_adapters(&self, backends: Backends) -> Vec<AdapterId>

    source

    pub fn request_adapter( &self, desc: &RequestAdapterOptions, - backends: Backends, + backends: Backends, id_in: Option<AdapterId> ) -> Result<AdapterId, RequestAdapterError>

    source

    pub unsafe fn create_adapter_from_hal( &self, @@ -611,17 +611,17 @@

    Safety
    input: Option<AdapterId> ) -> AdapterId

    Safety

    hal_adapter must be created from this global internal instance handle.

    -
    source

    pub fn adapter_get_info(&self, adapter_id: AdapterId) -> AdapterInfo

    source

    pub fn adapter_get_texture_format_features( +
    source

    pub fn adapter_get_info(&self, adapter_id: AdapterId) -> AdapterInfo

    source

    pub fn adapter_get_texture_format_features( &self, adapter_id: AdapterId, - format: TextureFormat -) -> TextureFormatFeatures

    source

    pub fn adapter_features(&self, adapter_id: AdapterId) -> Features

    source

    pub fn adapter_limits(&self, adapter_id: AdapterId) -> Limits

    source

    pub fn adapter_downlevel_capabilities( + format: TextureFormat +) -> TextureFormatFeatures

    source

    pub fn adapter_features(&self, adapter_id: AdapterId) -> Features

    source

    pub fn adapter_limits(&self, adapter_id: AdapterId) -> Limits

    source

    pub fn adapter_downlevel_capabilities( &self, adapter_id: AdapterId -) -> DownlevelCapabilities

    source

    pub fn adapter_get_presentation_timestamp( +) -> DownlevelCapabilities

    source

    pub fn adapter_get_presentation_timestamp( &self, adapter_id: AdapterId -) -> PresentationTimestamp

    source

    pub fn adapter_drop(&self, adapter_id: AdapterId)

    source§

    impl Global

    source

    pub fn adapter_request_device( +) -> PresentationTimestamp

    source

    pub fn adapter_drop(&self, adapter_id: AdapterId)

    source§

    impl Global

    source

    pub fn adapter_request_device( &self, adapter_id: AdapterId, desc: &DeviceDescriptor<'_>, @@ -648,7 +648,7 @@

    Safety
    ) -> Result<SurfaceOutput, SurfaceError>

    source

    pub fn surface_present( &self, surface_id: SurfaceId -) -> Result<Status, SurfaceError>

    source

    pub fn surface_texture_discard( +) -> Result<Status, SurfaceError>

    source

    pub fn surface_texture_discard( &self, surface_id: SurfaceId ) -> Result<(), SurfaceError>

    source§

    impl Global

    source

    pub unsafe fn buffer_as_hal<A: HalApi, F: FnOnce(Option<&A::Buffer>) -> R, R>( @@ -725,7 +725,7 @@

    Safety
    From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/global/struct.GlobalReport.html b/doc/wgpu_core/global/struct.GlobalReport.html index 04794a2c93db..657a413454a2 100644 --- a/doc/wgpu_core/global/struct.GlobalReport.html +++ b/doc/wgpu_core/global/struct.GlobalReport.html @@ -18,7 +18,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/hal_api/trait.HalApi.html b/doc/wgpu_core/hal_api/trait.HalApi.html index 38f0ac3ffd42..50f047495dab 100644 --- a/doc/wgpu_core/hal_api/trait.HalApi.html +++ b/doc/wgpu_core/hal_api/trait.HalApi.html @@ -1,4 +1,4 @@ HalApi in wgpu_core::hal_api - Rust -

    Trait wgpu_core::hal_api::HalApi

    source ·
    pub trait HalApi: Api + 'static + WasmNotSendSync {
    -    const VARIANT: Backend;
    -}

    Required Associated Constants§

    Object Safety§

    This trait is not object safe.

    Implementors§

    source§

    impl HalApi for Empty

    source§

    const VARIANT: Backend = Backend::Empty

    source§

    impl HalApi for Gles

    Available on gles only.
    source§

    const VARIANT: Backend = Backend::Gl

    source§

    impl HalApi for Vulkan

    Available on vulkan only.
    source§

    const VARIANT: Backend = Backend::Vulkan

    \ No newline at end of file +

    Trait wgpu_core::hal_api::HalApi

    source ·
    pub trait HalApi: Api + 'static + WasmNotSendSync {
    +    const VARIANT: Backend;
    +}

    Required Associated Constants§

    source

    const VARIANT: Backend

    Object Safety§

    This trait is not object safe.

    Implementors§

    source§

    impl HalApi for Empty

    source§

    const VARIANT: Backend = Backend::Empty

    source§

    impl HalApi for Gles

    Available on gles only.
    source§

    const VARIANT: Backend = Backend::Gl

    source§

    impl HalApi for Vulkan

    Available on vulkan only.
    source§

    const VARIANT: Backend = Backend::Vulkan

    \ No newline at end of file diff --git a/doc/wgpu_core/hub/struct.Hub.html b/doc/wgpu_core/hub/struct.Hub.html index 947c9fd45de3..a1dd145f2d65 100644 --- a/doc/wgpu_core/hub/struct.Hub.html +++ b/doc/wgpu_core/hub/struct.Hub.html @@ -23,7 +23,7 @@

    Locking

    From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/hub/struct.HubReport.html b/doc/wgpu_core/hub/struct.HubReport.html index f7c7eedbfece..5b09f15cf4af 100644 --- a/doc/wgpu_core/hub/struct.HubReport.html +++ b/doc/wgpu_core/hub/struct.HubReport.html @@ -33,7 +33,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/id/markers/enum.Adapter.html b/doc/wgpu_core/id/markers/enum.Adapter.html index 56a24bff5e75..65ee4cfdc26a 100644 --- a/doc/wgpu_core/id/markers/enum.Adapter.html +++ b/doc/wgpu_core/id/markers/enum.Adapter.html @@ -9,7 +9,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/id/markers/enum.BindGroup.html b/doc/wgpu_core/id/markers/enum.BindGroup.html index ca37ed17f4bb..7c2988726d3b 100644 --- a/doc/wgpu_core/id/markers/enum.BindGroup.html +++ b/doc/wgpu_core/id/markers/enum.BindGroup.html @@ -9,7 +9,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/id/markers/enum.BindGroupLayout.html b/doc/wgpu_core/id/markers/enum.BindGroupLayout.html index 624acd177d0e..1abf523048e9 100644 --- a/doc/wgpu_core/id/markers/enum.BindGroupLayout.html +++ b/doc/wgpu_core/id/markers/enum.BindGroupLayout.html @@ -9,7 +9,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/id/markers/enum.Blas.html b/doc/wgpu_core/id/markers/enum.Blas.html index 7dfe90792d8f..50eacb08ee91 100644 --- a/doc/wgpu_core/id/markers/enum.Blas.html +++ b/doc/wgpu_core/id/markers/enum.Blas.html @@ -9,7 +9,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/id/markers/enum.Buffer.html b/doc/wgpu_core/id/markers/enum.Buffer.html index ee611b4d60ab..429cc971dd41 100644 --- a/doc/wgpu_core/id/markers/enum.Buffer.html +++ b/doc/wgpu_core/id/markers/enum.Buffer.html @@ -9,7 +9,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/id/markers/enum.CommandBuffer.html b/doc/wgpu_core/id/markers/enum.CommandBuffer.html index bfcd2289f03b..d108cb87a72c 100644 --- a/doc/wgpu_core/id/markers/enum.CommandBuffer.html +++ b/doc/wgpu_core/id/markers/enum.CommandBuffer.html @@ -9,7 +9,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/id/markers/enum.CommandEncoder.html b/doc/wgpu_core/id/markers/enum.CommandEncoder.html index d0e56241b1d0..4bdb0a106aa5 100644 --- a/doc/wgpu_core/id/markers/enum.CommandEncoder.html +++ b/doc/wgpu_core/id/markers/enum.CommandEncoder.html @@ -9,7 +9,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/id/markers/enum.ComputePassEncoder.html b/doc/wgpu_core/id/markers/enum.ComputePassEncoder.html index 5570cdfdd381..cf003d24c55d 100644 --- a/doc/wgpu_core/id/markers/enum.ComputePassEncoder.html +++ b/doc/wgpu_core/id/markers/enum.ComputePassEncoder.html @@ -9,7 +9,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/id/markers/enum.ComputePipeline.html b/doc/wgpu_core/id/markers/enum.ComputePipeline.html index 112a4184d1d5..b3afa2faa2dc 100644 --- a/doc/wgpu_core/id/markers/enum.ComputePipeline.html +++ b/doc/wgpu_core/id/markers/enum.ComputePipeline.html @@ -9,7 +9,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/id/markers/enum.Device.html b/doc/wgpu_core/id/markers/enum.Device.html index 26b57062c7b0..72b6d554c4ac 100644 --- a/doc/wgpu_core/id/markers/enum.Device.html +++ b/doc/wgpu_core/id/markers/enum.Device.html @@ -9,7 +9,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/id/markers/enum.PipelineCache.html b/doc/wgpu_core/id/markers/enum.PipelineCache.html index 774e3d7f9ed9..4eda203ad114 100644 --- a/doc/wgpu_core/id/markers/enum.PipelineCache.html +++ b/doc/wgpu_core/id/markers/enum.PipelineCache.html @@ -9,7 +9,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/id/markers/enum.PipelineLayout.html b/doc/wgpu_core/id/markers/enum.PipelineLayout.html index 42ada520de4b..ccfc41a298be 100644 --- a/doc/wgpu_core/id/markers/enum.PipelineLayout.html +++ b/doc/wgpu_core/id/markers/enum.PipelineLayout.html @@ -9,7 +9,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/id/markers/enum.QuerySet.html b/doc/wgpu_core/id/markers/enum.QuerySet.html index 9bcf5a909fb5..ba86f6201fc1 100644 --- a/doc/wgpu_core/id/markers/enum.QuerySet.html +++ b/doc/wgpu_core/id/markers/enum.QuerySet.html @@ -9,7 +9,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/id/markers/enum.Queue.html b/doc/wgpu_core/id/markers/enum.Queue.html index 473a8a1bb0fd..f8f14a77b4b8 100644 --- a/doc/wgpu_core/id/markers/enum.Queue.html +++ b/doc/wgpu_core/id/markers/enum.Queue.html @@ -9,7 +9,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/id/markers/enum.RenderBundle.html b/doc/wgpu_core/id/markers/enum.RenderBundle.html index bfbd12f87225..5c3c8816da63 100644 --- a/doc/wgpu_core/id/markers/enum.RenderBundle.html +++ b/doc/wgpu_core/id/markers/enum.RenderBundle.html @@ -9,7 +9,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/id/markers/enum.RenderBundleEncoder.html b/doc/wgpu_core/id/markers/enum.RenderBundleEncoder.html index a9e55d961a9c..017f895104a4 100644 --- a/doc/wgpu_core/id/markers/enum.RenderBundleEncoder.html +++ b/doc/wgpu_core/id/markers/enum.RenderBundleEncoder.html @@ -9,7 +9,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/id/markers/enum.RenderPassEncoder.html b/doc/wgpu_core/id/markers/enum.RenderPassEncoder.html index 870993315da9..f7be3cd11207 100644 --- a/doc/wgpu_core/id/markers/enum.RenderPassEncoder.html +++ b/doc/wgpu_core/id/markers/enum.RenderPassEncoder.html @@ -9,7 +9,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/id/markers/enum.RenderPipeline.html b/doc/wgpu_core/id/markers/enum.RenderPipeline.html index 6ef202499724..6c6fef1732e0 100644 --- a/doc/wgpu_core/id/markers/enum.RenderPipeline.html +++ b/doc/wgpu_core/id/markers/enum.RenderPipeline.html @@ -9,7 +9,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/id/markers/enum.Sampler.html b/doc/wgpu_core/id/markers/enum.Sampler.html index 41e1a12bf3f3..19df15516073 100644 --- a/doc/wgpu_core/id/markers/enum.Sampler.html +++ b/doc/wgpu_core/id/markers/enum.Sampler.html @@ -9,7 +9,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/id/markers/enum.ShaderModule.html b/doc/wgpu_core/id/markers/enum.ShaderModule.html index 5f8cb38e138a..102d2d571d4d 100644 --- a/doc/wgpu_core/id/markers/enum.ShaderModule.html +++ b/doc/wgpu_core/id/markers/enum.ShaderModule.html @@ -9,7 +9,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/id/markers/enum.StagingBuffer.html b/doc/wgpu_core/id/markers/enum.StagingBuffer.html index 6c039836617c..c0ce9542fdfe 100644 --- a/doc/wgpu_core/id/markers/enum.StagingBuffer.html +++ b/doc/wgpu_core/id/markers/enum.StagingBuffer.html @@ -9,7 +9,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/id/markers/enum.Surface.html b/doc/wgpu_core/id/markers/enum.Surface.html index 10f61f8a6b3f..92b08431a10a 100644 --- a/doc/wgpu_core/id/markers/enum.Surface.html +++ b/doc/wgpu_core/id/markers/enum.Surface.html @@ -9,7 +9,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/id/markers/enum.Texture.html b/doc/wgpu_core/id/markers/enum.Texture.html index 3433cfc81142..f503350d1bc1 100644 --- a/doc/wgpu_core/id/markers/enum.Texture.html +++ b/doc/wgpu_core/id/markers/enum.Texture.html @@ -9,7 +9,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/id/markers/enum.TextureView.html b/doc/wgpu_core/id/markers/enum.TextureView.html index 601606b482f4..4f430cf71fbd 100644 --- a/doc/wgpu_core/id/markers/enum.TextureView.html +++ b/doc/wgpu_core/id/markers/enum.TextureView.html @@ -9,7 +9,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/id/markers/enum.Tlas.html b/doc/wgpu_core/id/markers/enum.Tlas.html index 2d4be3375e42..09abf767c75f 100644 --- a/doc/wgpu_core/id/markers/enum.Tlas.html +++ b/doc/wgpu_core/id/markers/enum.Tlas.html @@ -9,7 +9,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/id/markers/enum.TlasInstance.html b/doc/wgpu_core/id/markers/enum.TlasInstance.html index 0066c7fbbd71..c6633b8b3781 100644 --- a/doc/wgpu_core/id/markers/enum.TlasInstance.html +++ b/doc/wgpu_core/id/markers/enum.TlasInstance.html @@ -9,7 +9,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/id/struct.Id.html b/doc/wgpu_core/id/struct.Id.html index ff07b3e00fe8..2d93d502e6fa 100644 --- a/doc/wgpu_core/id/struct.Id.html +++ b/doc/wgpu_core/id/struct.Id.html @@ -58,7 +58,7 @@

    Note on Id U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    source§

    impl<N> NodeTrait for N
    where - N: Copy + Ord + Hash,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + N: Copy + Ord + Hash,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/id/struct.RawId.html b/doc/wgpu_core/id/struct.RawId.html index fe4206a547fa..80e70b046ae2 100644 --- a/doc/wgpu_core/id/struct.RawId.html +++ b/doc/wgpu_core/id/struct.RawId.html @@ -32,7 +32,7 @@ U: Into<T>,
    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    source§

    impl<N> NodeTrait for N
    where - N: Copy + Ord + Hash,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + N: Copy + Ord + Hash,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/id/trait.Marker.html b/doc/wgpu_core/id/trait.Marker.html index f9d6c9cb0f3b..b1df8dfeabd7 100644 --- a/doc/wgpu_core/id/trait.Marker.html +++ b/doc/wgpu_core/id/trait.Marker.html @@ -1,5 +1,5 @@ Marker in wgpu_core::id - Rust -

    Trait wgpu_core::id::Marker

    source ·
    pub trait Marker: 'static + WasmNotSendSync { }
    Expand description

    Marker trait used to determine which types uniquely identify a resource.

    +

    Trait wgpu_core::id::Marker

    source ·
    pub trait Marker: 'static + WasmNotSendSync { }
    Expand description

    Marker trait used to determine which types uniquely identify a resource.

    For example, Device<A> will have the same type of identifier as Device<B> because Device<T> for any T defines the same maker type.

    Implementors§

    \ No newline at end of file diff --git a/doc/wgpu_core/identity/struct.IdentityManager.html b/doc/wgpu_core/identity/struct.IdentityManager.html index a5b703f52485..923971522ad3 100644 --- a/doc/wgpu_core/identity/struct.IdentityManager.html +++ b/doc/wgpu_core/identity/struct.IdentityManager.html @@ -11,7 +11,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/instance/enum.CreateSurfaceError.html b/doc/wgpu_core/instance/enum.CreateSurfaceError.html index 3b9a6a25fe02..e464288f3206 100644 --- a/doc/wgpu_core/instance/enum.CreateSurfaceError.html +++ b/doc/wgpu_core/instance/enum.CreateSurfaceError.html @@ -1,8 +1,8 @@ CreateSurfaceError in wgpu_core::instance - Rust
    #[non_exhaustive]
    pub enum CreateSurfaceError { - BackendNotEnabled(Backend), - FailedToCreateSurfaceForAnyBackend(HashMap<Backend, InstanceError>), -}

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    BackendNotEnabled(Backend)

    §

    FailedToCreateSurfaceForAnyBackend(HashMap<Backend, InstanceError>)

    Trait Implementations§

    source§

    impl Clone for CreateSurfaceError

    source§

    fn clone(&self) -> CreateSurfaceError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for CreateSurfaceError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for CreateSurfaceError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for CreateSurfaceError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + BackendNotEnabled(Backend), + FailedToCreateSurfaceForAnyBackend(HashMap<Backend, InstanceError>), +}

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    BackendNotEnabled(Backend)

    §

    FailedToCreateSurfaceForAnyBackend(HashMap<Backend, InstanceError>)

    Trait Implementations§

    source§

    impl Clone for CreateSurfaceError

    source§

    fn clone(&self) -> CreateSurfaceError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for CreateSurfaceError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for CreateSurfaceError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for CreateSurfaceError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -14,7 +14,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/instance/enum.GetSurfaceSupportError.html b/doc/wgpu_core/instance/enum.GetSurfaceSupportError.html index 07568e830b15..d41d7e9268cb 100644 --- a/doc/wgpu_core/instance/enum.GetSurfaceSupportError.html +++ b/doc/wgpu_core/instance/enum.GetSurfaceSupportError.html @@ -1,8 +1,8 @@ GetSurfaceSupportError in wgpu_core::instance - Rust
    #[non_exhaustive]
    pub enum GetSurfaceSupportError { - NotSupportedByBackend(Backend), + NotSupportedByBackend(Backend), FailedToRetrieveSurfaceCapabilitiesForAdapter, -}

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    NotSupportedByBackend(Backend)

    §

    FailedToRetrieveSurfaceCapabilitiesForAdapter

    Trait Implementations§

    source§

    impl Clone for GetSurfaceSupportError

    source§

    fn clone(&self) -> GetSurfaceSupportError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for GetSurfaceSupportError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for GetSurfaceSupportError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for GetSurfaceSupportError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +}

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    NotSupportedByBackend(Backend)

    §

    FailedToRetrieveSurfaceCapabilitiesForAdapter

    Trait Implementations§

    source§

    impl Clone for GetSurfaceSupportError

    source§

    fn clone(&self) -> GetSurfaceSupportError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for GetSurfaceSupportError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for GetSurfaceSupportError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for GetSurfaceSupportError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -14,7 +14,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/instance/enum.RequestAdapterError.html b/doc/wgpu_core/instance/enum.RequestAdapterError.html index 6bf6d3d71369..546035da5d77 100644 --- a/doc/wgpu_core/instance/enum.RequestAdapterError.html +++ b/doc/wgpu_core/instance/enum.RequestAdapterError.html @@ -16,7 +16,7 @@ T: Display + ?Sized,
    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/instance/enum.RequestDeviceError.html b/doc/wgpu_core/instance/enum.RequestDeviceError.html index d1faa207606a..20093f0a8bec 100644 --- a/doc/wgpu_core/instance/enum.RequestDeviceError.html +++ b/doc/wgpu_core/instance/enum.RequestDeviceError.html @@ -2,9 +2,9 @@
    #[non_exhaustive]
    pub enum RequestDeviceError { Device(DeviceError), LimitsExceeded(FailedLimit), - UnsupportedFeature(Features), + UnsupportedFeature(Features), }
    Expand description

    Error when requesting a device from the adapter

    -

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    Device(DeviceError)

    §

    LimitsExceeded(FailedLimit)

    §

    UnsupportedFeature(Features)

    Trait Implementations§

    source§

    impl Clone for RequestDeviceError

    source§

    fn clone(&self) -> RequestDeviceError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RequestDeviceError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for RequestDeviceError

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where +

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    Device(DeviceError)

    §

    LimitsExceeded(FailedLimit)

    §

    UnsupportedFeature(Features)

    Trait Implementations§

    source§

    impl Clone for RequestDeviceError

    source§

    fn clone(&self) -> RequestDeviceError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RequestDeviceError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for RequestDeviceError

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for RequestDeviceError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for RequestDeviceError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<DeviceError> for RequestDeviceError

    source§

    fn from(source: DeviceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<FailedLimit> for RequestDeviceError

    source§

    fn from(source: FailedLimit) -> Self

    Converts to this type from the input type.
    source§

    impl Serialize for RequestDeviceError

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where @@ -19,7 +19,7 @@ T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/instance/fn.parse_backends_from_comma_list.html b/doc/wgpu_core/instance/fn.parse_backends_from_comma_list.html index 8509a91143a8..d8cd794fcce0 100644 --- a/doc/wgpu_core/instance/fn.parse_backends_from_comma_list.html +++ b/doc/wgpu_core/instance/fn.parse_backends_from_comma_list.html @@ -1,5 +1,5 @@ parse_backends_from_comma_list in wgpu_core::instance - Rust -
    pub fn parse_backends_from_comma_list(string: &str) -> Backends
    Expand description

    Generates a set of backends from a comma separated list of case-insensitive backend names.

    +
    pub fn parse_backends_from_comma_list(string: &str) -> Backends
    Expand description

    Generates a set of backends from a comma separated list of case-insensitive backend names.

    Whitespace is stripped, so both ‘gl, dx12’ and ‘gl,dx12’ are valid.

    Always returns WEBGPU on wasm over webgpu.

    Names:

    diff --git a/doc/wgpu_core/instance/struct.Adapter.html b/doc/wgpu_core/instance/struct.Adapter.html index 51f2c0826217..c6b36f742b07 100644 --- a/doc/wgpu_core/instance/struct.Adapter.html +++ b/doc/wgpu_core/instance/struct.Adapter.html @@ -1,12 +1,12 @@ Adapter in wgpu_core::instance - Rust -

    Struct wgpu_core::instance::Adapter

    source ·
    pub struct Adapter { /* private fields */ }

    Implementations§

    source§

    impl Adapter

    source

    pub fn new(raw: DynExposedAdapter) -> Self

    source

    pub fn backend(&self) -> Backend

    Returns the backend this adapter is using.

    -
    source

    pub fn is_surface_supported(&self, surface: &Surface) -> bool

    source

    pub fn get_info(&self) -> AdapterInfo

    source

    pub fn features(&self) -> Features

    source

    pub fn limits(&self) -> Limits

    source

    pub fn downlevel_capabilities(&self) -> DownlevelCapabilities

    source

    pub fn get_presentation_timestamp(&self) -> PresentationTimestamp

    source

    pub fn get_texture_format_features( +

    Struct wgpu_core::instance::Adapter

    source ·
    pub struct Adapter { /* private fields */ }

    Implementations§

    source§

    impl Adapter

    source

    pub fn new(raw: DynExposedAdapter) -> Self

    source

    pub fn backend(&self) -> Backend

    Returns the backend this adapter is using.

    +
    source

    pub fn is_surface_supported(&self, surface: &Surface) -> bool

    source

    pub fn get_info(&self) -> AdapterInfo

    source

    pub fn features(&self) -> Features

    source

    pub fn limits(&self) -> Limits

    source

    pub fn downlevel_capabilities(&self) -> DownlevelCapabilities

    source

    pub fn get_presentation_timestamp(&self) -> PresentationTimestamp

    source

    pub fn get_texture_format_features( &self, - format: TextureFormat -) -> TextureFormatFeatures

    source

    pub fn create_device_and_queue( + format: TextureFormat +) -> TextureFormatFeatures

    source

    pub fn create_device_and_queue( self: &Arc<Self>, desc: &DeviceDescriptor<'_>, - instance_flags: InstanceFlags, + instance_flags: InstanceFlags, trace_path: Option<&Path> ) -> Result<(Arc<Device>, Arc<Queue>), RequestDeviceError>

    Trait Implementations§

    source§

    impl ResourceType for Adapter

    source§

    const TYPE: &'static str = "Adapter"

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where @@ -18,7 +18,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/instance/struct.FailedLimit.html b/doc/wgpu_core/instance/struct.FailedLimit.html index dc0cd4d4c99e..eb6348ae324c 100644 --- a/doc/wgpu_core/instance/struct.FailedLimit.html +++ b/doc/wgpu_core/instance/struct.FailedLimit.html @@ -14,7 +14,7 @@ T: Display + ?Sized,
    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/instance/struct.Instance.html b/doc/wgpu_core/instance/struct.Instance.html index 56095e971749..e4234affa0dc 100644 --- a/doc/wgpu_core/instance/struct.Instance.html +++ b/doc/wgpu_core/instance/struct.Instance.html @@ -1,11 +1,11 @@ Instance in wgpu_core::instance - Rust
    pub struct Instance {
         pub name: String,
    -    pub instance_per_backend: Vec<(Backend, Box<dyn DynInstance>)>,
    -    pub flags: InstanceFlags,
    -}

    Fields§

    §name: String§instance_per_backend: Vec<(Backend, Box<dyn DynInstance>)>

    List of instances per backend.

    + pub instance_per_backend: Vec<(Backend, Box<dyn DynInstance>)>, + pub flags: InstanceFlags, +}

    Fields§

    §name: String§instance_per_backend: Vec<(Backend, Box<dyn DynInstance>)>

    List of instances per backend.

    The ordering in this list implies prioritization and needs to be preserved.

    -
    §flags: InstanceFlags

    Implementations§

    source§

    impl Instance

    source

    pub fn new(name: &str, instance_desc: InstanceDescriptor) -> Self

    source

    pub fn raw(&self, backend: Backend) -> Option<&dyn DynInstance>

    source

    pub unsafe fn as_hal<A: HalApi>(&self) -> Option<&A::Instance>

    §flags: InstanceFlags

    Implementations§

    source§

    impl Instance

    source

    pub fn new(name: &str, instance_desc: InstanceDescriptor) -> Self

    source

    pub fn raw(&self, backend: Backend) -> Option<&dyn DynInstance>

    source

    pub unsafe fn as_hal<A: HalApi>(&self) -> Option<&A::Instance>

    Safety
    • The raw instance handle returned must not be manually destroyed.
    @@ -25,10 +25,10 @@
    Safety
  • window_handle must remain valid as long as the returned SurfaceId is being used.
  • -
    source

    pub fn enumerate_adapters(&self, backends: Backends) -> Vec<Adapter>

    source

    pub fn request_adapter( +

    source

    pub fn enumerate_adapters(&self, backends: Backends) -> Vec<Adapter>

    source

    pub fn request_adapter( &self, - desc: &RequestAdapterOptions<&Surface>, - backends: Backends + desc: &RequestAdapterOptions<&Surface>, + backends: Backends ) -> Result<Adapter, RequestAdapterError>

    Trait Implementations§

    source§

    impl Default for Instance

    source§

    fn default() -> Instance

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where @@ -39,7 +39,7 @@
    Safety
    From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/instance/struct.Surface.html b/doc/wgpu_core/instance/struct.Surface.html index 284bd7e10286..96a8c52aa132 100644 --- a/doc/wgpu_core/instance/struct.Surface.html +++ b/doc/wgpu_core/instance/struct.Surface.html @@ -1,14 +1,14 @@ Surface in wgpu_core::instance - Rust

    Struct wgpu_core::instance::Surface

    source ·
    pub struct Surface {
    -    pub surface_per_backend: HashMap<Backend, Box<dyn DynSurface>>,
    +    pub surface_per_backend: HashMap<Backend, Box<dyn DynSurface>>,
         /* private fields */
    -}

    Fields§

    §surface_per_backend: HashMap<Backend, Box<dyn DynSurface>>

    Implementations§

    source§

    impl Surface

    source

    pub fn get_capabilities( +}

    Fields§

    §surface_per_backend: HashMap<Backend, Box<dyn DynSurface>>

    Implementations§

    Trait Implementations§

    source§

    impl Drop for Surface

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl ResourceType for Surface

    source§

    const TYPE: &'static str = "Surface"

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T

    source

    pub fn raw(&self, backend: Backend) -> Option<&dyn DynSurface>

    source§

    impl Surface

    Trait Implementations§

    source§

    impl Drop for Surface

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl ResourceType for Surface

    source§

    const TYPE: &'static str = "Surface"

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -18,7 +18,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/instance/type.RequestAdapterOptions.html b/doc/wgpu_core/instance/type.RequestAdapterOptions.html index 47cd463583f8..eb2fe5367ef9 100644 --- a/doc/wgpu_core/instance/type.RequestAdapterOptions.html +++ b/doc/wgpu_core/instance/type.RequestAdapterOptions.html @@ -1,9 +1,9 @@ RequestAdapterOptions in wgpu_core::instance - Rust -
    pub type RequestAdapterOptions = RequestAdapterOptions<SurfaceId>;

    Aliased Type§

    struct RequestAdapterOptions {
    -    pub power_preference: PowerPreference,
    +    
    pub type RequestAdapterOptions = RequestAdapterOptions<SurfaceId>;

    Aliased Type§

    struct RequestAdapterOptions {
    +    pub power_preference: PowerPreference,
         pub force_fallback_adapter: bool,
         pub compatible_surface: Option<Id<Surface>>,
    -}

    Fields§

    §power_preference: PowerPreference

    Power preference for the adapter.

    +}

    Fields§

    §power_preference: PowerPreference

    Power preference for the adapter.

    §force_fallback_adapter: bool

    Indicates that only a fallback adapter can be returned. This is generally a “software” implementation on the system.

    §compatible_surface: Option<Id<Surface>>

    Surface that is required to be presentable with the requested adapter. This does not diff --git a/doc/wgpu_core/pipeline/enum.ColorStateError.html b/doc/wgpu_core/pipeline/enum.ColorStateError.html index 6d20a7506711..700a664d7e42 100644 --- a/doc/wgpu_core/pipeline/enum.ColorStateError.html +++ b/doc/wgpu_core/pipeline/enum.ColorStateError.html @@ -1,15 +1,15 @@ ColorStateError in wgpu_core::pipeline - Rust

    #[non_exhaustive]
    pub enum ColorStateError { - FormatNotRenderable(TextureFormat), - FormatNotBlendable(TextureFormat), - FormatNotColor(TextureFormat), - InvalidSampleCount(u32, TextureFormat, Vec<u32>, Vec<u32>), + FormatNotRenderable(TextureFormat), + FormatNotBlendable(TextureFormat), + FormatNotColor(TextureFormat), + InvalidSampleCount(u32, TextureFormat, Vec<u32>, Vec<u32>), IncompatibleFormat { pipeline: NumericType, shader: NumericType, }, - InvalidWriteMask(ColorWrites), -}

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    FormatNotRenderable(TextureFormat)

    §

    FormatNotBlendable(TextureFormat)

    §

    FormatNotColor(TextureFormat)

    §

    InvalidSampleCount(u32, TextureFormat, Vec<u32>, Vec<u32>)

    §

    IncompatibleFormat

    Fields

    §pipeline: NumericType
    §

    InvalidWriteMask(ColorWrites)

    Trait Implementations§

    source§

    impl Clone for ColorStateError

    source§

    fn clone(&self) -> ColorStateError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ColorStateError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for ColorStateError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for ColorStateError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + InvalidWriteMask(ColorWrites), +}

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    FormatNotRenderable(TextureFormat)

    §

    FormatNotBlendable(TextureFormat)

    §

    FormatNotColor(TextureFormat)

    §

    InvalidSampleCount(u32, TextureFormat, Vec<u32>, Vec<u32>)

    §

    IncompatibleFormat

    Fields

    §pipeline: NumericType
    §

    InvalidWriteMask(ColorWrites)

    Trait Implementations§

    source§

    impl Clone for ColorStateError

    source§

    fn clone(&self) -> ColorStateError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ColorStateError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for ColorStateError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for ColorStateError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -21,7 +21,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/pipeline/enum.CreateComputePipelineError.html b/doc/wgpu_core/pipeline/enum.CreateComputePipelineError.html index d7a1adaf9c63..6481081c8be6 100644 --- a/doc/wgpu_core/pipeline/enum.CreateComputePipelineError.html +++ b/doc/wgpu_core/pipeline/enum.CreateComputePipelineError.html @@ -19,7 +19,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/pipeline/enum.CreatePipelineCacheError.html b/doc/wgpu_core/pipeline/enum.CreatePipelineCacheError.html index 0268a5ec90f4..1178ad4ec0fe 100644 --- a/doc/wgpu_core/pipeline/enum.CreatePipelineCacheError.html +++ b/doc/wgpu_core/pipeline/enum.CreatePipelineCacheError.html @@ -15,7 +15,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/pipeline/enum.CreateRenderPipelineError.html b/doc/wgpu_core/pipeline/enum.CreateRenderPipelineError.html index 338afc4ffb47..97167d2167a5 100644 --- a/doc/wgpu_core/pipeline/enum.CreateRenderPipelineError.html +++ b/doc/wgpu_core/pipeline/enum.CreateRenderPipelineError.html @@ -21,30 +21,30 @@ }, UnalignedVertexStride { index: u32, - stride: BufferAddress, + stride: BufferAddress, }, InvalidVertexAttributeOffset { - location: ShaderLocation, - offset: BufferAddress, + location: ShaderLocation, + offset: BufferAddress, }, ShaderLocationClash(u32), StripIndexFormatForNonStripTopology { - strip_index_format: Option<IndexFormat>, - topology: PrimitiveTopology, + strip_index_format: Option<IndexFormat>, + topology: PrimitiveTopology, }, ConservativeRasterizationNonFillPolygonMode, MissingFeatures(MissingFeatures), MissingDownlevelFlags(MissingDownlevelFlags), Stage { - stage: ShaderStages, + stage: ShaderStages, error: StageError, }, Internal { - stage: ShaderStages, + stage: ShaderStages, error: String, }, PipelineConstants { - stage: ShaderStages, + stage: ShaderStages, error: String, }, UnalignedShader { @@ -53,14 +53,14 @@ size: u64, }, BlendFactorOnUnsupportedTarget { - factor: BlendFactor, + factor: BlendFactor, target: u32, }, PipelineExpectsShaderToUseDualSourceBlending, ShaderExpectsPipelineToUseDualSourceBlending, NoTargetSpecified, InvalidResource(InvalidResourceError), -}

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    ColorAttachment(ColorAttachmentError)

    §

    Device(DeviceError)

    §

    Implicit(ImplicitLayoutError)

    §

    ColorState(u8, ColorStateError)

    §

    DepthStencilState(DepthStencilStateError)

    §

    InvalidSampleCount(u32)

    §

    TooManyVertexBuffers

    Fields

    §given: u32
    §limit: u32
    §

    TooManyVertexAttributes

    Fields

    §given: u32
    §limit: u32
    §

    VertexStrideTooLarge

    Fields

    §index: u32
    §given: u32
    §limit: u32
    §

    UnalignedVertexStride

    Fields

    §index: u32
    §

    InvalidVertexAttributeOffset

    Fields

    §

    ShaderLocationClash(u32)

    §

    StripIndexFormatForNonStripTopology

    Fields

    §strip_index_format: Option<IndexFormat>
    §

    ConservativeRasterizationNonFillPolygonMode

    §

    MissingFeatures(MissingFeatures)

    §

    MissingDownlevelFlags(MissingDownlevelFlags)

    §

    Stage

    Fields

    §

    Internal

    Fields

    §error: String
    §

    PipelineConstants

    Fields

    §error: String
    §

    UnalignedShader

    Fields

    §group: u32
    §binding: u32
    §size: u64
    §

    BlendFactorOnUnsupportedTarget

    Fields

    §target: u32
    §

    PipelineExpectsShaderToUseDualSourceBlending

    §

    ShaderExpectsPipelineToUseDualSourceBlending

    §

    NoTargetSpecified

    §

    InvalidResource(InvalidResourceError)

    Trait Implementations§

    source§

    impl Clone for CreateRenderPipelineError

    source§

    fn clone(&self) -> CreateRenderPipelineError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for CreateRenderPipelineError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for CreateRenderPipelineError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for CreateRenderPipelineError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<ColorAttachmentError> for CreateRenderPipelineError

    source§

    fn from(source: ColorAttachmentError) -> Self

    Converts to this type from the input type.
    source§

    impl From<DepthStencilStateError> for CreateRenderPipelineError

    source§

    fn from(source: DepthStencilStateError) -> Self

    Converts to this type from the input type.
    source§

    impl From<DeviceError> for CreateRenderPipelineError

    source§

    fn from(source: DeviceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<ImplicitLayoutError> for CreateRenderPipelineError

    source§

    fn from(source: ImplicitLayoutError) -> Self

    Converts to this type from the input type.
    source§

    impl From<InvalidResourceError> for CreateRenderPipelineError

    source§

    fn from(source: InvalidResourceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingDownlevelFlags> for CreateRenderPipelineError

    source§

    fn from(source: MissingDownlevelFlags) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingFeatures> for CreateRenderPipelineError

    source§

    fn from(source: MissingFeatures) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    }

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    ColorAttachment(ColorAttachmentError)

    §

    Device(DeviceError)

    §

    Implicit(ImplicitLayoutError)

    §

    ColorState(u8, ColorStateError)

    §

    DepthStencilState(DepthStencilStateError)

    §

    InvalidSampleCount(u32)

    §

    TooManyVertexBuffers

    Fields

    §given: u32
    §limit: u32
    §

    TooManyVertexAttributes

    Fields

    §given: u32
    §limit: u32
    §

    VertexStrideTooLarge

    Fields

    §index: u32
    §given: u32
    §limit: u32
    §

    UnalignedVertexStride

    Fields

    §index: u32
    §stride: BufferAddress
    §

    InvalidVertexAttributeOffset

    Fields

    §location: ShaderLocation
    §offset: BufferAddress
    §

    ShaderLocationClash(u32)

    §

    StripIndexFormatForNonStripTopology

    Fields

    §strip_index_format: Option<IndexFormat>
    §topology: PrimitiveTopology
    §

    ConservativeRasterizationNonFillPolygonMode

    §

    MissingFeatures(MissingFeatures)

    §

    MissingDownlevelFlags(MissingDownlevelFlags)

    §

    Stage

    Fields

    §stage: ShaderStages
    §

    Internal

    Fields

    §stage: ShaderStages
    §error: String
    §

    PipelineConstants

    Fields

    §stage: ShaderStages
    §error: String
    §

    UnalignedShader

    Fields

    §group: u32
    §binding: u32
    §size: u64
    §

    BlendFactorOnUnsupportedTarget

    Fields

    §factor: BlendFactor
    §target: u32
    §

    PipelineExpectsShaderToUseDualSourceBlending

    §

    ShaderExpectsPipelineToUseDualSourceBlending

    §

    NoTargetSpecified

    §

    InvalidResource(InvalidResourceError)

    Trait Implementations§

    source§

    impl Clone for CreateRenderPipelineError

    source§

    fn clone(&self) -> CreateRenderPipelineError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for CreateRenderPipelineError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for CreateRenderPipelineError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for CreateRenderPipelineError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<ColorAttachmentError> for CreateRenderPipelineError

    source§

    fn from(source: ColorAttachmentError) -> Self

    Converts to this type from the input type.
    source§

    impl From<DepthStencilStateError> for CreateRenderPipelineError

    source§

    fn from(source: DepthStencilStateError) -> Self

    Converts to this type from the input type.
    source§

    impl From<DeviceError> for CreateRenderPipelineError

    source§

    fn from(source: DeviceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<ImplicitLayoutError> for CreateRenderPipelineError

    source§

    fn from(source: ImplicitLayoutError) -> Self

    Converts to this type from the input type.
    source§

    impl From<InvalidResourceError> for CreateRenderPipelineError

    source§

    fn from(source: InvalidResourceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingDownlevelFlags> for CreateRenderPipelineError

    source§

    fn from(source: MissingDownlevelFlags) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingFeatures> for CreateRenderPipelineError

    source§

    fn from(source: MissingFeatures) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -72,7 +72,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/pipeline/enum.CreateShaderModuleError.html b/doc/wgpu_core/pipeline/enum.CreateShaderModuleError.html index c2e1c2bf1a03..09f7cffe1bfa 100644 --- a/doc/wgpu_core/pipeline/enum.CreateShaderModuleError.html +++ b/doc/wgpu_core/pipeline/enum.CreateShaderModuleError.html @@ -22,7 +22,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/pipeline/enum.DepthStencilStateError.html b/doc/wgpu_core/pipeline/enum.DepthStencilStateError.html index ac3fefa54365..f6b40ce324f3 100644 --- a/doc/wgpu_core/pipeline/enum.DepthStencilStateError.html +++ b/doc/wgpu_core/pipeline/enum.DepthStencilStateError.html @@ -1,10 +1,10 @@ DepthStencilStateError in wgpu_core::pipeline - Rust
    #[non_exhaustive]
    pub enum DepthStencilStateError { - FormatNotRenderable(TextureFormat), - FormatNotDepth(TextureFormat), - FormatNotStencil(TextureFormat), - InvalidSampleCount(u32, TextureFormat, Vec<u32>, Vec<u32>), -}

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    FormatNotRenderable(TextureFormat)

    §

    FormatNotDepth(TextureFormat)

    §

    FormatNotStencil(TextureFormat)

    §

    InvalidSampleCount(u32, TextureFormat, Vec<u32>, Vec<u32>)

    Trait Implementations§

    source§

    impl Clone for DepthStencilStateError

    source§

    fn clone(&self) -> DepthStencilStateError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for DepthStencilStateError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for DepthStencilStateError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for DepthStencilStateError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<DepthStencilStateError> for CreateRenderPipelineError

    source§

    fn from(source: DepthStencilStateError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + FormatNotRenderable(TextureFormat), + FormatNotDepth(TextureFormat), + FormatNotStencil(TextureFormat), + InvalidSampleCount(u32, TextureFormat, Vec<u32>, Vec<u32>), +}

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    FormatNotRenderable(TextureFormat)

    §

    FormatNotDepth(TextureFormat)

    §

    FormatNotStencil(TextureFormat)

    §

    InvalidSampleCount(u32, TextureFormat, Vec<u32>, Vec<u32>)

    Trait Implementations§

    source§

    impl Clone for DepthStencilStateError

    source§

    fn clone(&self) -> DepthStencilStateError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for DepthStencilStateError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for DepthStencilStateError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for DepthStencilStateError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<DepthStencilStateError> for CreateRenderPipelineError

    source§

    fn from(source: DepthStencilStateError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -16,7 +16,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/pipeline/enum.ImplicitLayoutError.html b/doc/wgpu_core/pipeline/enum.ImplicitLayoutError.html index 11e7e36b6164..c1f3c1441410 100644 --- a/doc/wgpu_core/pipeline/enum.ImplicitLayoutError.html +++ b/doc/wgpu_core/pipeline/enum.ImplicitLayoutError.html @@ -2,10 +2,10 @@
    #[non_exhaustive]
    pub enum ImplicitLayoutError { MissingImplicitPipelineIds, MissingIds(ImplicitBindGroupCount), - ReflectionError(ShaderStages), + ReflectionError(ShaderStages), BindGroup(CreateBindGroupLayoutError), Pipeline(CreatePipelineLayoutError), -}

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    MissingImplicitPipelineIds

    §

    MissingIds(ImplicitBindGroupCount)

    §

    ReflectionError(ShaderStages)

    §

    BindGroup(CreateBindGroupLayoutError)

    §

    Pipeline(CreatePipelineLayoutError)

    Trait Implementations§

    source§

    impl Clone for ImplicitLayoutError

    source§

    fn clone(&self) -> ImplicitLayoutError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ImplicitLayoutError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for ImplicitLayoutError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for ImplicitLayoutError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<CreateBindGroupLayoutError> for ImplicitLayoutError

    source§

    fn from(source: CreateBindGroupLayoutError) -> Self

    Converts to this type from the input type.
    source§

    impl From<CreatePipelineLayoutError> for ImplicitLayoutError

    source§

    fn from(source: CreatePipelineLayoutError) -> Self

    Converts to this type from the input type.
    source§

    impl From<ImplicitLayoutError> for CreateComputePipelineError

    source§

    fn from(source: ImplicitLayoutError) -> Self

    Converts to this type from the input type.
    source§

    impl From<ImplicitLayoutError> for CreateRenderPipelineError

    source§

    fn from(source: ImplicitLayoutError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +}

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    MissingImplicitPipelineIds

    §

    MissingIds(ImplicitBindGroupCount)

    §

    ReflectionError(ShaderStages)

    §

    BindGroup(CreateBindGroupLayoutError)

    §

    Pipeline(CreatePipelineLayoutError)

    Trait Implementations§

    source§

    impl Clone for ImplicitLayoutError

    source§

    fn clone(&self) -> ImplicitLayoutError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ImplicitLayoutError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for ImplicitLayoutError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for ImplicitLayoutError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<CreateBindGroupLayoutError> for ImplicitLayoutError

    source§

    fn from(source: CreateBindGroupLayoutError) -> Self

    Converts to this type from the input type.
    source§

    impl From<CreatePipelineLayoutError> for ImplicitLayoutError

    source§

    fn from(source: CreatePipelineLayoutError) -> Self

    Converts to this type from the input type.
    source§

    impl From<ImplicitLayoutError> for CreateComputePipelineError

    source§

    fn from(source: ImplicitLayoutError) -> Self

    Converts to this type from the input type.
    source§

    impl From<ImplicitLayoutError> for CreateRenderPipelineError

    source§

    fn from(source: ImplicitLayoutError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -17,7 +17,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/pipeline/enum.PipelineCacheValidationError.html b/doc/wgpu_core/pipeline/enum.PipelineCacheValidationError.html index a1309dc3084a..60b20d943152 100644 --- a/doc/wgpu_core/pipeline/enum.PipelineCacheValidationError.html +++ b/doc/wgpu_core/pipeline/enum.PipelineCacheValidationError.html @@ -26,7 +26,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/pipeline/enum.ShaderModuleSource.html b/doc/wgpu_core/pipeline/enum.ShaderModuleSource.html index 500a2072ccea..8cedde22a15d 100644 --- a/doc/wgpu_core/pipeline/enum.ShaderModuleSource.html +++ b/doc/wgpu_core/pipeline/enum.ShaderModuleSource.html @@ -13,7 +13,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/pipeline/struct.ComputePipeline.html b/doc/wgpu_core/pipeline/struct.ComputePipeline.html index 327c737aae8c..2f815895f20b 100644 --- a/doc/wgpu_core/pipeline/struct.ComputePipeline.html +++ b/doc/wgpu_core/pipeline/struct.ComputePipeline.html @@ -9,7 +9,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/pipeline/struct.ComputePipelineDescriptor.html b/doc/wgpu_core/pipeline/struct.ComputePipelineDescriptor.html index 1261f5d43ade..489e066a99ed 100644 --- a/doc/wgpu_core/pipeline/struct.ComputePipelineDescriptor.html +++ b/doc/wgpu_core/pipeline/struct.ComputePipelineDescriptor.html @@ -22,7 +22,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/pipeline/struct.FragmentState.html b/doc/wgpu_core/pipeline/struct.FragmentState.html index b7c8fc4d2f1a..7e8f6dc4ef79 100644 --- a/doc/wgpu_core/pipeline/struct.FragmentState.html +++ b/doc/wgpu_core/pipeline/struct.FragmentState.html @@ -1,10 +1,10 @@ FragmentState in wgpu_core::pipeline - Rust
    pub struct FragmentState<'a> {
         pub stage: ProgrammableStageDescriptor<'a>,
    -    pub targets: Cow<'a, [Option<ColorTargetState>]>,
    +    pub targets: Cow<'a, [Option<ColorTargetState>]>,
     }
    Expand description

    Describes fragment processing in a render pipeline.

    Fields§

    §stage: ProgrammableStageDescriptor<'a>

    The compiled fragment stage and its entry point.

    -
    §targets: Cow<'a, [Option<ColorTargetState>]>

    The effect of draw calls on the color aspect of the output target.

    +
    §targets: Cow<'a, [Option<ColorTargetState>]>

    The effect of draw calls on the color aspect of the output target.

    Trait Implementations§

    source§

    impl<'a> Clone for FragmentState<'a>

    source§

    fn clone(&self) -> FragmentState<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a> Debug for FragmentState<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for FragmentState<'a>

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> Serialize for FragmentState<'a>

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for FragmentState<'a>

    §

    impl<'a> Send for FragmentState<'a>

    §

    impl<'a> Sync for FragmentState<'a>

    §

    impl<'a> Unpin for FragmentState<'a>

    §

    impl<'a> UnwindSafe for FragmentState<'a>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where @@ -19,7 +19,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/pipeline/struct.PipelineCache.html b/doc/wgpu_core/pipeline/struct.PipelineCache.html index 02734598242c..b5007d4dbac8 100644 --- a/doc/wgpu_core/pipeline/struct.PipelineCache.html +++ b/doc/wgpu_core/pipeline/struct.PipelineCache.html @@ -9,7 +9,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/pipeline/struct.PipelineCacheDescriptor.html b/doc/wgpu_core/pipeline/struct.PipelineCacheDescriptor.html index 380daa5225e5..500d72b015a1 100644 --- a/doc/wgpu_core/pipeline/struct.PipelineCacheDescriptor.html +++ b/doc/wgpu_core/pipeline/struct.PipelineCacheDescriptor.html @@ -17,7 +17,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/pipeline/struct.PipelineFlags.html b/doc/wgpu_core/pipeline/struct.PipelineFlags.html index 5de4a9b705b7..7897b760d93e 100644 --- a/doc/wgpu_core/pipeline/struct.PipelineFlags.html +++ b/doc/wgpu_core/pipeline/struct.PipelineFlags.html @@ -73,7 +73,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/pipeline/struct.ProgrammableStageDescriptor.html b/doc/wgpu_core/pipeline/struct.ProgrammableStageDescriptor.html index 33e57fd39ab4..99ad97d1af54 100644 --- a/doc/wgpu_core/pipeline/struct.ProgrammableStageDescriptor.html +++ b/doc/wgpu_core/pipeline/struct.ProgrammableStageDescriptor.html @@ -35,7 +35,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/pipeline/struct.RenderPipeline.html b/doc/wgpu_core/pipeline/struct.RenderPipeline.html index ee7e52bed2fb..ffb83faea82f 100644 --- a/doc/wgpu_core/pipeline/struct.RenderPipeline.html +++ b/doc/wgpu_core/pipeline/struct.RenderPipeline.html @@ -9,7 +9,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/pipeline/struct.RenderPipelineDescriptor.html b/doc/wgpu_core/pipeline/struct.RenderPipelineDescriptor.html index d7edeb36eca2..aae14ce6af85 100644 --- a/doc/wgpu_core/pipeline/struct.RenderPipelineDescriptor.html +++ b/doc/wgpu_core/pipeline/struct.RenderPipelineDescriptor.html @@ -3,18 +3,18 @@ pub label: Label<'a>, pub layout: Option<PipelineLayoutId>, pub vertex: VertexState<'a>, - pub primitive: PrimitiveState, - pub depth_stencil: Option<DepthStencilState>, - pub multisample: MultisampleState, + pub primitive: PrimitiveState, + pub depth_stencil: Option<DepthStencilState>, + pub multisample: MultisampleState, pub fragment: Option<FragmentState<'a>>, pub multiview: Option<NonZeroU32>, pub cache: Option<PipelineCacheId>, }
    Expand description

    Describes a render (graphics) pipeline.

    Fields§

    §label: Label<'a>§layout: Option<PipelineLayoutId>

    The layout of bind groups for this pipeline.

    §vertex: VertexState<'a>

    The vertex processing state for this pipeline.

    -
    §primitive: PrimitiveState

    The properties of the pipeline at the primitive assembly and rasterization level.

    -
    §depth_stencil: Option<DepthStencilState>

    The effect of draw calls on the depth and stencil aspects of the output target, if any.

    -
    §multisample: MultisampleState

    The multi-sampling properties of the pipeline.

    +
    §primitive: PrimitiveState

    The properties of the pipeline at the primitive assembly and rasterization level.

    +
    §depth_stencil: Option<DepthStencilState>

    The effect of draw calls on the depth and stencil aspects of the output target, if any.

    +
    §multisample: MultisampleState

    The multi-sampling properties of the pipeline.

    §fragment: Option<FragmentState<'a>>

    The fragment processing state for this pipeline.

    §multiview: Option<NonZeroU32>

    If the pipeline will be used with a multiview render pass, this indicates how many array layers the attachments will have.

    @@ -33,7 +33,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/pipeline/struct.ResolvedComputePipelineDescriptor.html b/doc/wgpu_core/pipeline/struct.ResolvedComputePipelineDescriptor.html index 324fb3b0b6df..ec9d439e8ada 100644 --- a/doc/wgpu_core/pipeline/struct.ResolvedComputePipelineDescriptor.html +++ b/doc/wgpu_core/pipeline/struct.ResolvedComputePipelineDescriptor.html @@ -19,7 +19,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/pipeline/struct.ResolvedFragmentState.html b/doc/wgpu_core/pipeline/struct.ResolvedFragmentState.html index 7afaf66a0fad..ae80b8fb3551 100644 --- a/doc/wgpu_core/pipeline/struct.ResolvedFragmentState.html +++ b/doc/wgpu_core/pipeline/struct.ResolvedFragmentState.html @@ -1,10 +1,10 @@ ResolvedFragmentState in wgpu_core::pipeline - Rust
    pub struct ResolvedFragmentState<'a> {
         pub stage: ResolvedProgrammableStageDescriptor<'a>,
    -    pub targets: Cow<'a, [Option<ColorTargetState>]>,
    +    pub targets: Cow<'a, [Option<ColorTargetState>]>,
     }
    Expand description

    Describes fragment processing in a render pipeline.

    Fields§

    §stage: ResolvedProgrammableStageDescriptor<'a>

    The compiled fragment stage and its entry point.

    -
    §targets: Cow<'a, [Option<ColorTargetState>]>

    The effect of draw calls on the color aspect of the output target.

    +
    §targets: Cow<'a, [Option<ColorTargetState>]>

    The effect of draw calls on the color aspect of the output target.

    Trait Implementations§

    source§

    impl<'a> Clone for ResolvedFragmentState<'a>

    source§

    fn clone(&self) -> ResolvedFragmentState<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a> Debug for ResolvedFragmentState<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where @@ -16,7 +16,7 @@

    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/pipeline/struct.ResolvedProgrammableStageDescriptor.html b/doc/wgpu_core/pipeline/struct.ResolvedProgrammableStageDescriptor.html index 729dc48c13f2..da927438ff6c 100644 --- a/doc/wgpu_core/pipeline/struct.ResolvedProgrammableStageDescriptor.html +++ b/doc/wgpu_core/pipeline/struct.ResolvedProgrammableStageDescriptor.html @@ -32,7 +32,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/pipeline/struct.ResolvedRenderPipelineDescriptor.html b/doc/wgpu_core/pipeline/struct.ResolvedRenderPipelineDescriptor.html index c2e64adad768..49349c490ff8 100644 --- a/doc/wgpu_core/pipeline/struct.ResolvedRenderPipelineDescriptor.html +++ b/doc/wgpu_core/pipeline/struct.ResolvedRenderPipelineDescriptor.html @@ -3,18 +3,18 @@ pub label: Label<'a>, pub layout: Option<Arc<PipelineLayout>>, pub vertex: ResolvedVertexState<'a>, - pub primitive: PrimitiveState, - pub depth_stencil: Option<DepthStencilState>, - pub multisample: MultisampleState, + pub primitive: PrimitiveState, + pub depth_stencil: Option<DepthStencilState>, + pub multisample: MultisampleState, pub fragment: Option<ResolvedFragmentState<'a>>, pub multiview: Option<NonZeroU32>, pub cache: Option<Arc<PipelineCache>>, }
    Expand description

    Describes a render (graphics) pipeline.

    Fields§

    §label: Label<'a>§layout: Option<Arc<PipelineLayout>>

    The layout of bind groups for this pipeline.

    §vertex: ResolvedVertexState<'a>

    The vertex processing state for this pipeline.

    -
    §primitive: PrimitiveState

    The properties of the pipeline at the primitive assembly and rasterization level.

    -
    §depth_stencil: Option<DepthStencilState>

    The effect of draw calls on the depth and stencil aspects of the output target, if any.

    -
    §multisample: MultisampleState

    The multi-sampling properties of the pipeline.

    +
    §primitive: PrimitiveState

    The properties of the pipeline at the primitive assembly and rasterization level.

    +
    §depth_stencil: Option<DepthStencilState>

    The effect of draw calls on the depth and stencil aspects of the output target, if any.

    +
    §multisample: MultisampleState

    The multi-sampling properties of the pipeline.

    §fragment: Option<ResolvedFragmentState<'a>>

    The fragment processing state for this pipeline.

    §multiview: Option<NonZeroU32>

    If the pipeline will be used with a multiview render pass, this indicates how many array layers the attachments will have.

    @@ -30,7 +30,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/pipeline/struct.ResolvedVertexState.html b/doc/wgpu_core/pipeline/struct.ResolvedVertexState.html index 4a0df57e6bd1..5a8767bdb0e2 100644 --- a/doc/wgpu_core/pipeline/struct.ResolvedVertexState.html +++ b/doc/wgpu_core/pipeline/struct.ResolvedVertexState.html @@ -16,7 +16,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/pipeline/struct.ShaderModule.html b/doc/wgpu_core/pipeline/struct.ShaderModule.html index c7855f176ef5..9c16982ee4ae 100644 --- a/doc/wgpu_core/pipeline/struct.ShaderModule.html +++ b/doc/wgpu_core/pipeline/struct.ShaderModule.html @@ -9,7 +9,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/pipeline/struct.ShaderModuleDescriptor.html b/doc/wgpu_core/pipeline/struct.ShaderModuleDescriptor.html index 4871191d6939..659009993350 100644 --- a/doc/wgpu_core/pipeline/struct.ShaderModuleDescriptor.html +++ b/doc/wgpu_core/pipeline/struct.ShaderModuleDescriptor.html @@ -1,8 +1,8 @@ ShaderModuleDescriptor in wgpu_core::pipeline - Rust
    pub struct ShaderModuleDescriptor<'a> {
         pub label: Label<'a>,
    -    pub runtime_checks: ShaderRuntimeChecks,
    -}

    Fields§

    §label: Label<'a>§runtime_checks: ShaderRuntimeChecks

    Trait Implementations§

    source§

    impl<'a> Clone for ShaderModuleDescriptor<'a>

    source§

    fn clone(&self) -> ShaderModuleDescriptor<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a> Debug for ShaderModuleDescriptor<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for ShaderModuleDescriptor<'a>

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + pub runtime_checks: ShaderRuntimeChecks, +}

    Fields§

    §label: Label<'a>§runtime_checks: ShaderRuntimeChecks

    Trait Implementations§

    source§

    impl<'a> Clone for ShaderModuleDescriptor<'a>

    source§

    fn clone(&self) -> ShaderModuleDescriptor<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a> Debug for ShaderModuleDescriptor<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for ShaderModuleDescriptor<'a>

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> Serialize for ShaderModuleDescriptor<'a>

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where @@ -16,7 +16,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/pipeline/struct.VertexBufferLayout.html b/doc/wgpu_core/pipeline/struct.VertexBufferLayout.html index abea5538340c..bbfc617148b8 100644 --- a/doc/wgpu_core/pipeline/struct.VertexBufferLayout.html +++ b/doc/wgpu_core/pipeline/struct.VertexBufferLayout.html @@ -1,12 +1,12 @@ VertexBufferLayout in wgpu_core::pipeline - Rust
    pub struct VertexBufferLayout<'a> {
    -    pub array_stride: BufferAddress,
    -    pub step_mode: VertexStepMode,
    -    pub attributes: Cow<'a, [VertexAttribute]>,
    +    pub array_stride: BufferAddress,
    +    pub step_mode: VertexStepMode,
    +    pub attributes: Cow<'a, [VertexAttribute]>,
     }
    Expand description

    Describes how the vertex buffer is interpreted.

    -

    Fields§

    §array_stride: BufferAddress

    The stride, in bytes, between elements of this buffer.

    -
    §step_mode: VertexStepMode

    How often this vertex buffer is “stepped” forward.

    -
    §attributes: Cow<'a, [VertexAttribute]>

    The list of attributes which comprise a single vertex.

    +

    Fields§

    §array_stride: BufferAddress

    The stride, in bytes, between elements of this buffer.

    +
    §step_mode: VertexStepMode

    How often this vertex buffer is “stepped” forward.

    +
    §attributes: Cow<'a, [VertexAttribute]>

    The list of attributes which comprise a single vertex.

    Trait Implementations§

    source§

    impl<'a> Clone for VertexBufferLayout<'a>

    source§

    fn clone(&self) -> VertexBufferLayout<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a> Debug for VertexBufferLayout<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for VertexBufferLayout<'a>

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> Serialize for VertexBufferLayout<'a>

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where @@ -21,7 +21,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/pipeline/struct.VertexState.html b/doc/wgpu_core/pipeline/struct.VertexState.html index 92ab8dc399f1..0379b2207e20 100644 --- a/doc/wgpu_core/pipeline/struct.VertexState.html +++ b/doc/wgpu_core/pipeline/struct.VertexState.html @@ -19,7 +19,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/pipeline/struct.VertexStep.html b/doc/wgpu_core/pipeline/struct.VertexStep.html index 5b0156ab8f66..98e8e2d1c650 100644 --- a/doc/wgpu_core/pipeline/struct.VertexStep.html +++ b/doc/wgpu_core/pipeline/struct.VertexStep.html @@ -1,12 +1,12 @@ VertexStep in wgpu_core::pipeline - Rust
    pub struct VertexStep {
    -    pub stride: BufferAddress,
    -    pub last_stride: BufferAddress,
    -    pub mode: VertexStepMode,
    +    pub stride: BufferAddress,
    +    pub last_stride: BufferAddress,
    +    pub mode: VertexStepMode,
     }
    Expand description

    How a render pipeline will retrieve attributes from a particular vertex buffer.

    -

    Fields§

    §stride: BufferAddress

    The byte stride in the buffer between one attribute value and the next.

    -
    §last_stride: BufferAddress

    The byte size required to fit the last vertex in the stream.

    -
    §mode: VertexStepMode

    Whether the buffer is indexed by vertex number or instance number.

    +

    Fields§

    §stride: BufferAddress

    The byte stride in the buffer between one attribute value and the next.

    +
    §last_stride: BufferAddress

    The byte size required to fit the last vertex in the stream.

    +
    §mode: VertexStepMode

    Whether the buffer is indexed by vertex number or instance number.

    Trait Implementations§

    source§

    impl Clone for VertexStep

    source§

    fn clone(&self) -> VertexStep

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for VertexStep

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for VertexStep

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Copy for VertexStep

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where @@ -18,7 +18,7 @@

    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/present/enum.ConfigureSurfaceError.html b/doc/wgpu_core/present/enum.ConfigureSurfaceError.html index d62cc9188454..43bfe5751128 100644 --- a/doc/wgpu_core/present/enum.ConfigureSurfaceError.html +++ b/doc/wgpu_core/present/enum.ConfigureSurfaceError.html @@ -2,7 +2,7 @@
    #[non_exhaustive]
    pub enum ConfigureSurfaceError { Device(DeviceError), InvalidSurface, - InvalidViewFormat(TextureFormat, TextureFormat), + InvalidViewFormat(TextureFormat, TextureFormat), MissingDownlevelFlags(MissingDownlevelFlags), PreviousOutputExists, ZeroArea, @@ -13,22 +13,22 @@ }, UnsupportedQueueFamily, UnsupportedFormat { - requested: TextureFormat, - available: Vec<TextureFormat>, + requested: TextureFormat, + available: Vec<TextureFormat>, }, UnsupportedPresentMode { - requested: PresentMode, - available: Vec<PresentMode>, + requested: PresentMode, + available: Vec<PresentMode>, }, UnsupportedAlphaMode { - requested: CompositeAlphaMode, - available: Vec<CompositeAlphaMode>, + requested: CompositeAlphaMode, + available: Vec<CompositeAlphaMode>, }, UnsupportedUsage { requested: TextureUses, available: TextureUses, }, -}

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    Device(DeviceError)

    §

    InvalidSurface

    §

    InvalidViewFormat(TextureFormat, TextureFormat)

    §

    MissingDownlevelFlags(MissingDownlevelFlags)

    §

    PreviousOutputExists

    §

    ZeroArea

    §

    TooLarge

    Fields

    §width: u32
    §height: u32
    §max_texture_dimension_2d: u32
    §

    UnsupportedQueueFamily

    §

    UnsupportedFormat

    Fields

    §requested: TextureFormat
    §available: Vec<TextureFormat>
    §

    UnsupportedPresentMode

    Fields

    §requested: PresentMode
    §available: Vec<PresentMode>
    §

    UnsupportedAlphaMode

    Fields

    §

    UnsupportedUsage

    Fields

    §requested: TextureUses
    §available: TextureUses

    Trait Implementations§

    source§

    impl Clone for ConfigureSurfaceError

    source§

    fn clone(&self) -> ConfigureSurfaceError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ConfigureSurfaceError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for ConfigureSurfaceError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for ConfigureSurfaceError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<DeviceError> for ConfigureSurfaceError

    source§

    fn from(source: DeviceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingDownlevelFlags> for ConfigureSurfaceError

    source§

    fn from(source: MissingDownlevelFlags) -> Self

    Converts to this type from the input type.
    source§

    impl From<WaitIdleError> for ConfigureSurfaceError

    source§

    fn from(e: WaitIdleError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +}

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    Device(DeviceError)

    §

    InvalidSurface

    §

    InvalidViewFormat(TextureFormat, TextureFormat)

    §

    MissingDownlevelFlags(MissingDownlevelFlags)

    §

    PreviousOutputExists

    §

    ZeroArea

    §

    TooLarge

    Fields

    §width: u32
    §height: u32
    §max_texture_dimension_2d: u32
    §

    UnsupportedQueueFamily

    §

    UnsupportedFormat

    Fields

    §requested: TextureFormat
    §available: Vec<TextureFormat>
    §

    UnsupportedPresentMode

    Fields

    §requested: PresentMode
    §available: Vec<PresentMode>
    §

    UnsupportedAlphaMode

    Fields

    §requested: CompositeAlphaMode
    §available: Vec<CompositeAlphaMode>
    §

    UnsupportedUsage

    Fields

    §requested: TextureUses
    §available: TextureUses

    Trait Implementations§

    source§

    impl Clone for ConfigureSurfaceError

    source§

    fn clone(&self) -> ConfigureSurfaceError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ConfigureSurfaceError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for ConfigureSurfaceError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for ConfigureSurfaceError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<DeviceError> for ConfigureSurfaceError

    source§

    fn from(source: DeviceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingDownlevelFlags> for ConfigureSurfaceError

    source§

    fn from(source: MissingDownlevelFlags) -> Self

    Converts to this type from the input type.
    source§

    impl From<WaitIdleError> for ConfigureSurfaceError

    source§

    fn from(e: WaitIdleError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -40,7 +40,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/present/enum.SurfaceError.html b/doc/wgpu_core/present/enum.SurfaceError.html index f1fc5aac7881..80c044f3328c 100644 --- a/doc/wgpu_core/present/enum.SurfaceError.html +++ b/doc/wgpu_core/present/enum.SurfaceError.html @@ -17,7 +17,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/present/struct.ResolvedSurfaceOutput.html b/doc/wgpu_core/present/struct.ResolvedSurfaceOutput.html index 7c323861fb37..abdf4aa2ebb3 100644 --- a/doc/wgpu_core/present/struct.ResolvedSurfaceOutput.html +++ b/doc/wgpu_core/present/struct.ResolvedSurfaceOutput.html @@ -1,8 +1,8 @@ ResolvedSurfaceOutput in wgpu_core::present - Rust
    pub struct ResolvedSurfaceOutput {
    -    pub status: SurfaceStatus,
    +    pub status: SurfaceStatus,
         pub texture: Option<Arc<Texture>>,
    -}

    Fields§

    §status: SurfaceStatus§texture: Option<Arc<Texture>>

    Trait Implementations§

    source§

    impl Debug for ResolvedSurfaceOutput

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +}

    Fields§

    §status: SurfaceStatus§texture: Option<Arc<Texture>>

    Trait Implementations§

    source§

    impl Debug for ResolvedSurfaceOutput

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -12,7 +12,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/present/struct.SurfaceOutput.html b/doc/wgpu_core/present/struct.SurfaceOutput.html index d407bf0a54a5..d3db40430895 100644 --- a/doc/wgpu_core/present/struct.SurfaceOutput.html +++ b/doc/wgpu_core/present/struct.SurfaceOutput.html @@ -1,8 +1,8 @@ SurfaceOutput in wgpu_core::present - Rust
    #[repr(C)]
    pub struct SurfaceOutput { - pub status: SurfaceStatus, + pub status: SurfaceStatus, pub texture_id: Option<TextureId>, -}

    Fields§

    §status: SurfaceStatus§texture_id: Option<TextureId>

    Trait Implementations§

    source§

    impl Debug for SurfaceOutput

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +}

    Fields§

    §status: SurfaceStatus§texture_id: Option<TextureId>

    Trait Implementations§

    source§

    impl Debug for SurfaceOutput

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -12,7 +12,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/ray_tracing/enum.BuildAccelerationStructureError.html b/doc/wgpu_core/ray_tracing/enum.BuildAccelerationStructureError.html index b1384bb4a11c..001f3aa9ec08 100644 --- a/doc/wgpu_core/ray_tracing/enum.BuildAccelerationStructureError.html +++ b/doc/wgpu_core/ray_tracing/enum.BuildAccelerationStructureError.html @@ -11,12 +11,12 @@ InvalidIndexCount(ResourceErrorIdent, u32), MissingAssociatedData(ResourceErrorIdent), IncompatibleBlasBuildSizes(ResourceErrorIdent), - IncompatibleBlasFlags(ResourceErrorIdent, AccelerationStructureGeometryFlags, AccelerationStructureGeometryFlags), + IncompatibleBlasFlags(ResourceErrorIdent, AccelerationStructureGeometryFlags, AccelerationStructureGeometryFlags), IncompatibleBlasVertexCount(ResourceErrorIdent, u32, u32), - DifferentBlasVertexFormats(ResourceErrorIdent, VertexFormat, VertexFormat), + DifferentBlasVertexFormats(ResourceErrorIdent, VertexFormat, VertexFormat), BlasIndexCountProvidedMismatch(ResourceErrorIdent), IncompatibleBlasIndexCount(ResourceErrorIdent, u32, u32), - DifferentBlasIndexFormats(ResourceErrorIdent, Option<IndexFormat>, Option<IndexFormat>), + DifferentBlasIndexFormats(ResourceErrorIdent, Option<IndexFormat>, Option<IndexFormat>), MissingIndexBuffer(ResourceErrorIdent), InvalidBlasId, InvalidBlas(ResourceErrorIdent), @@ -28,7 +28,7 @@ MissingFeature, MissingTlasInputUsageFlag(ResourceErrorIdent), }
    Expand description

    Error encountered while attempting to do a copy on a command encoder.

    -

    Variants§

    §

    Encoder(CommandEncoderError)

    §

    Device(DeviceError)

    §

    InvalidBufferId

    §

    InvalidBuffer(ResourceErrorIdent)

    §

    MissingBlasInputUsageFlag(ResourceErrorIdent)

    §

    InsufficientBufferSize(ResourceErrorIdent, u64, u64)

    §

    UnalignedIndexBufferOffset(ResourceErrorIdent)

    §

    UnalignedTransformBufferOffset(ResourceErrorIdent)

    §

    InvalidIndexCount(ResourceErrorIdent, u32)

    §

    MissingAssociatedData(ResourceErrorIdent)

    §

    IncompatibleBlasBuildSizes(ResourceErrorIdent)

    §

    IncompatibleBlasFlags(ResourceErrorIdent, AccelerationStructureGeometryFlags, AccelerationStructureGeometryFlags)

    §

    IncompatibleBlasVertexCount(ResourceErrorIdent, u32, u32)

    §

    DifferentBlasVertexFormats(ResourceErrorIdent, VertexFormat, VertexFormat)

    §

    BlasIndexCountProvidedMismatch(ResourceErrorIdent)

    §

    IncompatibleBlasIndexCount(ResourceErrorIdent, u32, u32)

    §

    DifferentBlasIndexFormats(ResourceErrorIdent, Option<IndexFormat>, Option<IndexFormat>)

    §

    MissingIndexBuffer(ResourceErrorIdent)

    §

    InvalidBlasId

    §

    InvalidBlas(ResourceErrorIdent)

    §

    TlasInvalidCustomIndex(ResourceErrorIdent)

    §

    TlasInstanceCountExceeded(ResourceErrorIdent, u32, u32)

    §

    InvalidBlasIdForInstance

    §

    InvalidTlasId

    §

    InvalidTlas(ResourceErrorIdent)

    §

    MissingFeature

    §

    MissingTlasInputUsageFlag(ResourceErrorIdent)

    Trait Implementations§

    source§

    impl Clone for BuildAccelerationStructureError

    source§

    fn clone(&self) -> BuildAccelerationStructureError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for BuildAccelerationStructureError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for BuildAccelerationStructureError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for BuildAccelerationStructureError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<CommandEncoderError> for BuildAccelerationStructureError

    source§

    fn from(source: CommandEncoderError) -> Self

    Converts to this type from the input type.
    source§

    impl From<DeviceError> for BuildAccelerationStructureError

    source§

    fn from(source: DeviceError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Variants§

    §

    Encoder(CommandEncoderError)

    §

    Device(DeviceError)

    §

    InvalidBufferId

    §

    InvalidBuffer(ResourceErrorIdent)

    §

    MissingBlasInputUsageFlag(ResourceErrorIdent)

    §

    InsufficientBufferSize(ResourceErrorIdent, u64, u64)

    §

    UnalignedIndexBufferOffset(ResourceErrorIdent)

    §

    UnalignedTransformBufferOffset(ResourceErrorIdent)

    §

    InvalidIndexCount(ResourceErrorIdent, u32)

    §

    MissingAssociatedData(ResourceErrorIdent)

    §

    IncompatibleBlasBuildSizes(ResourceErrorIdent)

    §

    IncompatibleBlasFlags(ResourceErrorIdent, AccelerationStructureGeometryFlags, AccelerationStructureGeometryFlags)

    §

    IncompatibleBlasVertexCount(ResourceErrorIdent, u32, u32)

    §

    DifferentBlasVertexFormats(ResourceErrorIdent, VertexFormat, VertexFormat)

    §

    BlasIndexCountProvidedMismatch(ResourceErrorIdent)

    §

    IncompatibleBlasIndexCount(ResourceErrorIdent, u32, u32)

    §

    DifferentBlasIndexFormats(ResourceErrorIdent, Option<IndexFormat>, Option<IndexFormat>)

    §

    MissingIndexBuffer(ResourceErrorIdent)

    §

    InvalidBlasId

    §

    InvalidBlas(ResourceErrorIdent)

    §

    TlasInvalidCustomIndex(ResourceErrorIdent)

    §

    TlasInstanceCountExceeded(ResourceErrorIdent, u32, u32)

    §

    InvalidBlasIdForInstance

    §

    InvalidTlasId

    §

    InvalidTlas(ResourceErrorIdent)

    §

    MissingFeature

    §

    MissingTlasInputUsageFlag(ResourceErrorIdent)

    Trait Implementations§

    source§

    impl Clone for BuildAccelerationStructureError

    source§

    fn clone(&self) -> BuildAccelerationStructureError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for BuildAccelerationStructureError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for BuildAccelerationStructureError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for BuildAccelerationStructureError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<CommandEncoderError> for BuildAccelerationStructureError

    source§

    fn from(source: CommandEncoderError) -> Self

    Converts to this type from the input type.
    source§

    impl From<DeviceError> for BuildAccelerationStructureError

    source§

    fn from(source: DeviceError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -40,7 +40,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/ray_tracing/enum.CreateBlasError.html b/doc/wgpu_core/ray_tracing/enum.CreateBlasError.html index e4a9c900a81c..22efe93fa828 100644 --- a/doc/wgpu_core/ray_tracing/enum.CreateBlasError.html +++ b/doc/wgpu_core/ray_tracing/enum.CreateBlasError.html @@ -3,9 +3,9 @@ Device(DeviceError), CreateBufferError(CreateBufferError), MissingIndexData, - InvalidVertexFormat(VertexFormat, Vec<VertexFormat>), + InvalidVertexFormat(VertexFormat, Vec<VertexFormat>), MissingFeature, -}

    Variants§

    §

    Device(DeviceError)

    §

    CreateBufferError(CreateBufferError)

    §

    MissingIndexData

    §

    InvalidVertexFormat(VertexFormat, Vec<VertexFormat>)

    §

    MissingFeature

    Trait Implementations§

    source§

    impl Clone for CreateBlasError

    source§

    fn clone(&self) -> CreateBlasError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for CreateBlasError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for CreateBlasError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for CreateBlasError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<CreateBufferError> for CreateBlasError

    source§

    fn from(source: CreateBufferError) -> Self

    Converts to this type from the input type.
    source§

    impl From<DeviceError> for CreateBlasError

    source§

    fn from(source: DeviceError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +}

    Variants§

    §

    Device(DeviceError)

    §

    CreateBufferError(CreateBufferError)

    §

    MissingIndexData

    §

    InvalidVertexFormat(VertexFormat, Vec<VertexFormat>)

    §

    MissingFeature

    Trait Implementations§

    source§

    impl Clone for CreateBlasError

    source§

    fn clone(&self) -> CreateBlasError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for CreateBlasError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for CreateBlasError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for CreateBlasError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<CreateBufferError> for CreateBlasError

    source§

    fn from(source: CreateBufferError) -> Self

    Converts to this type from the input type.
    source§

    impl From<DeviceError> for CreateBlasError

    source§

    fn from(source: DeviceError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -17,7 +17,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/ray_tracing/enum.CreateTlasError.html b/doc/wgpu_core/ray_tracing/enum.CreateTlasError.html index 45be21f4d181..6ea734ef4f3d 100644 --- a/doc/wgpu_core/ray_tracing/enum.CreateTlasError.html +++ b/doc/wgpu_core/ray_tracing/enum.CreateTlasError.html @@ -15,7 +15,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/ray_tracing/enum.TraceBlasGeometries.html b/doc/wgpu_core/ray_tracing/enum.TraceBlasGeometries.html index 007d63e478fb..5fbbfdaef7df 100644 --- a/doc/wgpu_core/ray_tracing/enum.TraceBlasGeometries.html +++ b/doc/wgpu_core/ray_tracing/enum.TraceBlasGeometries.html @@ -15,7 +15,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/ray_tracing/enum.ValidateBlasActionsError.html b/doc/wgpu_core/ray_tracing/enum.ValidateBlasActionsError.html index 7d6641218280..36f29327b44c 100644 --- a/doc/wgpu_core/ray_tracing/enum.ValidateBlasActionsError.html +++ b/doc/wgpu_core/ray_tracing/enum.ValidateBlasActionsError.html @@ -13,7 +13,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/ray_tracing/enum.ValidateTlasActionsError.html b/doc/wgpu_core/ray_tracing/enum.ValidateTlasActionsError.html index 0fe3c6fd2b21..90e758060754 100644 --- a/doc/wgpu_core/ray_tracing/enum.ValidateTlasActionsError.html +++ b/doc/wgpu_core/ray_tracing/enum.ValidateTlasActionsError.html @@ -16,7 +16,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/ray_tracing/struct.BlasTriangleGeometry.html b/doc/wgpu_core/ray_tracing/struct.BlasTriangleGeometry.html index 5b395ddef3b1..b1015f23d4da 100644 --- a/doc/wgpu_core/ray_tracing/struct.BlasTriangleGeometry.html +++ b/doc/wgpu_core/ray_tracing/struct.BlasTriangleGeometry.html @@ -1,14 +1,14 @@ BlasTriangleGeometry in wgpu_core::ray_tracing - Rust
    pub struct BlasTriangleGeometry<'a> {
    -    pub size: &'a BlasTriangleGeometrySizeDescriptor,
    +    pub size: &'a BlasTriangleGeometrySizeDescriptor,
         pub vertex_buffer: BufferId,
         pub index_buffer: Option<BufferId>,
         pub transform_buffer: Option<BufferId>,
         pub first_vertex: u32,
    -    pub vertex_stride: BufferAddress,
    -    pub index_buffer_offset: Option<BufferAddress>,
    -    pub transform_buffer_offset: Option<BufferAddress>,
    -}

    Fields§

    §size: &'a BlasTriangleGeometrySizeDescriptor§vertex_buffer: BufferId§index_buffer: Option<BufferId>§transform_buffer: Option<BufferId>§first_vertex: u32§vertex_stride: BufferAddress§index_buffer_offset: Option<BufferAddress>§transform_buffer_offset: Option<BufferAddress>

    Trait Implementations§

    source§

    impl<'a> Debug for BlasTriangleGeometry<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + pub vertex_stride: BufferAddress, + pub index_buffer_offset: Option<BufferAddress>, + pub transform_buffer_offset: Option<BufferAddress>, +}

    Fields§

    §size: &'a BlasTriangleGeometrySizeDescriptor§vertex_buffer: BufferId§index_buffer: Option<BufferId>§transform_buffer: Option<BufferId>§first_vertex: u32§vertex_stride: BufferAddress§index_buffer_offset: Option<BufferAddress>§transform_buffer_offset: Option<BufferAddress>

    Trait Implementations§

    source§

    impl<'a> Debug for BlasTriangleGeometry<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -18,7 +18,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/ray_tracing/struct.TlasBuildEntry.html b/doc/wgpu_core/ray_tracing/struct.TlasBuildEntry.html index 89c82c7f033e..c8a2d6eae07a 100644 --- a/doc/wgpu_core/ray_tracing/struct.TlasBuildEntry.html +++ b/doc/wgpu_core/ray_tracing/struct.TlasBuildEntry.html @@ -17,7 +17,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/ray_tracing/struct.TlasInstance.html b/doc/wgpu_core/ray_tracing/struct.TlasInstance.html index 8b71f13e851a..199d5422129b 100644 --- a/doc/wgpu_core/ray_tracing/struct.TlasInstance.html +++ b/doc/wgpu_core/ray_tracing/struct.TlasInstance.html @@ -14,7 +14,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/ray_tracing/struct.TraceBlasBuildEntry.html b/doc/wgpu_core/ray_tracing/struct.TraceBlasBuildEntry.html index 06716a4a8244..5090611b63be 100644 --- a/doc/wgpu_core/ray_tracing/struct.TraceBlasBuildEntry.html +++ b/doc/wgpu_core/ray_tracing/struct.TraceBlasBuildEntry.html @@ -16,7 +16,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/ray_tracing/struct.TraceBlasTriangleGeometry.html b/doc/wgpu_core/ray_tracing/struct.TraceBlasTriangleGeometry.html index 3b1881dbc03d..8bed3fb71068 100644 --- a/doc/wgpu_core/ray_tracing/struct.TraceBlasTriangleGeometry.html +++ b/doc/wgpu_core/ray_tracing/struct.TraceBlasTriangleGeometry.html @@ -1,14 +1,14 @@ TraceBlasTriangleGeometry in wgpu_core::ray_tracing - Rust
    pub struct TraceBlasTriangleGeometry {
    -    pub size: BlasTriangleGeometrySizeDescriptor,
    +    pub size: BlasTriangleGeometrySizeDescriptor,
         pub vertex_buffer: BufferId,
         pub index_buffer: Option<BufferId>,
         pub transform_buffer: Option<BufferId>,
         pub first_vertex: u32,
    -    pub vertex_stride: BufferAddress,
    -    pub index_buffer_offset: Option<BufferAddress>,
    -    pub transform_buffer_offset: Option<BufferAddress>,
    -}

    Fields§

    §size: BlasTriangleGeometrySizeDescriptor§vertex_buffer: BufferId§index_buffer: Option<BufferId>§transform_buffer: Option<BufferId>§first_vertex: u32§vertex_stride: BufferAddress§index_buffer_offset: Option<BufferAddress>§transform_buffer_offset: Option<BufferAddress>

    Trait Implementations§

    source§

    impl Clone for TraceBlasTriangleGeometry

    source§

    fn clone(&self) -> TraceBlasTriangleGeometry

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TraceBlasTriangleGeometry

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for TraceBlasTriangleGeometry

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + pub vertex_stride: BufferAddress, + pub index_buffer_offset: Option<BufferAddress>, + pub transform_buffer_offset: Option<BufferAddress>, +}

    Fields§

    §size: BlasTriangleGeometrySizeDescriptor§vertex_buffer: BufferId§index_buffer: Option<BufferId>§transform_buffer: Option<BufferId>§first_vertex: u32§vertex_stride: BufferAddress§index_buffer_offset: Option<BufferAddress>§transform_buffer_offset: Option<BufferAddress>

    Trait Implementations§

    source§

    impl Clone for TraceBlasTriangleGeometry

    source§

    fn clone(&self) -> TraceBlasTriangleGeometry

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TraceBlasTriangleGeometry

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for TraceBlasTriangleGeometry

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Serialize for TraceBlasTriangleGeometry

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where @@ -22,7 +22,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/ray_tracing/struct.TraceTlasInstance.html b/doc/wgpu_core/ray_tracing/struct.TraceTlasInstance.html index ef284a2e7714..9bf7efca5a37 100644 --- a/doc/wgpu_core/ray_tracing/struct.TraceTlasInstance.html +++ b/doc/wgpu_core/ray_tracing/struct.TraceTlasInstance.html @@ -18,7 +18,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/ray_tracing/struct.TraceTlasPackage.html b/doc/wgpu_core/ray_tracing/struct.TraceTlasPackage.html index 6189f576f9a7..a42a07248af3 100644 --- a/doc/wgpu_core/ray_tracing/struct.TraceTlasPackage.html +++ b/doc/wgpu_core/ray_tracing/struct.TraceTlasPackage.html @@ -17,7 +17,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/registry/struct.RegistryReport.html b/doc/wgpu_core/registry/struct.RegistryReport.html index 2a5b0bf2d1d1..05a1a7cb74b6 100644 --- a/doc/wgpu_core/registry/struct.RegistryReport.html +++ b/doc/wgpu_core/registry/struct.RegistryReport.html @@ -21,7 +21,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/resource/enum.BufferAccessError.html b/doc/wgpu_core/resource/enum.BufferAccessError.html index eb1a00086664..a1ba82233682 100644 --- a/doc/wgpu_core/resource/enum.BufferAccessError.html +++ b/doc/wgpu_core/resource/enum.BufferAccessError.html @@ -9,26 +9,26 @@ NotMapped, UnalignedRange, UnalignedOffset { - offset: BufferAddress, + offset: BufferAddress, }, UnalignedRangeSize { - range_size: BufferAddress, + range_size: BufferAddress, }, OutOfBoundsUnderrun { - index: BufferAddress, - min: BufferAddress, + index: BufferAddress, + min: BufferAddress, }, OutOfBoundsOverrun { - index: BufferAddress, - max: BufferAddress, + index: BufferAddress, + max: BufferAddress, }, NegativeRange { - start: BufferAddress, - end: BufferAddress, + start: BufferAddress, + end: BufferAddress, }, MapAborted, InvalidResource(InvalidResourceError), -}

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    Device(DeviceError)

    §

    Failed

    §

    DestroyedResource(DestroyedResourceError)

    §

    AlreadyMapped

    §

    MapAlreadyPending

    §

    MissingBufferUsage(MissingBufferUsageError)

    §

    NotMapped

    §

    UnalignedRange

    §

    UnalignedOffset

    Fields

    §

    UnalignedRangeSize

    Fields

    §range_size: BufferAddress
    §

    OutOfBoundsUnderrun

    §

    OutOfBoundsOverrun

    §

    NegativeRange

    §

    MapAborted

    §

    InvalidResource(InvalidResourceError)

    Trait Implementations§

    source§

    impl Clone for BufferAccessError

    source§

    fn clone(&self) -> BufferAccessError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for BufferAccessError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for BufferAccessError

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where +

    }

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    Device(DeviceError)

    §

    Failed

    §

    DestroyedResource(DestroyedResourceError)

    §

    AlreadyMapped

    §

    MapAlreadyPending

    §

    MissingBufferUsage(MissingBufferUsageError)

    §

    NotMapped

    §

    UnalignedRange

    §

    UnalignedOffset

    Fields

    §offset: BufferAddress
    §

    UnalignedRangeSize

    Fields

    §range_size: BufferAddress
    §

    OutOfBoundsUnderrun

    Fields

    §index: BufferAddress
    §min: BufferAddress
    §

    OutOfBoundsOverrun

    Fields

    §index: BufferAddress
    §max: BufferAddress
    §

    NegativeRange

    Fields

    §start: BufferAddress
    §end: BufferAddress
    §

    MapAborted

    §

    InvalidResource(InvalidResourceError)

    Trait Implementations§

    source§

    impl Clone for BufferAccessError

    source§

    fn clone(&self) -> BufferAccessError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for BufferAccessError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for BufferAccessError

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for BufferAccessError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for BufferAccessError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<BufferAccessError> for CreateBufferError

    source§

    fn from(source: BufferAccessError) -> Self

    Converts to this type from the input type.
    source§

    impl From<BufferAccessError> for QueueSubmitError

    source§

    fn from(source: BufferAccessError) -> Self

    Converts to this type from the input type.
    source§

    impl From<DestroyedResourceError> for BufferAccessError

    source§

    fn from(source: DestroyedResourceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<DeviceError> for BufferAccessError

    source§

    fn from(source: DeviceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<InvalidResourceError> for BufferAccessError

    source§

    fn from(source: InvalidResourceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingBufferUsageError> for BufferAccessError

    source§

    fn from(source: MissingBufferUsageError) -> Self

    Converts to this type from the input type.
    source§

    impl Serialize for BufferAccessError

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where @@ -43,7 +43,7 @@ T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/resource/enum.CreateBufferError.html b/doc/wgpu_core/resource/enum.CreateBufferError.html index 3966f3ec30bb..e24cd924b146 100644 --- a/doc/wgpu_core/resource/enum.CreateBufferError.html +++ b/doc/wgpu_core/resource/enum.CreateBufferError.html @@ -3,15 +3,15 @@ Device(DeviceError), AccessError(BufferAccessError), UnalignedSize, - InvalidUsage(BufferUsages), - UsageMismatch(BufferUsages), + InvalidUsage(BufferUsages), + UsageMismatch(BufferUsages), MaxBufferSize { requested: u64, maximum: u64, }, MissingDownlevelFlags(MissingDownlevelFlags), IndirectValidationBindGroup(DeviceError), -}

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    Device(DeviceError)

    §

    AccessError(BufferAccessError)

    §

    UnalignedSize

    §

    InvalidUsage(BufferUsages)

    §

    UsageMismatch(BufferUsages)

    §

    MaxBufferSize

    Fields

    §requested: u64
    §maximum: u64
    §

    MissingDownlevelFlags(MissingDownlevelFlags)

    §

    IndirectValidationBindGroup(DeviceError)

    Trait Implementations§

    source§

    impl Clone for CreateBufferError

    source§

    fn clone(&self) -> CreateBufferError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for CreateBufferError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for CreateBufferError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for CreateBufferError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<BufferAccessError> for CreateBufferError

    source§

    fn from(source: BufferAccessError) -> Self

    Converts to this type from the input type.
    source§

    impl From<CreateBufferError> for CreateBlasError

    source§

    fn from(source: CreateBufferError) -> Self

    Converts to this type from the input type.
    source§

    impl From<CreateBufferError> for CreateTlasError

    source§

    fn from(source: CreateBufferError) -> Self

    Converts to this type from the input type.
    source§

    impl From<DeviceError> for CreateBufferError

    source§

    fn from(source: DeviceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingDownlevelFlags> for CreateBufferError

    source§

    fn from(source: MissingDownlevelFlags) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +}

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    Device(DeviceError)

    §

    AccessError(BufferAccessError)

    §

    UnalignedSize

    §

    InvalidUsage(BufferUsages)

    §

    UsageMismatch(BufferUsages)

    §

    MaxBufferSize

    Fields

    §requested: u64
    §maximum: u64
    §

    MissingDownlevelFlags(MissingDownlevelFlags)

    §

    IndirectValidationBindGroup(DeviceError)

    Trait Implementations§

    source§

    impl Clone for CreateBufferError

    source§

    fn clone(&self) -> CreateBufferError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for CreateBufferError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for CreateBufferError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for CreateBufferError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<BufferAccessError> for CreateBufferError

    source§

    fn from(source: BufferAccessError) -> Self

    Converts to this type from the input type.
    source§

    impl From<CreateBufferError> for CreateBlasError

    source§

    fn from(source: CreateBufferError) -> Self

    Converts to this type from the input type.
    source§

    impl From<CreateBufferError> for CreateTlasError

    source§

    fn from(source: CreateBufferError) -> Self

    Converts to this type from the input type.
    source§

    impl From<DeviceError> for CreateBufferError

    source§

    fn from(source: DeviceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingDownlevelFlags> for CreateBufferError

    source§

    fn from(source: MissingDownlevelFlags) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -23,7 +23,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/resource/enum.CreateQuerySetError.html b/doc/wgpu_core/resource/enum.CreateQuerySetError.html index d8957ae5c1e5..b4f7e29996c2 100644 --- a/doc/wgpu_core/resource/enum.CreateQuerySetError.html +++ b/doc/wgpu_core/resource/enum.CreateQuerySetError.html @@ -19,7 +19,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/resource/enum.CreateSamplerError.html b/doc/wgpu_core/resource/enum.CreateSamplerError.html index aa35a590e24d..267a2cebcdde 100644 --- a/doc/wgpu_core/resource/enum.CreateSamplerError.html +++ b/doc/wgpu_core/resource/enum.CreateSamplerError.html @@ -9,11 +9,11 @@ InvalidAnisotropy(u16), InvalidFilterModeWithAnisotropy { filter_type: SamplerFilterErrorType, - filter_mode: FilterMode, + filter_mode: FilterMode, anisotropic_clamp: u16, }, MissingFeatures(MissingFeatures), -}

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    Device(DeviceError)

    §

    InvalidLodMinClamp(f32)

    §

    InvalidLodMaxClamp

    Fields

    §lod_min_clamp: f32
    §lod_max_clamp: f32
    §

    InvalidAnisotropy(u16)

    §

    InvalidFilterModeWithAnisotropy

    Fields

    §filter_mode: FilterMode
    §anisotropic_clamp: u16
    §

    MissingFeatures(MissingFeatures)

    Trait Implementations§

    source§

    impl Clone for CreateSamplerError

    source§

    fn clone(&self) -> CreateSamplerError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for CreateSamplerError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for CreateSamplerError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for CreateSamplerError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<DeviceError> for CreateSamplerError

    source§

    fn from(source: DeviceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingFeatures> for CreateSamplerError

    source§

    fn from(source: MissingFeatures) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +}

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    Device(DeviceError)

    §

    InvalidLodMinClamp(f32)

    §

    InvalidLodMaxClamp

    Fields

    §lod_min_clamp: f32
    §lod_max_clamp: f32
    §

    InvalidAnisotropy(u16)

    §

    InvalidFilterModeWithAnisotropy

    Fields

    §filter_mode: FilterMode
    §anisotropic_clamp: u16
    §

    MissingFeatures(MissingFeatures)

    Trait Implementations§

    source§

    impl Clone for CreateSamplerError

    source§

    fn clone(&self) -> CreateSamplerError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for CreateSamplerError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for CreateSamplerError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for CreateSamplerError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<DeviceError> for CreateSamplerError

    source§

    fn from(source: DeviceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingFeatures> for CreateSamplerError

    source§

    fn from(source: MissingFeatures) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -25,7 +25,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/resource/enum.CreateTextureError.html b/doc/wgpu_core/resource/enum.CreateTextureError.html index b6a3ae3b330d..a0000def149a 100644 --- a/doc/wgpu_core/resource/enum.CreateTextureError.html +++ b/doc/wgpu_core/resource/enum.CreateTextureError.html @@ -2,24 +2,24 @@
    #[non_exhaustive]
    pub enum CreateTextureError {
    Show 16 variants Device(DeviceError), CreateTextureView(CreateTextureViewError), - InvalidUsage(TextureUsages), + InvalidUsage(TextureUsages), InvalidDimension(TextureDimensionError), - InvalidDepthDimension(TextureDimension, TextureFormat), - InvalidCompressedDimension(TextureDimension, TextureFormat), + InvalidDepthDimension(TextureDimension, TextureFormat), + InvalidCompressedDimension(TextureDimension, TextureFormat), InvalidMipLevelCount { requested: u32, maximum: u32, }, - InvalidFormatUsages(TextureUsages, TextureFormat, bool), - InvalidViewFormat(TextureFormat, TextureFormat), - InvalidDimensionUsages(TextureUsages, TextureDimension), + InvalidFormatUsages(TextureUsages, TextureFormat, bool), + InvalidViewFormat(TextureFormat, TextureFormat), + InvalidDimensionUsages(TextureUsages, TextureDimension), InvalidMultisampledStorageBinding, - InvalidMultisampledFormat(TextureFormat), - InvalidSampleCount(u32, TextureFormat, Vec<u32>, Vec<u32>), + InvalidMultisampledFormat(TextureFormat), + InvalidSampleCount(u32, TextureFormat, Vec<u32>, Vec<u32>), MultisampledNotRenderAttachment, - MissingFeatures(TextureFormat, MissingFeatures), + MissingFeatures(TextureFormat, MissingFeatures), MissingDownlevelFlags(MissingDownlevelFlags), -
    }

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    Device(DeviceError)

    §

    CreateTextureView(CreateTextureViewError)

    §

    InvalidUsage(TextureUsages)

    §

    InvalidDimension(TextureDimensionError)

    §

    InvalidDepthDimension(TextureDimension, TextureFormat)

    §

    InvalidCompressedDimension(TextureDimension, TextureFormat)

    §

    InvalidMipLevelCount

    Fields

    §requested: u32
    §maximum: u32
    §

    InvalidFormatUsages(TextureUsages, TextureFormat, bool)

    §

    InvalidViewFormat(TextureFormat, TextureFormat)

    §

    InvalidDimensionUsages(TextureUsages, TextureDimension)

    §

    InvalidMultisampledStorageBinding

    §

    InvalidMultisampledFormat(TextureFormat)

    §

    InvalidSampleCount(u32, TextureFormat, Vec<u32>, Vec<u32>)

    §

    MultisampledNotRenderAttachment

    §

    MissingFeatures(TextureFormat, MissingFeatures)

    §

    MissingDownlevelFlags(MissingDownlevelFlags)

    Trait Implementations§

    source§

    impl Clone for CreateTextureError

    source§

    fn clone(&self) -> CreateTextureError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for CreateTextureError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for CreateTextureError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for CreateTextureError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<CreateTextureViewError> for CreateTextureError

    source§

    fn from(source: CreateTextureViewError) -> Self

    Converts to this type from the input type.
    source§

    impl From<DeviceError> for CreateTextureError

    source§

    fn from(source: DeviceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingDownlevelFlags> for CreateTextureError

    source§

    fn from(source: MissingDownlevelFlags) -> Self

    Converts to this type from the input type.
    source§

    impl From<TextureDimensionError> for CreateTextureError

    source§

    fn from(source: TextureDimensionError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    }

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    Device(DeviceError)

    §

    CreateTextureView(CreateTextureViewError)

    §

    InvalidUsage(TextureUsages)

    §

    InvalidDimension(TextureDimensionError)

    §

    InvalidDepthDimension(TextureDimension, TextureFormat)

    §

    InvalidCompressedDimension(TextureDimension, TextureFormat)

    §

    InvalidMipLevelCount

    Fields

    §requested: u32
    §maximum: u32
    §

    InvalidFormatUsages(TextureUsages, TextureFormat, bool)

    §

    InvalidViewFormat(TextureFormat, TextureFormat)

    §

    InvalidDimensionUsages(TextureUsages, TextureDimension)

    §

    InvalidMultisampledStorageBinding

    §

    InvalidMultisampledFormat(TextureFormat)

    §

    InvalidSampleCount(u32, TextureFormat, Vec<u32>, Vec<u32>)

    §

    MultisampledNotRenderAttachment

    §

    MissingFeatures(TextureFormat, MissingFeatures)

    §

    MissingDownlevelFlags(MissingDownlevelFlags)

    Trait Implementations§

    source§

    impl Clone for CreateTextureError

    source§

    fn clone(&self) -> CreateTextureError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for CreateTextureError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for CreateTextureError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for CreateTextureError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<CreateTextureViewError> for CreateTextureError

    source§

    fn from(source: CreateTextureViewError) -> Self

    Converts to this type from the input type.
    source§

    impl From<DeviceError> for CreateTextureError

    source§

    fn from(source: DeviceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingDownlevelFlags> for CreateTextureError

    source§

    fn from(source: MissingDownlevelFlags) -> Self

    Converts to this type from the input type.
    source§

    impl From<TextureDimensionError> for CreateTextureError

    source§

    fn from(source: TextureDimensionError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -31,7 +31,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/resource/enum.CreateTextureViewError.html b/doc/wgpu_core/resource/enum.CreateTextureViewError.html index 4d1047032c8e..f63901524839 100644 --- a/doc/wgpu_core/resource/enum.CreateTextureViewError.html +++ b/doc/wgpu_core/resource/enum.CreateTextureViewError.html @@ -3,16 +3,16 @@
    Show 19 variants Device(DeviceError), DestroyedResource(DestroyedResourceError), InvalidTextureViewDimension { - view: TextureViewDimension, - texture: TextureDimension, + view: TextureViewDimension, + texture: TextureDimension, }, - TextureViewFormatNotRenderable(TextureFormat), - TextureViewFormatNotStorage(TextureFormat), + TextureViewFormatNotRenderable(TextureFormat), + TextureViewFormatNotStorage(TextureFormat), InvalidTextureViewUsage { - view: TextureUsages, - texture: TextureUsages, + view: TextureUsages, + texture: TextureUsages, }, - InvalidMultisampledTextureViewDimension(TextureViewDimension), + InvalidMultisampledTextureViewDimension(TextureViewDimension), InvalidCubemapTextureDepth { depth: u32, }, @@ -32,19 +32,19 @@ }, InvalidArrayLayerCount { requested: u32, - dim: TextureViewDimension, + dim: TextureViewDimension, }, InvalidAspect { - texture_format: TextureFormat, - requested_aspect: TextureAspect, + texture_format: TextureFormat, + requested_aspect: TextureAspect, }, FormatReinterpretation { - texture: TextureFormat, - view: TextureFormat, + texture: TextureFormat, + view: TextureFormat, }, InvalidResource(InvalidResourceError), MissingFeatures(MissingFeatures), -
    }

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    Device(DeviceError)

    §

    DestroyedResource(DestroyedResourceError)

    §

    InvalidTextureViewDimension

    §

    TextureViewFormatNotRenderable(TextureFormat)

    §

    TextureViewFormatNotStorage(TextureFormat)

    §

    InvalidTextureViewUsage

    Fields

    §

    InvalidMultisampledTextureViewDimension(TextureViewDimension)

    §

    InvalidCubemapTextureDepth

    Fields

    §depth: u32
    §

    InvalidCubemapArrayTextureDepth

    Fields

    §depth: u32
    §

    InvalidCubeTextureViewSize

    §

    ZeroMipLevelCount

    §

    ZeroArrayLayerCount

    §

    TooManyMipLevels

    Fields

    §requested: u32
    §total: u32
    §

    TooManyArrayLayers

    Fields

    §requested: u32
    §total: u32
    §

    InvalidArrayLayerCount

    Fields

    §requested: u32
    §

    InvalidAspect

    Fields

    §texture_format: TextureFormat
    §requested_aspect: TextureAspect
    §

    FormatReinterpretation

    Fields

    §

    InvalidResource(InvalidResourceError)

    §

    MissingFeatures(MissingFeatures)

    Trait Implementations§

    source§

    impl Clone for CreateTextureViewError

    source§

    fn clone(&self) -> CreateTextureViewError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for CreateTextureViewError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for CreateTextureViewError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for CreateTextureViewError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<CreateTextureViewError> for CreateTextureError

    source§

    fn from(source: CreateTextureViewError) -> Self

    Converts to this type from the input type.
    source§

    impl From<DestroyedResourceError> for CreateTextureViewError

    source§

    fn from(source: DestroyedResourceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<DeviceError> for CreateTextureViewError

    source§

    fn from(source: DeviceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<InvalidResourceError> for CreateTextureViewError

    source§

    fn from(source: InvalidResourceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingFeatures> for CreateTextureViewError

    source§

    fn from(source: MissingFeatures) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    }

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    Device(DeviceError)

    §

    DestroyedResource(DestroyedResourceError)

    §

    InvalidTextureViewDimension

    Fields

    §view: TextureViewDimension
    §texture: TextureDimension
    §

    TextureViewFormatNotRenderable(TextureFormat)

    §

    TextureViewFormatNotStorage(TextureFormat)

    §

    InvalidTextureViewUsage

    Fields

    §view: TextureUsages
    §texture: TextureUsages
    §

    InvalidMultisampledTextureViewDimension(TextureViewDimension)

    §

    InvalidCubemapTextureDepth

    Fields

    §depth: u32
    §

    InvalidCubemapArrayTextureDepth

    Fields

    §depth: u32
    §

    InvalidCubeTextureViewSize

    §

    ZeroMipLevelCount

    §

    ZeroArrayLayerCount

    §

    TooManyMipLevels

    Fields

    §requested: u32
    §total: u32
    §

    TooManyArrayLayers

    Fields

    §requested: u32
    §total: u32
    §

    InvalidArrayLayerCount

    Fields

    §requested: u32
    §dim: TextureViewDimension
    §

    InvalidAspect

    Fields

    §texture_format: TextureFormat
    §requested_aspect: TextureAspect
    §

    FormatReinterpretation

    Fields

    §texture: TextureFormat
    §view: TextureFormat
    §

    InvalidResource(InvalidResourceError)

    §

    MissingFeatures(MissingFeatures)

    Trait Implementations§

    source§

    impl Clone for CreateTextureViewError

    source§

    fn clone(&self) -> CreateTextureViewError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for CreateTextureViewError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for CreateTextureViewError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for CreateTextureViewError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<CreateTextureViewError> for CreateTextureError

    source§

    fn from(source: CreateTextureViewError) -> Self

    Converts to this type from the input type.
    source§

    impl From<DestroyedResourceError> for CreateTextureViewError

    source§

    fn from(source: DestroyedResourceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<DeviceError> for CreateTextureViewError

    source§

    fn from(source: DeviceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<InvalidResourceError> for CreateTextureViewError

    source§

    fn from(source: InvalidResourceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<MissingFeatures> for CreateTextureViewError

    source§

    fn from(source: MissingFeatures) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -56,7 +56,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/resource/enum.DestroyError.html b/doc/wgpu_core/resource/enum.DestroyError.html index b65dad53ef6a..e580c7aa2a26 100644 --- a/doc/wgpu_core/resource/enum.DestroyError.html +++ b/doc/wgpu_core/resource/enum.DestroyError.html @@ -14,7 +14,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/resource/enum.Fallible.html b/doc/wgpu_core/resource/enum.Fallible.html index 8ce41a2cd7b5..3fe63facbf92 100644 --- a/doc/wgpu_core/resource/enum.Fallible.html +++ b/doc/wgpu_core/resource/enum.Fallible.html @@ -17,7 +17,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/resource/enum.SamplerFilterErrorType.html b/doc/wgpu_core/resource/enum.SamplerFilterErrorType.html index b091dc9c6227..b67f6a6ffe71 100644 --- a/doc/wgpu_core/resource/enum.SamplerFilterErrorType.html +++ b/doc/wgpu_core/resource/enum.SamplerFilterErrorType.html @@ -14,7 +14,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/resource/enum.TextureClearMode.html b/doc/wgpu_core/resource/enum.TextureClearMode.html index 721765f5d899..abaa4e35d8fd 100644 --- a/doc/wgpu_core/resource/enum.TextureClearMode.html +++ b/doc/wgpu_core/resource/enum.TextureClearMode.html @@ -19,7 +19,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/resource/enum.TextureDimensionError.html b/doc/wgpu_core/resource/enum.TextureDimensionError.html index e28f00073c56..f3ba75bd3d82 100644 --- a/doc/wgpu_core/resource/enum.TextureDimensionError.html +++ b/doc/wgpu_core/resource/enum.TextureDimensionError.html @@ -10,25 +10,25 @@ NotMultipleOfBlockWidth { width: u32, block_width: u32, - format: TextureFormat, + format: TextureFormat, }, NotMultipleOfBlockHeight { height: u32, block_height: u32, - format: TextureFormat, + format: TextureFormat, }, WidthNotMultipleOf { width: u32, multiple: u32, - format: TextureFormat, + format: TextureFormat, }, HeightNotMultipleOf { height: u32, multiple: u32, - format: TextureFormat, + format: TextureFormat, }, MultisampledDepthOrArrayLayer(u32), -}

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    Zero(TextureErrorDimension)

    §

    LimitExceeded

    Fields

    §given: u32
    §limit: u32
    §

    InvalidSampleCount(u32)

    §

    NotMultipleOfBlockWidth

    Fields

    §width: u32
    §block_width: u32
    §

    NotMultipleOfBlockHeight

    Fields

    §height: u32
    §block_height: u32
    §

    WidthNotMultipleOf

    Fields

    §width: u32
    §multiple: u32
    §

    HeightNotMultipleOf

    Fields

    §height: u32
    §multiple: u32
    §

    MultisampledDepthOrArrayLayer(u32)

    Trait Implementations§

    source§

    impl Clone for TextureDimensionError

    source§

    fn clone(&self) -> TextureDimensionError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TextureDimensionError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for TextureDimensionError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for TextureDimensionError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<TextureDimensionError> for CreateTextureError

    source§

    fn from(source: TextureDimensionError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +}

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    Zero(TextureErrorDimension)

    §

    LimitExceeded

    Fields

    §given: u32
    §limit: u32
    §

    InvalidSampleCount(u32)

    §

    NotMultipleOfBlockWidth

    Fields

    §width: u32
    §block_width: u32
    §format: TextureFormat
    §

    NotMultipleOfBlockHeight

    Fields

    §height: u32
    §block_height: u32
    §format: TextureFormat
    §

    WidthNotMultipleOf

    Fields

    §width: u32
    §multiple: u32
    §format: TextureFormat
    §

    HeightNotMultipleOf

    Fields

    §height: u32
    §multiple: u32
    §format: TextureFormat
    §

    MultisampledDepthOrArrayLayer(u32)

    Trait Implementations§

    source§

    impl Clone for TextureDimensionError

    source§

    fn clone(&self) -> TextureDimensionError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TextureDimensionError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for TextureDimensionError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for TextureDimensionError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<TextureDimensionError> for CreateTextureError

    source§

    fn from(source: TextureDimensionError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -40,7 +40,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/resource/enum.TextureErrorDimension.html b/doc/wgpu_core/resource/enum.TextureErrorDimension.html index 77f407c48b01..3ac4d8866697 100644 --- a/doc/wgpu_core/resource/enum.TextureErrorDimension.html +++ b/doc/wgpu_core/resource/enum.TextureErrorDimension.html @@ -14,7 +14,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/resource/enum.TextureViewDestroyError.html b/doc/wgpu_core/resource/enum.TextureViewDestroyError.html index 1cd7e845a782..7eb24044c426 100644 --- a/doc/wgpu_core/resource/enum.TextureViewDestroyError.html +++ b/doc/wgpu_core/resource/enum.TextureViewDestroyError.html @@ -11,7 +11,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/resource/enum.TextureViewNotRenderableReason.html b/doc/wgpu_core/resource/enum.TextureViewNotRenderableReason.html index d633b30fb446..d2e7896eb041 100644 --- a/doc/wgpu_core/resource/enum.TextureViewNotRenderableReason.html +++ b/doc/wgpu_core/resource/enum.TextureViewNotRenderableReason.html @@ -1,11 +1,11 @@ TextureViewNotRenderableReason in wgpu_core::resource - Rust
    pub enum TextureViewNotRenderableReason {
    -    Usage(TextureUsages),
    -    Dimension(TextureViewDimension),
    +    Usage(TextureUsages),
    +    Dimension(TextureViewDimension),
         MipLevelCount(u32),
         ArrayLayerCount(u32),
         Aspects(FormatAspects),
    -}

    Variants§

    §

    Usage(TextureUsages)

    §

    Dimension(TextureViewDimension)

    §

    MipLevelCount(u32)

    §

    ArrayLayerCount(u32)

    §

    Aspects(FormatAspects)

    Trait Implementations§

    source§

    impl Clone for TextureViewNotRenderableReason

    source§

    fn clone(&self) -> TextureViewNotRenderableReason

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TextureViewNotRenderableReason

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for TextureViewNotRenderableReason

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for TextureViewNotRenderableReason

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl Copy for TextureViewNotRenderableReason

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +}

    Variants§

    §

    Usage(TextureUsages)

    §

    Dimension(TextureViewDimension)

    §

    MipLevelCount(u32)

    §

    ArrayLayerCount(u32)

    §

    Aspects(FormatAspects)

    Trait Implementations§

    source§

    impl Clone for TextureViewNotRenderableReason

    source§

    fn clone(&self) -> TextureViewNotRenderableReason

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TextureViewNotRenderableReason

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for TextureViewNotRenderableReason

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for TextureViewNotRenderableReason

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl Copy for TextureViewNotRenderableReason

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -17,7 +17,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/resource/struct.Blas.html b/doc/wgpu_core/resource/struct.Blas.html index 1026aae3ceb4..4e3c59b43702 100644 --- a/doc/wgpu_core/resource/struct.Blas.html +++ b/doc/wgpu_core/resource/struct.Blas.html @@ -9,7 +9,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/resource/struct.Buffer.html b/doc/wgpu_core/resource/struct.Buffer.html index 126a8e95a40b..04e08251ac48 100644 --- a/doc/wgpu_core/resource/struct.Buffer.html +++ b/doc/wgpu_core/resource/struct.Buffer.html @@ -9,7 +9,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/resource/struct.BufferMapOperation.html b/doc/wgpu_core/resource/struct.BufferMapOperation.html index 69ab2ef80656..e619176bb513 100644 --- a/doc/wgpu_core/resource/struct.BufferMapOperation.html +++ b/doc/wgpu_core/resource/struct.BufferMapOperation.html @@ -12,5 +12,5 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where T: Send,

    \ No newline at end of file diff --git a/doc/wgpu_core/resource/struct.DestroyedAccelerationStructure.html b/doc/wgpu_core/resource/struct.DestroyedAccelerationStructure.html index 1be67b5bb6d7..dafa5ba43a2e 100644 --- a/doc/wgpu_core/resource/struct.DestroyedAccelerationStructure.html +++ b/doc/wgpu_core/resource/struct.DestroyedAccelerationStructure.html @@ -9,7 +9,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/resource/struct.DestroyedBuffer.html b/doc/wgpu_core/resource/struct.DestroyedBuffer.html index 7032b0624b2f..813cf6e5fd2e 100644 --- a/doc/wgpu_core/resource/struct.DestroyedBuffer.html +++ b/doc/wgpu_core/resource/struct.DestroyedBuffer.html @@ -10,7 +10,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/resource/struct.DestroyedResourceError.html b/doc/wgpu_core/resource/struct.DestroyedResourceError.html index bcb235cdbb04..dc075dec61c0 100644 --- a/doc/wgpu_core/resource/struct.DestroyedResourceError.html +++ b/doc/wgpu_core/resource/struct.DestroyedResourceError.html @@ -14,7 +14,7 @@ T: Display + ?Sized,
    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/resource/struct.DestroyedTexture.html b/doc/wgpu_core/resource/struct.DestroyedTexture.html index 7c88c2937d5a..7bbf3f380999 100644 --- a/doc/wgpu_core/resource/struct.DestroyedTexture.html +++ b/doc/wgpu_core/resource/struct.DestroyedTexture.html @@ -10,7 +10,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/resource/struct.FlushedStagingBuffer.html b/doc/wgpu_core/resource/struct.FlushedStagingBuffer.html index 81d173262f69..515178e16cc6 100644 --- a/doc/wgpu_core/resource/struct.FlushedStagingBuffer.html +++ b/doc/wgpu_core/resource/struct.FlushedStagingBuffer.html @@ -9,7 +9,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/resource/struct.InvalidResourceError.html b/doc/wgpu_core/resource/struct.InvalidResourceError.html index a65854130d0e..8599053645fb 100644 --- a/doc/wgpu_core/resource/struct.InvalidResourceError.html +++ b/doc/wgpu_core/resource/struct.InvalidResourceError.html @@ -14,7 +14,7 @@ T: Display + ?Sized,
    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/resource/struct.MissingBufferUsageError.html b/doc/wgpu_core/resource/struct.MissingBufferUsageError.html index ee6802ccf755..b53fb624cbdc 100644 --- a/doc/wgpu_core/resource/struct.MissingBufferUsageError.html +++ b/doc/wgpu_core/resource/struct.MissingBufferUsageError.html @@ -14,7 +14,7 @@ T: Display + ?Sized,
    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/resource/struct.MissingTextureUsageError.html b/doc/wgpu_core/resource/struct.MissingTextureUsageError.html index d342f38ae817..82f2e8246337 100644 --- a/doc/wgpu_core/resource/struct.MissingTextureUsageError.html +++ b/doc/wgpu_core/resource/struct.MissingTextureUsageError.html @@ -11,7 +11,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/resource/struct.QuerySet.html b/doc/wgpu_core/resource/struct.QuerySet.html index d6a7a47239d5..0bf5eeec9b57 100644 --- a/doc/wgpu_core/resource/struct.QuerySet.html +++ b/doc/wgpu_core/resource/struct.QuerySet.html @@ -9,7 +9,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/resource/struct.ResourceErrorIdent.html b/doc/wgpu_core/resource/struct.ResourceErrorIdent.html index d9706a717889..65e7117da57b 100644 --- a/doc/wgpu_core/resource/struct.ResourceErrorIdent.html +++ b/doc/wgpu_core/resource/struct.ResourceErrorIdent.html @@ -14,7 +14,7 @@ T: Display + ?Sized,
    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/resource/struct.Sampler.html b/doc/wgpu_core/resource/struct.Sampler.html index c73a70f25984..0660ce178ab0 100644 --- a/doc/wgpu_core/resource/struct.Sampler.html +++ b/doc/wgpu_core/resource/struct.Sampler.html @@ -9,7 +9,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/resource/struct.SamplerDescriptor.html b/doc/wgpu_core/resource/struct.SamplerDescriptor.html index a6dc634f1b49..05954a2301da 100644 --- a/doc/wgpu_core/resource/struct.SamplerDescriptor.html +++ b/doc/wgpu_core/resource/struct.SamplerDescriptor.html @@ -1,28 +1,28 @@ SamplerDescriptor in wgpu_core::resource - Rust
    pub struct SamplerDescriptor<'a> {
         pub label: Label<'a>,
    -    pub address_modes: [AddressMode; 3],
    -    pub mag_filter: FilterMode,
    -    pub min_filter: FilterMode,
    -    pub mipmap_filter: FilterMode,
    +    pub address_modes: [AddressMode; 3],
    +    pub mag_filter: FilterMode,
    +    pub min_filter: FilterMode,
    +    pub mipmap_filter: FilterMode,
         pub lod_min_clamp: f32,
         pub lod_max_clamp: f32,
    -    pub compare: Option<CompareFunction>,
    +    pub compare: Option<CompareFunction>,
         pub anisotropy_clamp: u16,
    -    pub border_color: Option<SamplerBorderColor>,
    +    pub border_color: Option<SamplerBorderColor>,
     }
    Expand description

    Describes a Sampler

    Fields§

    §label: Label<'a>

    Debug label of the sampler.

    This will show up in graphics debuggers for easy identification.

    -
    §address_modes: [AddressMode; 3]

    How to deal with out of bounds accesses in the u (i.e. x) direction

    -
    §mag_filter: FilterMode

    How to filter the texture when it needs to be magnified (made larger)

    -
    §min_filter: FilterMode

    How to filter the texture when it needs to be minified (made smaller)

    -
    §mipmap_filter: FilterMode

    How to filter between mip map levels

    +
    §address_modes: [AddressMode; 3]

    How to deal with out of bounds accesses in the u (i.e. x) direction

    +
    §mag_filter: FilterMode

    How to filter the texture when it needs to be magnified (made larger)

    +
    §min_filter: FilterMode

    How to filter the texture when it needs to be minified (made smaller)

    +
    §mipmap_filter: FilterMode

    How to filter between mip map levels

    §lod_min_clamp: f32

    Minimum level of detail (i.e. mip level) to use

    §lod_max_clamp: f32

    Maximum level of detail (i.e. mip level) to use

    -
    §compare: Option<CompareFunction>

    If this is enabled, this is a comparison sampler using the given comparison function.

    +
    §compare: Option<CompareFunction>

    If this is enabled, this is a comparison sampler using the given comparison function.

    §anisotropy_clamp: u16

    Must be at least 1. If this is not 1, all filter modes must be linear.

    -
    §border_color: Option<SamplerBorderColor>

    Border color to use when address_mode is -AddressMode::ClampToBorder

    +
    §border_color: Option<SamplerBorderColor>

    Border color to use when address_mode is +AddressMode::ClampToBorder

    Trait Implementations§

    source§

    impl<'a> Clone for SamplerDescriptor<'a>

    source§

    fn clone(&self) -> SamplerDescriptor<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a> Debug for SamplerDescriptor<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for SamplerDescriptor<'a>

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> PartialEq for SamplerDescriptor<'a>

    source§

    fn eq(&self, other: &SamplerDescriptor<'a>) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always @@ -39,7 +39,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/resource/struct.StagingBuffer.html b/doc/wgpu_core/resource/struct.StagingBuffer.html index e734daac01fe..5510da7eda34 100644 --- a/doc/wgpu_core/resource/struct.StagingBuffer.html +++ b/doc/wgpu_core/resource/struct.StagingBuffer.html @@ -20,7 +20,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/resource/struct.Texture.html b/doc/wgpu_core/resource/struct.Texture.html index 93c1e7c91b61..e7f2b49ebfb8 100644 --- a/doc/wgpu_core/resource/struct.Texture.html +++ b/doc/wgpu_core/resource/struct.Texture.html @@ -9,7 +9,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/resource/struct.TextureView.html b/doc/wgpu_core/resource/struct.TextureView.html index 9336ece017da..ef8c153c981c 100644 --- a/doc/wgpu_core/resource/struct.TextureView.html +++ b/doc/wgpu_core/resource/struct.TextureView.html @@ -9,7 +9,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/resource/struct.TextureViewDescriptor.html b/doc/wgpu_core/resource/struct.TextureViewDescriptor.html index 838e6f35b1ff..079e592fcefc 100644 --- a/doc/wgpu_core/resource/struct.TextureViewDescriptor.html +++ b/doc/wgpu_core/resource/struct.TextureViewDescriptor.html @@ -1,25 +1,25 @@ TextureViewDescriptor in wgpu_core::resource - Rust
    pub struct TextureViewDescriptor<'a> {
         pub label: Label<'a>,
    -    pub format: Option<TextureFormat>,
    -    pub dimension: Option<TextureViewDimension>,
    -    pub usage: Option<TextureUsages>,
    -    pub range: ImageSubresourceRange,
    +    pub format: Option<TextureFormat>,
    +    pub dimension: Option<TextureViewDimension>,
    +    pub usage: Option<TextureUsages>,
    +    pub range: ImageSubresourceRange,
     }
    Expand description

    Describes a TextureView.

    Fields§

    §label: Label<'a>

    Debug label of the texture view.

    This will show up in graphics debuggers for easy identification.

    -
    §format: Option<TextureFormat>

    Format of the texture view, or None for the same format as the texture +

    §format: Option<TextureFormat>

    Format of the texture view, or None for the same format as the texture itself.

    At this time, it must be the same the underlying format of the texture.

    -
    §dimension: Option<TextureViewDimension>

    The dimension of the texture view.

    +
    §dimension: Option<TextureViewDimension>

    The dimension of the texture view.

    • For 1D textures, this must be D1.
    • For 2D textures it must be one of D2, D2Array, Cube, or CubeArray.
    • For 3D textures it must be D3.
    -
    §usage: Option<TextureUsages>

    The allowed usage(s) for the texture view. Must be a subset of the usage flags of the texture. +

    §usage: Option<TextureUsages>

    The allowed usage(s) for the texture view. Must be a subset of the usage flags of the texture. If not provided, defaults to the full set of usage flags of the texture.

    -
    §range: ImageSubresourceRange

    Range within the texture that is accessible via this view.

    +
    §range: ImageSubresourceRange

    Range within the texture that is accessible via this view.

    Trait Implementations§

    source§

    impl<'a> Clone for TextureViewDescriptor<'a>

    source§

    fn clone(&self) -> TextureViewDescriptor<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a> Debug for TextureViewDescriptor<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'a> Default for TextureViewDescriptor<'a>

    source§

    fn default() -> TextureViewDescriptor<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for TextureViewDescriptor<'a>

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> PartialEq for TextureViewDescriptor<'a>

    source§

    fn eq(&self, other: &TextureViewDescriptor<'a>) -> bool

    This method tests for self and other values to be equal, and is used @@ -41,7 +41,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/resource/struct.Tlas.html b/doc/wgpu_core/resource/struct.Tlas.html index 67754176d75d..a81fc642a188 100644 --- a/doc/wgpu_core/resource/struct.Tlas.html +++ b/doc/wgpu_core/resource/struct.Tlas.html @@ -9,7 +9,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/resource/type.BlasDescriptor.html b/doc/wgpu_core/resource/type.BlasDescriptor.html index 510f03907c04..bd6e8fa2b532 100644 --- a/doc/wgpu_core/resource/type.BlasDescriptor.html +++ b/doc/wgpu_core/resource/type.BlasDescriptor.html @@ -1,9 +1,9 @@ BlasDescriptor in wgpu_core::resource - Rust -
    pub type BlasDescriptor<'a> = CreateBlasDescriptor<Label<'a>>;

    Aliased Type§

    struct BlasDescriptor<'a> {
    +    
    pub type BlasDescriptor<'a> = CreateBlasDescriptor<Label<'a>>;

    Aliased Type§

    struct BlasDescriptor<'a> {
         pub label: Option<Cow<'a, str>>,
    -    pub flags: AccelerationStructureFlags,
    -    pub update_mode: AccelerationStructureUpdateMode,
    +    pub flags: AccelerationStructureFlags,
    +    pub update_mode: AccelerationStructureUpdateMode,
     }

    Fields§

    §label: Option<Cow<'a, str>>

    Label for the bottom level acceleration structure.

    -
    §flags: AccelerationStructureFlags

    Flags for the bottom level acceleration structure.

    -
    §update_mode: AccelerationStructureUpdateMode

    Update mode for the bottom level acceleration structure.

    +
    §flags: AccelerationStructureFlags

    Flags for the bottom level acceleration structure.

    +
    §update_mode: AccelerationStructureUpdateMode

    Update mode for the bottom level acceleration structure.

    \ No newline at end of file diff --git a/doc/wgpu_core/resource/type.BufferDescriptor.html b/doc/wgpu_core/resource/type.BufferDescriptor.html index e36690e4d68f..421d57afca9d 100644 --- a/doc/wgpu_core/resource/type.BufferDescriptor.html +++ b/doc/wgpu_core/resource/type.BufferDescriptor.html @@ -1,12 +1,12 @@ BufferDescriptor in wgpu_core::resource - Rust -
    pub type BufferDescriptor<'a> = BufferDescriptor<Label<'a>>;

    Aliased Type§

    struct BufferDescriptor<'a> {
    +    
    pub type BufferDescriptor<'a> = BufferDescriptor<Label<'a>>;

    Aliased Type§

    struct BufferDescriptor<'a> {
         pub label: Option<Cow<'a, str>>,
         pub size: u64,
    -    pub usage: BufferUsages,
    +    pub usage: BufferUsages,
         pub mapped_at_creation: bool,
     }

    Fields§

    §label: Option<Cow<'a, str>>

    Debug label of a buffer. This will show up in graphics debuggers for easy identification.

    §size: u64

    Size of a buffer, in bytes.

    -
    §usage: BufferUsages

    Usages of a buffer. If the buffer is used in any way that isn’t specified here, the operation +

    §usage: BufferUsages

    Usages of a buffer. If the buffer is used in any way that isn’t specified here, the operation will panic.

    §mapped_at_creation: bool

    Allows a buffer to be mapped immediately after they are made. It does not have to be [BufferUsages::MAP_READ] or [BufferUsages::MAP_WRITE], all buffers are allowed to be mapped at creation.

    diff --git a/doc/wgpu_core/resource/type.QuerySetDescriptor.html b/doc/wgpu_core/resource/type.QuerySetDescriptor.html index d3c6e368cbd2..bb9dda4d6cc4 100644 --- a/doc/wgpu_core/resource/type.QuerySetDescriptor.html +++ b/doc/wgpu_core/resource/type.QuerySetDescriptor.html @@ -1,10 +1,10 @@ QuerySetDescriptor in wgpu_core::resource - Rust -
    pub type QuerySetDescriptor<'a> = QuerySetDescriptor<Label<'a>>;

    Aliased Type§

    struct QuerySetDescriptor<'a> {
    +    
    pub type QuerySetDescriptor<'a> = QuerySetDescriptor<Label<'a>>;

    Aliased Type§

    struct QuerySetDescriptor<'a> {
         pub label: Option<Cow<'a, str>>,
    -    pub ty: QueryType,
    +    pub ty: QueryType,
         pub count: u32,
     }

    Fields§

    §label: Option<Cow<'a, str>>

    Debug label for the query set.

    -
    §ty: QueryType

    Kind of query that this query set should contain.

    +
    §ty: QueryType

    Kind of query that this query set should contain.

    §count: u32

    Total count of queries the set contains. Must not be zero. Must not be greater than [QUERY_SET_MAX_QUERIES].

    \ No newline at end of file diff --git a/doc/wgpu_core/resource/type.TextureDescriptor.html b/doc/wgpu_core/resource/type.TextureDescriptor.html index e2c274e23fcf..a07a34564b22 100644 --- a/doc/wgpu_core/resource/type.TextureDescriptor.html +++ b/doc/wgpu_core/resource/type.TextureDescriptor.html @@ -1,23 +1,23 @@ TextureDescriptor in wgpu_core::resource - Rust -
    pub type TextureDescriptor<'a> = TextureDescriptor<Label<'a>, Vec<TextureFormat>>;

    Aliased Type§

    struct TextureDescriptor<'a> {
    +    
    pub type TextureDescriptor<'a> = TextureDescriptor<Label<'a>, Vec<TextureFormat>>;

    Aliased Type§

    struct TextureDescriptor<'a> {
         pub label: Option<Cow<'a, str>>,
    -    pub size: Extent3d,
    +    pub size: Extent3d,
         pub mip_level_count: u32,
         pub sample_count: u32,
    -    pub dimension: TextureDimension,
    -    pub format: TextureFormat,
    -    pub usage: TextureUsages,
    -    pub view_formats: Vec<TextureFormat>,
    +    pub dimension: TextureDimension,
    +    pub format: TextureFormat,
    +    pub usage: TextureUsages,
    +    pub view_formats: Vec<TextureFormat>,
     }

    Fields§

    §label: Option<Cow<'a, str>>

    Debug label of the texture. This will show up in graphics debuggers for easy identification.

    -
    §size: Extent3d

    Size of the texture. All components must be greater than zero. For a +

    §size: Extent3d

    Size of the texture. All components must be greater than zero. For a regular 1D/2D texture, the unused sizes will be 1. For 2DArray textures, Z is the number of 2D textures in that array.

    §mip_level_count: u32

    Mip count of texture. For a texture with no extra mips, this must be 1.

    §sample_count: u32

    Sample count of texture. If this is not 1, texture must have [BindingType::Texture::multisampled] set to true.

    -
    §dimension: TextureDimension

    Dimensions of the texture.

    -
    §format: TextureFormat

    Format of the texture.

    -
    §usage: TextureUsages

    Allowed usages of the texture. If used in other ways, the operation will panic.

    -
    §view_formats: Vec<TextureFormat>

    Specifies what view formats will be allowed when calling create_view() on this texture.

    +
    §dimension: TextureDimension

    Dimensions of the texture.

    +
    §format: TextureFormat

    Format of the texture.

    +
    §usage: TextureUsages

    Allowed usages of the texture. If used in other ways, the operation will panic.

    +
    §view_formats: Vec<TextureFormat>

    Specifies what view formats will be allowed when calling create_view() on this texture.

    View formats of the same format as the texture are always allowed.

    Note: currently, only the srgb-ness is allowed to change. (ex: Rgba8Unorm texture + Rgba8UnormSrgb view)

    \ No newline at end of file diff --git a/doc/wgpu_core/resource/type.TlasDescriptor.html b/doc/wgpu_core/resource/type.TlasDescriptor.html index d9c996804f0c..9c9c1ce484df 100644 --- a/doc/wgpu_core/resource/type.TlasDescriptor.html +++ b/doc/wgpu_core/resource/type.TlasDescriptor.html @@ -1,11 +1,11 @@ TlasDescriptor in wgpu_core::resource - Rust -
    pub type TlasDescriptor<'a> = CreateTlasDescriptor<Label<'a>>;

    Aliased Type§

    struct TlasDescriptor<'a> {
    +    
    pub type TlasDescriptor<'a> = CreateTlasDescriptor<Label<'a>>;

    Aliased Type§

    struct TlasDescriptor<'a> {
         pub label: Option<Cow<'a, str>>,
         pub max_instances: u32,
    -    pub flags: AccelerationStructureFlags,
    -    pub update_mode: AccelerationStructureUpdateMode,
    +    pub flags: AccelerationStructureFlags,
    +    pub update_mode: AccelerationStructureUpdateMode,
     }

    Fields§

    §label: Option<Cow<'a, str>>

    Label for the top level acceleration structure.

    §max_instances: u32

    Number of instances that can be stored in the acceleration structure.

    -
    §flags: AccelerationStructureFlags

    Flags for the bottom level acceleration structure.

    -
    §update_mode: AccelerationStructureUpdateMode

    Update mode for the bottom level acceleration structure.

    +
    §flags: AccelerationStructureFlags

    Flags for the bottom level acceleration structure.

    +
    §update_mode: AccelerationStructureUpdateMode

    Update mode for the bottom level acceleration structure.

    \ No newline at end of file diff --git a/doc/wgpu_core/validation/enum.BindingError.html b/doc/wgpu_core/validation/enum.BindingError.html index 4a9172a418ad..b9e23cd10f26 100644 --- a/doc/wgpu_core/validation/enum.BindingError.html +++ b/doc/wgpu_core/validation/enum.BindingError.html @@ -14,13 +14,13 @@ space: AddressSpace, }, WrongBufferSize { - buffer_size: BufferSize, - min_binding_size: BufferSize, + buffer_size: BufferSize, + min_binding_size: BufferSize, }, WrongTextureViewDimension { dim: ImageDimension, is_array: bool, - binding: BindingType, + binding: BindingType, }, WrongTextureClass { binding: ImageClass, @@ -28,8 +28,8 @@ }, WrongSamplerComparison, InconsistentlyDerivedType, - BadStorageFormat(TextureFormat), -}

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    Missing

    §

    Invisible

    §

    WrongType

    Fields

    §

    WrongAddressSpace

    Fields

    §binding: AddressSpace
    §shader: AddressSpace
    §

    WrongBufferAddressSpace

    Fields

    §space: AddressSpace
    §

    WrongBufferSize

    Fields

    §buffer_size: BufferSize
    §min_binding_size: BufferSize
    §

    WrongTextureViewDimension

    Fields

    §dim: ImageDimension
    §is_array: bool
    §binding: BindingType
    §

    WrongTextureClass

    Fields

    §binding: ImageClass
    §shader: ImageClass
    §

    WrongSamplerComparison

    §

    InconsistentlyDerivedType

    §

    BadStorageFormat(TextureFormat)

    Trait Implementations§

    source§

    impl Clone for BindingError

    source§

    fn clone(&self) -> BindingError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for BindingError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for BindingError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for BindingError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + BadStorageFormat(TextureFormat), +}

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    Missing

    §

    Invisible

    §

    WrongType

    Fields

    §

    WrongAddressSpace

    Fields

    §binding: AddressSpace
    §shader: AddressSpace
    §

    WrongBufferAddressSpace

    Fields

    §space: AddressSpace
    §

    WrongBufferSize

    Fields

    §buffer_size: BufferSize
    §min_binding_size: BufferSize
    §

    WrongTextureViewDimension

    Fields

    §dim: ImageDimension
    §is_array: bool
    §binding: BindingType
    §

    WrongTextureClass

    Fields

    §binding: ImageClass
    §shader: ImageClass
    §

    WrongSamplerComparison

    §

    InconsistentlyDerivedType

    §

    BadStorageFormat(TextureFormat)

    Trait Implementations§

    source§

    impl Clone for BindingError

    source§

    fn clone(&self) -> BindingError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for BindingError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for BindingError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for BindingError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -41,7 +41,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/validation/enum.BindingLayoutSource.html b/doc/wgpu_core/validation/enum.BindingLayoutSource.html index 5b8deb22d8d9..1094fa08c6dc 100644 --- a/doc/wgpu_core/validation/enum.BindingLayoutSource.html +++ b/doc/wgpu_core/validation/enum.BindingLayoutSource.html @@ -6,7 +6,7 @@

    This will be filled in by the shader binding validation, as it iterates the shader’s interfaces.

    §

    Provided(ArrayVec<&'a EntryMap, { hal::MAX_BIND_GROUPS }>)

    The binding layout is provided by the user in BGLs.

    This will be validated against the shader’s interfaces.

    -

    Implementations§

    source§

    impl<'a> BindingLayoutSource<'a>

    source

    pub fn new_derived(limits: &Limits) -> Self

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Implementations§

    source§

    impl<'a> BindingLayoutSource<'a>

    source

    pub fn new_derived(limits: &Limits) -> Self

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -16,7 +16,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/validation/enum.BindingTypeName.html b/doc/wgpu_core/validation/enum.BindingTypeName.html index 24d6b8005e13..5dcc6e48855d 100644 --- a/doc/wgpu_core/validation/enum.BindingTypeName.html +++ b/doc/wgpu_core/validation/enum.BindingTypeName.html @@ -4,7 +4,7 @@ Texture, Sampler, AccelerationStructure, -}

    Variants§

    §

    Buffer

    §

    Texture

    §

    Sampler

    §

    AccelerationStructure

    Trait Implementations§

    source§

    impl Clone for BindingTypeName

    source§

    fn clone(&self) -> BindingTypeName

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for BindingTypeName

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<&BindingType> for BindingTypeName

    source§

    fn from(ty: &BindingType) -> BindingTypeName

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +}

    Variants§

    §

    Buffer

    §

    Texture

    §

    Sampler

    §

    AccelerationStructure

    Trait Implementations§

    source§

    impl Clone for BindingTypeName

    source§

    fn clone(&self) -> BindingTypeName

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for BindingTypeName

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<&BindingType> for BindingTypeName

    source§

    fn from(ty: &BindingType) -> BindingTypeName

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -15,7 +15,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/validation/enum.FilteringError.html b/doc/wgpu_core/validation/enum.FilteringError.html index 743d0a725fe9..f86ff60187a9 100644 --- a/doc/wgpu_core/validation/enum.FilteringError.html +++ b/doc/wgpu_core/validation/enum.FilteringError.html @@ -14,7 +14,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/validation/enum.InputError.html b/doc/wgpu_core/validation/enum.InputError.html index 0c7b9c21cfe6..45f27009e0b6 100644 --- a/doc/wgpu_core/validation/enum.InputError.html +++ b/doc/wgpu_core/validation/enum.InputError.html @@ -16,7 +16,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/validation/enum.StageError.html b/doc/wgpu_core/validation/enum.StageError.html index 132e907e3822..16b3110d8992 100644 --- a/doc/wgpu_core/validation/enum.StageError.html +++ b/doc/wgpu_core/validation/enum.StageError.html @@ -18,7 +18,7 @@ error: FilteringError, }, Input { - location: ShaderLocation, + location: ShaderLocation, var: InterfaceVar, error: InputError, }, @@ -26,7 +26,7 @@ MultipleEntryPointsFound, InvalidResource(InvalidResourceError), }
    Expand description

    Errors produced when validating a programmable stage of a pipeline.

    -

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    InvalidWorkgroupSize

    Fields

    §current: [u32; 3]
    §current_total: u32
    §limit: [u32; 3]
    §total: u32
    §

    TooManyVaryings

    Fields

    §used: u32
    §limit: u32
    §

    MissingEntryPoint(String)

    §

    Binding(ResourceBinding, BindingError)

    §

    Filtering

    Fields

    §texture: ResourceBinding
    §sampler: ResourceBinding
    §

    Input

    Fields

    §

    NoEntryPointFound

    §

    MultipleEntryPointsFound

    §

    InvalidResource(InvalidResourceError)

    Trait Implementations§

    source§

    impl Clone for StageError

    source§

    fn clone(&self) -> StageError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for StageError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for StageError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for StageError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<InvalidResourceError> for StageError

    source§

    fn from(source: InvalidResourceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<StageError> for CreateComputePipelineError

    source§

    fn from(source: StageError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    InvalidWorkgroupSize

    Fields

    §current: [u32; 3]
    §current_total: u32
    §limit: [u32; 3]
    §total: u32
    §

    TooManyVaryings

    Fields

    §used: u32
    §limit: u32
    §

    MissingEntryPoint(String)

    §

    Binding(ResourceBinding, BindingError)

    §

    Filtering

    Fields

    §texture: ResourceBinding
    §sampler: ResourceBinding
    §

    Input

    Fields

    §location: ShaderLocation
    §

    NoEntryPointFound

    §

    MultipleEntryPointsFound

    §

    InvalidResource(InvalidResourceError)

    Trait Implementations§

    source§

    impl Clone for StageError

    source§

    fn clone(&self) -> StageError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for StageError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for StageError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for StageError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<InvalidResourceError> for StageError

    source§

    fn from(source: InvalidResourceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<StageError> for CreateComputePipelineError

    source§

    fn from(source: StageError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -38,7 +38,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/validation/fn.check_texture_format.html b/doc/wgpu_core/validation/fn.check_texture_format.html index 2b70a8346a68..b4c3e2bfbefa 100644 --- a/doc/wgpu_core/validation/fn.check_texture_format.html +++ b/doc/wgpu_core/validation/fn.check_texture_format.html @@ -1,6 +1,6 @@ check_texture_format in wgpu_core::validation - Rust
    pub fn check_texture_format(
    -    format: TextureFormat,
    +    format: TextureFormat,
         output: &NumericType
     ) -> Result<(), NumericType>
    Expand description

    Return true if the fragment format is covered by the provided output.

    \ No newline at end of file diff --git a/doc/wgpu_core/validation/fn.validate_color_attachment_bytes_per_sample.html b/doc/wgpu_core/validation/fn.validate_color_attachment_bytes_per_sample.html index d92191800918..5b80799e4999 100644 --- a/doc/wgpu_core/validation/fn.validate_color_attachment_bytes_per_sample.html +++ b/doc/wgpu_core/validation/fn.validate_color_attachment_bytes_per_sample.html @@ -1,5 +1,5 @@ validate_color_attachment_bytes_per_sample in wgpu_core::validation - Rust
    pub fn validate_color_attachment_bytes_per_sample(
    -    attachment_formats: impl Iterator<Item = Option<TextureFormat>>,
    +    attachment_formats: impl Iterator<Item = Option<TextureFormat>>,
         limit: u32
     ) -> Result<(), u32>
    \ No newline at end of file diff --git a/doc/wgpu_core/validation/struct.Interface.html b/doc/wgpu_core/validation/struct.Interface.html index 444d502bba6f..41a4bcfbdd13 100644 --- a/doc/wgpu_core/validation/struct.Interface.html +++ b/doc/wgpu_core/validation/struct.Interface.html @@ -1,16 +1,16 @@ Interface in wgpu_core::validation - Rust -
    pub struct Interface { /* private fields */ }

    Implementations§

    source§

    impl Interface

    source

    pub fn new(module: &Module, info: &ModuleInfo, limits: Limits) -> Self

    source

    pub fn finalize_entry_point_name( +
    pub struct Interface { /* private fields */ }

    Implementations§

    source§

    impl Interface

    source

    pub fn new(module: &Module, info: &ModuleInfo, limits: Limits) -> Self

    source

    pub fn finalize_entry_point_name( &self, - stage_bit: ShaderStages, + stage_bit: ShaderStages, entry_point_name: Option<&str> ) -> Result<String, StageError>

    source

    pub fn check_stage( &self, layouts: &mut BindingLayoutSource<'_>, - shader_binding_sizes: &mut HashMap<ResourceBinding, BufferSize, BuildHasherDefault<FxHasher>>, + shader_binding_sizes: &mut HashMap<ResourceBinding, BufferSize, BuildHasherDefault<FxHasher>>, entry_point_name: &str, - stage_bit: ShaderStages, + stage_bit: ShaderStages, inputs: StageIo, - compare_function: Option<CompareFunction> + compare_function: Option<CompareFunction> ) -> Result<StageIo, StageError>

    source

    pub fn fragment_uses_dual_source_blending( &self, entry_point_name: &str @@ -24,7 +24,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/validation/struct.InterfaceVar.html b/doc/wgpu_core/validation/struct.InterfaceVar.html index d71d9a5ba4a9..397578605d03 100644 --- a/doc/wgpu_core/validation/struct.InterfaceVar.html +++ b/doc/wgpu_core/validation/struct.InterfaceVar.html @@ -2,7 +2,7 @@
    pub struct InterfaceVar {
         pub ty: NumericType,
         /* private fields */
    -}

    Fields§

    §ty: NumericType

    Implementations§

    Trait Implementations§

    source§

    impl Clone for InterfaceVar

    source§

    fn clone(&self) -> InterfaceVar

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for InterfaceVar

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for InterfaceVar

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +}

    Fields§

    §ty: NumericType

    Implementations§

    source§

    impl InterfaceVar

    source

    pub fn vertex_attribute(format: VertexFormat) -> Self

    Trait Implementations§

    source§

    impl Clone for InterfaceVar

    source§

    fn clone(&self) -> InterfaceVar

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for InterfaceVar

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for InterfaceVar

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast<T> for T

    §

    fn downcast(&self) -> &T

    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -14,7 +14,7 @@ T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/validation/struct.NumericType.html b/doc/wgpu_core/validation/struct.NumericType.html index bd3ad7eb7121..916925d4f25b 100644 --- a/doc/wgpu_core/validation/struct.NumericType.html +++ b/doc/wgpu_core/validation/struct.NumericType.html @@ -11,7 +11,7 @@ T: Clone,
    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where - T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where + T: Send,

    §

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_core/validation/type.StageIo.html b/doc/wgpu_core/validation/type.StageIo.html index 2929eace1ffd..29c102f0e5be 100644 --- a/doc/wgpu_core/validation/type.StageIo.html +++ b/doc/wgpu_core/validation/type.StageIo.html @@ -1,2 +1,2 @@ StageIo in wgpu_core::validation - Rust -

    Type Alias wgpu_core::validation::StageIo

    source ·
    pub type StageIo = HashMap<ShaderLocation, InterfaceVar, BuildHasherDefault<FxHasher>>;

    Aliased Type§

    struct StageIo { /* private fields */ }
    \ No newline at end of file +

    Type Alias wgpu_core::validation::StageIo

    source ·
    pub type StageIo = HashMap<ShaderLocation, InterfaceVar, BuildHasherDefault<FxHasher>>;

    Aliased Type§

    struct StageIo { /* private fields */ }
    \ No newline at end of file diff --git a/doc/wgpu_test/enum.FailureBehavior.html b/doc/wgpu_test/enum.FailureBehavior.html index 186944b07c1d..c06656681985 100644 --- a/doc/wgpu_test/enum.FailureBehavior.html +++ b/doc/wgpu_test/enum.FailureBehavior.html @@ -18,7 +18,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where - T: Send,

    §

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where + T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_test/fn.fail.html b/doc/wgpu_test/fn.fail.html index 941bdda98d3f..d71407703c98 100644 --- a/doc/wgpu_test/fn.fail.html +++ b/doc/wgpu_test/fn.fail.html @@ -1,6 +1,6 @@ fail in wgpu_test - Rust

    Function wgpu_test::fail

    source ·
    pub fn fail<T>(
    -    device: &Device,
    +    device: &Device,
         callback: impl FnOnce() -> T,
         expected_msg_substring: Option<&'static str>
     ) -> T
    Expand description

    Run some code in an error scope and assert that validation fails.

    diff --git a/doc/wgpu_test/fn.fail_if.html b/doc/wgpu_test/fn.fail_if.html index 7bacca0f1866..1a990dc936bf 100644 --- a/doc/wgpu_test/fn.fail_if.html +++ b/doc/wgpu_test/fn.fail_if.html @@ -1,6 +1,6 @@ fail_if in wgpu_test - Rust

    Function wgpu_test::fail_if

    source ·
    pub fn fail_if<T>(
    -    device: &Device,
    +    device: &Device,
         should_fail: bool,
         callback: impl FnOnce() -> T,
         expected_msg_substring: Option<&'static str>
    diff --git a/doc/wgpu_test/fn.initialize_adapter.html b/doc/wgpu_test/fn.initialize_adapter.html
    index 0e7e77979f71..863999cea5b3 100644
    --- a/doc/wgpu_test/fn.initialize_adapter.html
    +++ b/doc/wgpu_test/fn.initialize_adapter.html
    @@ -2,5 +2,5 @@
         
    pub async fn initialize_adapter(
         adapter_report: Option<&AdapterReport>,
         force_fxc: bool
    -) -> (Instance, Adapter, Option<SurfaceGuard>)
    Expand description

    Initialize a wgpu adapter, using the given adapter report to match the adapter.

    +) -> (Instance, Adapter, Option<SurfaceGuard>)
    Expand description

    Initialize a wgpu adapter, using the given adapter report to match the adapter.

    \ No newline at end of file diff --git a/doc/wgpu_test/fn.initialize_device.html b/doc/wgpu_test/fn.initialize_device.html index 51a741f0bf4f..a667043eb42e 100644 --- a/doc/wgpu_test/fn.initialize_device.html +++ b/doc/wgpu_test/fn.initialize_device.html @@ -1,7 +1,7 @@ initialize_device in wgpu_test - Rust
    pub async fn initialize_device(
    -    adapter: &Adapter,
    -    features: Features,
    -    limits: Limits
    -) -> (Device, Queue)
    Expand description

    Initialize a wgpu device from a given adapter.

    + adapter: &Adapter, + features: Features, + limits: Limits +) -> (Device, Queue)
    Expand description

    Initialize a wgpu device from a given adapter.

    \ No newline at end of file diff --git a/doc/wgpu_test/fn.initialize_instance.html b/doc/wgpu_test/fn.initialize_instance.html index 71d343446af4..a2d4392d0712 100644 --- a/doc/wgpu_test/fn.initialize_instance.html +++ b/doc/wgpu_test/fn.initialize_instance.html @@ -1,3 +1,3 @@ initialize_instance in wgpu_test - Rust -
    pub fn initialize_instance(backends: Backends, force_fxc: bool) -> Instance
    Expand description

    Initialize a wgpu instance with the options from the environment.

    +
    pub fn initialize_instance(backends: Backends, force_fxc: bool) -> Instance
    Expand description

    Initialize a wgpu instance with the options from the environment.

    \ No newline at end of file diff --git a/doc/wgpu_test/fn.valid.html b/doc/wgpu_test/fn.valid.html index 5b4819b7d17b..3b329920c044 100644 --- a/doc/wgpu_test/fn.valid.html +++ b/doc/wgpu_test/fn.valid.html @@ -1,3 +1,3 @@ valid in wgpu_test - Rust -

    Function wgpu_test::valid

    source ·
    pub fn valid<T>(device: &Device, callback: impl FnOnce() -> T) -> T
    Expand description

    Run some code in an error scope and assert that validation succeeds.

    +

    Function wgpu_test::valid

    source ·
    pub fn valid<T>(device: &Device, callback: impl FnOnce() -> T) -> T
    Expand description

    Run some code in an error scope and assert that validation succeeds.

    \ No newline at end of file diff --git a/doc/wgpu_test/image/enum.ComparisonType.html b/doc/wgpu_test/image/enum.ComparisonType.html index 06de6abe68aa..042fe6118ac7 100644 --- a/doc/wgpu_test/image/enum.ComparisonType.html +++ b/doc/wgpu_test/image/enum.ComparisonType.html @@ -28,7 +28,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where - T: Send,

    §

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where + T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_test/image/fn.compare_image_output.html b/doc/wgpu_test/image/fn.compare_image_output.html index a272c2a38a39..5c1300fd1a18 100644 --- a/doc/wgpu_test/image/fn.compare_image_output.html +++ b/doc/wgpu_test/image/fn.compare_image_output.html @@ -1,7 +1,7 @@ compare_image_output in wgpu_test::image - Rust
    pub async fn compare_image_output(
         path: impl AsRef<Path> + AsRef<OsStr>,
    -    adapter_info: &AdapterInfo,
    +    adapter_info: &AdapterInfo,
         width: u32,
         height: u32,
         test_with_alpha: &[u8],
    diff --git a/doc/wgpu_test/image/struct.ReadbackBuffers.html b/doc/wgpu_test/image/struct.ReadbackBuffers.html
    index 413fab11b65a..fc4e02645cfd 100644
    --- a/doc/wgpu_test/image/struct.ReadbackBuffers.html
    +++ b/doc/wgpu_test/image/struct.ReadbackBuffers.html
    @@ -1,9 +1,9 @@
     ReadbackBuffers in wgpu_test::image - Rust
    -    
    pub struct ReadbackBuffers { /* private fields */ }

    Implementations§

    source§

    impl ReadbackBuffers

    source

    pub fn new(device: &Device, texture: &Texture) -> Self

    source

    pub fn copy_from( +
    pub struct ReadbackBuffers { /* private fields */ }

    Implementations§

    source§

    impl ReadbackBuffers

    source

    pub fn new(device: &Device, texture: &Texture) -> Self

    source

    pub fn copy_from( &self, - device: &Device, - encoder: &mut CommandEncoder, - texture: &Texture + device: &Device, + encoder: &mut CommandEncoder, + texture: &Texture )

    source

    pub async fn are_zero(&self, ctx: &TestingContext) -> bool

    source

    pub async fn assert_buffer_contents( &self, ctx: &TestingContext, @@ -18,7 +18,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where - T: Send,

    §

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where + T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_test/struct.FailureApplicationReasons.html b/doc/wgpu_test/struct.FailureApplicationReasons.html index 71e935a6e22a..501dfb6438bf 100644 --- a/doc/wgpu_test/struct.FailureApplicationReasons.html +++ b/doc/wgpu_test/struct.FailureApplicationReasons.html @@ -74,7 +74,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where - T: Send,

    §

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where + T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_test/struct.FailureCase.html b/doc/wgpu_test/struct.FailureCase.html index edf1754aabe4..11c5a50e1e91 100644 --- a/doc/wgpu_test/struct.FailureCase.html +++ b/doc/wgpu_test/struct.FailureCase.html @@ -1,6 +1,6 @@ FailureCase in wgpu_test - Rust

    Struct wgpu_test::FailureCase

    source ·
    pub struct FailureCase {
    -    pub backends: Option<Backends>,
    +    pub backends: Option<Backends>,
         pub vendor: Option<u32>,
         pub adapter: Option<&'static str>,
         pub driver: Option<&'static str>,
    @@ -25,24 +25,24 @@
     

    This applies to all cards with "RTX' in their name on either Direct3D backend, no matter the vendor ID or driver name.

    The strings given here need only appear as a substring in the -corresponding AdapterInfo fields. The comparison is +corresponding AdapterInfo fields. The comparison is case-insensitive.

    The default value of FailureCase applies to any test case. That is, there are no criteria to constrain the match.

    -

    Fields§

    §backends: Option<Backends>

    Backends expected to fail, or None for any backend.

    +

    Fields§

    §backends: Option<Backends>

    Backends expected to fail, or None for any backend.

    If this is None, or if the test is using one of the backends in backends, then this FailureCase applies.

    §vendor: Option<u32>

    Vendor expected to fail, or None for any vendor.

    -

    If Some, this must match AdapterInfo::device, which is +

    If Some, this must match AdapterInfo::device, which is usually the PCI device id. Otherwise, this FailureCase applies regardless of vendor.

    §adapter: Option<&'static str>

    Name of adapter expected to fail, or None for any adapter name.

    If this is Some(s) and s is a substring of -AdapterInfo::name, then this FailureCase applies. If +AdapterInfo::name, then this FailureCase applies. If this is None, the adapter name isn’t considered.

    §driver: Option<&'static str>

    Name of driver expected to fail, or None for any driver name.

    If this is Some(s) and s is a substring of -AdapterInfo::driver, then this FailureCase applies. If +AdapterInfo::driver, then this FailureCase applies. If this is None, the driver name isn’t considered.

    §reasons: Vec<FailureReason>

    Reason why the test is expected to fail.

    If this does not match, the failure will not match this case.

    @@ -51,15 +51,15 @@

    Implementations§

    source§

    impl FailureCase

    source

    pub fn new() -> Self

    Create a new failure case.

    source

    pub fn always() -> Self

    This case applies to all tests.

    source

    pub fn never() -> Self

    This case applies to no tests.

    -
    source

    pub fn backend(backends: Backends) -> Self

    Tests running on any of the given backends.

    +
    source

    pub fn backend(backends: Backends) -> Self

    Tests running on any of the given backends.

    source

    pub fn adapter(adapter: &'static str) -> Self

    Tests running on adapter.

    For this case to apply, the adapter string must appear as a substring -of the adapter’s AdapterInfo::name. The comparison is +of the adapter’s AdapterInfo::name. The comparison is case-insensitive.

    -
    source

    pub fn backend_adapter(backends: Backends, adapter: &'static str) -> Self

    Tests running on backend and adapter.

    +
    source

    pub fn backend_adapter(backends: Backends, adapter: &'static str) -> Self

    Tests running on backend and adapter.

    For this case to apply, the test must be using an adapter for one of the given backend bits, and adapter string must appear as a substring of -the adapter’s AdapterInfo::name. The string comparison is +the adapter’s AdapterInfo::name. The string comparison is case-insensitive.

    source

    pub fn webgl2() -> Self

    Tests running under WebGL.

    source

    pub fn molten_vk() -> Self

    Tests running on the MoltenVK Vulkan driver on macOS.

    @@ -83,7 +83,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where - T: Send,

    §

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where + T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_test/struct.FailureReason.html b/doc/wgpu_test/struct.FailureReason.html index ad3d96b65478..dc76195e2485 100644 --- a/doc/wgpu_test/struct.FailureReason.html +++ b/doc/wgpu_test/struct.FailureReason.html @@ -19,7 +19,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where - T: Send,

    §

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where + T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_test/struct.GpuTestConfiguration.html b/doc/wgpu_test/struct.GpuTestConfiguration.html index 86ae00fc42c2..89bd90b54ced 100644 --- a/doc/wgpu_test/struct.GpuTestConfiguration.html +++ b/doc/wgpu_test/struct.GpuTestConfiguration.html @@ -20,7 +20,7 @@
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where - T: Send,

    §

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where + T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_test/struct.TestParameters.html b/doc/wgpu_test/struct.TestParameters.html index 4d9a62be9d13..72f241199876 100644 --- a/doc/wgpu_test/struct.TestParameters.html +++ b/doc/wgpu_test/struct.TestParameters.html @@ -1,19 +1,19 @@ TestParameters in wgpu_test - Rust
    pub struct TestParameters {
    -    pub required_features: Features,
    -    pub required_downlevel_caps: DownlevelCapabilities,
    -    pub required_limits: Limits,
    +    pub required_features: Features,
    +    pub required_downlevel_caps: DownlevelCapabilities,
    +    pub required_limits: Limits,
         pub force_fxc: bool,
         pub skips: Vec<FailureCase>,
         pub failures: Vec<FailureCase>,
     }
    Expand description

    This information determines if a test should run.

    -

    Fields§

    §required_features: Features§required_downlevel_caps: DownlevelCapabilities§required_limits: Limits§force_fxc: bool

    On Dx12, specifically test against the Fxc compiler.

    +

    Fields§

    §required_features: Features§required_downlevel_caps: DownlevelCapabilities§required_limits: Limits§force_fxc: bool

    On Dx12, specifically test against the Fxc compiler.

    For testing workarounds to Fxc bugs.

    §skips: Vec<FailureCase>

    Conditions under which this test should be skipped.

    §failures: Vec<FailureCase>

    Conditions under which this test should be run, but is expected to fail.

    Implementations§

    source§

    impl TestParameters

    source

    pub fn test_features_limits(self) -> Self

    Set of common features that most internal tests require for compute and readback.

    -
    source

    pub fn features(self, features: Features) -> Self

    Set the list of features this test requires.

    -
    source

    pub fn downlevel_flags(self, downlevel_flags: DownlevelFlags) -> Self

    source

    pub fn limits(self, limits: Limits) -> Self

    Set the limits needed for the test.

    +
    source

    pub fn features(self, features: Features) -> Self

    Set the list of features this test requires.

    +
    source

    pub fn downlevel_flags(self, downlevel_flags: DownlevelFlags) -> Self

    source

    pub fn limits(self, limits: Limits) -> Self

    Set the limits needed for the test.

    source

    pub fn force_fxc(self, force_fxc: bool) -> Self

    source

    pub fn expect_fail(self, when: FailureCase) -> Self

    Mark the test as always failing, but not to be skipped.

    source

    pub fn skip(self, when: FailureCase) -> Self

    Mark the test as always failing, and needing to be skipped.

    Trait Implementations§

    source§

    impl Clone for TestParameters

    source§

    fn clone(&self) -> TestParameters

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Default for TestParameters

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where @@ -27,7 +27,7 @@

    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where - T: Send,

    §

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where + T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file diff --git a/doc/wgpu_test/struct.TestingContext.html b/doc/wgpu_test/struct.TestingContext.html index 465235c8b1d6..24b6ed1d73b1 100644 --- a/doc/wgpu_test/struct.TestingContext.html +++ b/doc/wgpu_test/struct.TestingContext.html @@ -1,15 +1,15 @@ TestingContext in wgpu_test - Rust
    pub struct TestingContext {
    -    pub instance: Instance,
    -    pub adapter: Adapter,
    -    pub adapter_info: AdapterInfo,
    -    pub adapter_downlevel_capabilities: DownlevelCapabilities,
    -    pub device: Device,
    -    pub device_features: Features,
    -    pub device_limits: Limits,
    -    pub queue: Queue,
    +    pub instance: Instance,
    +    pub adapter: Adapter,
    +    pub adapter_info: AdapterInfo,
    +    pub adapter_downlevel_capabilities: DownlevelCapabilities,
    +    pub device: Device,
    +    pub device_features: Features,
    +    pub device_limits: Limits,
    +    pub queue: Queue,
     }
    Expand description

    Parameters and resources hadned to the test function.

    -

    Fields§

    §instance: Instance§adapter: Adapter§adapter_info: AdapterInfo§adapter_downlevel_capabilities: DownlevelCapabilities§device: Device§device_features: Features§device_limits: Limits§queue: Queue

    Implementations§

    source§

    impl TestingContext

    source

    pub async fn async_poll(&self, maintain: Maintain) -> MaintainResult

    Utility to allow future asynchronous polling.

    +

    Fields§

    §instance: Instance§adapter: Adapter§adapter_info: AdapterInfo§adapter_downlevel_capabilities: DownlevelCapabilities§device: Device§device_features: Features§device_limits: Limits§queue: Queue

    Implementations§

    source§

    impl TestingContext

    source

    pub async fn async_poll(&self, maintain: Maintain) -> MaintainResult

    Utility to allow future asynchronous polling.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where @@ -20,7 +20,7 @@ From<T> for U chooses to do.

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    §

    impl<T> WasmNotSend for T
    where - T: Send,

    §

    impl<T> WasmNotSendSync for T
    where - T: WasmNotSend + WasmNotSync,

    §

    impl<T> WasmNotSync for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Upcast<T> for T

    §

    fn upcast(&self) -> Option<&T>

    source§

    impl<T> WasmNotSend for T
    where + T: Send,

    source§

    impl<T> WasmNotSendSync for T
    where + T: WasmNotSend + WasmNotSync,

    source§

    impl<T> WasmNotSync for T
    where T: Sync,

    \ No newline at end of file