Trait MewSampler

Source
pub trait MewSampler {
    // Required methods
    fn new(buffer: Sampler) -> Self;
    fn binding_type() -> BindingType;
    fn buffer_desc() -> SamplerDescriptor<'static>;
    fn as_binding<'a>(&'a self) -> BindingResource<'a>;
}

Required Methods§

Source

fn new(buffer: Sampler) -> Self

Source

fn binding_type() -> BindingType

Source

fn buffer_desc() -> SamplerDescriptor<'static>

Source

fn as_binding<'a>(&'a self) -> BindingResource<'a>

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§