pub struct Storage<'a> {
pub modules: HashMap<&'a str, ShaderModule>,
pub buffers: HashMap<&'a str, Buffer>,
pub textures: HashMap<&'a str, Texture>,
pub texture_views: HashMap<&'a str, TextureView>,
pub samplers: HashMap<&'a str, Sampler>,
pub bind_groups: HashMap<&'a str, BindGroup>,
pub bind_group_layouts: HashMap<&'a str, BindGroupLayout>,
pub compute_pipelines: HashMap<&'a str, ComputePipeline>,
pub render_pipelines: HashMap<&'a str, RenderPipeline>,
/* private fields */
}Fields§
§modules: HashMap<&'a str, ShaderModule>§buffers: HashMap<&'a str, Buffer>§textures: HashMap<&'a str, Texture>§texture_views: HashMap<&'a str, TextureView>§samplers: HashMap<&'a str, Sampler>§bind_groups: HashMap<&'a str, BindGroup>§bind_group_layouts: HashMap<&'a str, BindGroupLayout>§compute_pipelines: HashMap<&'a str, ComputePipeline>§render_pipelines: HashMap<&'a str, RenderPipeline>Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Storage<'a>
impl<'a> !RefUnwindSafe for Storage<'a>
impl<'a> Send for Storage<'a>
impl<'a> Sync for Storage<'a>
impl<'a> Unpin for Storage<'a>
impl<'a> !UnwindSafe for Storage<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more