Trait Resources

Source
pub trait Resources:
    Clone
    + Hash
    + Debug
    + Eq
    + PartialEq
    + Any {
    type Buffer: Clone + Hash + Debug + Eq + PartialEq + Any + Send + Sync + Copy;
    type Shader: Clone + Hash + Debug + Eq + PartialEq + Any + Send + Sync;
    type Program: Clone + Hash + Debug + Eq + PartialEq + Any + Send + Sync;
    type PipelineStateObject: Clone + Hash + Debug + Eq + PartialEq + Any + Send + Sync;
    type Texture: Clone + Hash + Debug + Eq + PartialEq + Any + Send + Sync;
    type ShaderResourceView: Clone + Hash + Debug + Eq + PartialEq + Any + Send + Sync + Copy;
    type UnorderedAccessView: Clone + Hash + Debug + Eq + PartialEq + Any + Send + Sync + Copy;
    type RenderTargetView: Clone + Hash + Debug + Eq + PartialEq + Any + Send + Sync + Copy;
    type DepthStencilView: Clone + Hash + Debug + Eq + PartialEq + Any + Send + Sync;
    type Sampler: Clone + Hash + Debug + Eq + PartialEq + Any + Send + Sync + Copy;
    type Fence: Clone + Hash + Debug + Eq + PartialEq + Any + Send + Sync;
    type Mapping: Hash + Debug + Eq + PartialEq + Any + Send + Sync + Gate<Self>;
}
Expand description

Different types of a specific API.

Required Associated Types§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§