Docs.rs
  • screen-13-0.9.0
    • screen-13 0.9.0
    • Docs.rs crate page
    • MIT OR Apache-2.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • attackgoat
    • Dependencies
      • ash >=0.37.1 normal
      • ash-window ^0.12 normal
      • derive_builder ^0.12 normal
      • gpu-allocator ^0.22 normal
      • log ^0.4 normal
      • ordered-float ^3.4 normal
      • parking_lot ^0.12 normal
      • paste ^1.0 normal
      • profiling ^1.0 normal
      • raw-window-handle ^0.5 normal
      • spirq >=0.6.2 normal
      • vk-sync-fork ^0.4.0 normal
      • winit ^0.28 normal
      • anyhow ^1.0 dev
      • bmfont ^0.3 dev
      • bytemuck ^1.13 dev
      • glam ^0.24 dev
      • half ^2.2 dev
      • image ^0.24 dev
      • inline-spirv ^0.1 dev
      • log ^0.4 dev
      • meshopt ^0.1 dev
      • polyhedron-ops >=0.2, <=0.2.4 dev
      • pretty_env_logger ^0.4 dev
      • rand ^0.8 dev
      • reqwest ^0.11 dev
      • tobj ^4.0 dev
      • ash-molten ^0.15 normal
    • Versions
    • 100% of the crate is documented
  • Go to latest version
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
logo

logo

Pool

Required Methods

  • lease

Implementors

In screen_13::pool

?
Change settings

Trait screen_13::pool::Pool

source ·
pub trait Pool<I, T> {
    // Required method
    fn lease(&mut self, info: I) -> Result<Lease<T>, DriverError>;
}
Expand description

Allows leasing of resources using driver information structures.

Required Methods§

source

fn lease(&mut self, info: I) -> Result<Lease<T>, DriverError>

Lease a resource.

Implementors§

source§

impl Pool<AccelerationStructureInfo, AccelerationStructure> for HashPool

source§

impl Pool<AccelerationStructureInfo, AccelerationStructure> for LazyPool

source§

impl Pool<AccelerationStructureInfoBuilder, AccelerationStructure> for HashPool

source§

impl Pool<AccelerationStructureInfoBuilder, AccelerationStructure> for LazyPool

source§

impl Pool<BufferInfo, Buffer> for HashPool

source§

impl Pool<BufferInfo, Buffer> for LazyPool

source§

impl Pool<BufferInfoBuilder, Buffer> for HashPool

source§

impl Pool<BufferInfoBuilder, Buffer> for LazyPool

source§

impl Pool<ImageInfo, Image> for HashPool

source§

impl Pool<ImageInfo, Image> for LazyPool

source§

impl Pool<ImageInfoBuilder, Image> for HashPool

source§

impl Pool<ImageInfoBuilder, Image> for LazyPool