Trait wgpu_core::hub::Resource[][src]

pub trait Resource {
    const TYPE: &'static str;

    fn life_guard(&self) -> &LifeGuard;

    fn label(&self) -> &str { ... }
}

Associated Constants

const TYPE: &'static str[src]

Loading content...

Required methods

Loading content...

Provided methods

fn label(&self) -> &str[src]

Loading content...

Implementors

impl Resource for RenderBundle[src]

const TYPE: &'static str[src]

fn life_guard(&self) -> &LifeGuard[src]

impl Resource for Surface[src]

const TYPE: &'static str[src]

fn life_guard(&self) -> &LifeGuard[src]

fn label(&self) -> &str[src]

impl<B: Backend> Resource for BindGroup<B>[src]

const TYPE: &'static str[src]

fn life_guard(&self) -> &LifeGuard[src]

impl<B: Backend> Resource for BindGroupLayout<B>[src]

const TYPE: &'static str[src]

fn life_guard(&self) -> &LifeGuard[src]

fn label(&self) -> &str[src]

impl<B: Backend> Resource for PipelineLayout<B>[src]

const TYPE: &'static str[src]

fn life_guard(&self) -> &LifeGuard[src]

impl<B: Backend> Resource for CommandBuffer<B>[src]

const TYPE: &'static str[src]

fn life_guard(&self) -> &LifeGuard[src]

fn label(&self) -> &str[src]

impl<B: Backend> Resource for Device<B>[src]

const TYPE: &'static str[src]

fn life_guard(&self) -> &LifeGuard[src]

impl<B: Backend> Resource for Adapter<B>[src]

const TYPE: &'static str[src]

fn life_guard(&self) -> &LifeGuard[src]

impl<B: Backend> Resource for ComputePipeline<B>[src]

const TYPE: &'static str[src]

fn life_guard(&self) -> &LifeGuard[src]

impl<B: Backend> Resource for RenderPipeline<B>[src]

const TYPE: &'static str[src]

fn life_guard(&self) -> &LifeGuard[src]

impl<B: Backend> Resource for ShaderModule<B>[src]

const TYPE: &'static str[src]

fn life_guard(&self) -> &LifeGuard[src]

fn label(&self) -> &str[src]

impl<B: Backend> Resource for Buffer<B>[src]

const TYPE: &'static str[src]

fn life_guard(&self) -> &LifeGuard[src]

impl<B: Backend> Resource for QuerySet<B>[src]

const TYPE: &'static str[src]

fn life_guard(&self) -> &LifeGuard[src]

impl<B: Backend> Resource for Sampler<B>[src]

const TYPE: &'static str[src]

fn life_guard(&self) -> &LifeGuard[src]

impl<B: Backend> Resource for Texture<B>[src]

const TYPE: &'static str[src]

fn life_guard(&self) -> &LifeGuard[src]

impl<B: Backend> Resource for TextureView<B>[src]

const TYPE: &'static str[src]

fn life_guard(&self) -> &LifeGuard[src]

impl<B: Backend> Resource for SwapChain<B>[src]

const TYPE: &'static str[src]

fn life_guard(&self) -> &LifeGuard[src]

Loading content...