pub trait IConstantBuffer_TypedConstantBuffer_1Methods<T0: ClassIdentity>: ClassIdentity {
// Provided methods
fn get_instance() -> ConstantBuffer_TypedConstantBuffer_1<T0> { ... }
fn set_instance(value: ConstantBuffer_TypedConstantBuffer_1<T0>) { ... }
fn ctor(self)
where Self: Sized { ... }
fn update_data(self, cmd: CommandBuffer) -> ((), T0)
where Self: Sized { ... }
fn set_global(self, cmd: CommandBuffer, shader_id: i32)
where Self: Sized { ... }
fn set(self, cmd: CommandBuffer, cs: ComputeShader, shader_id: i32)
where Self: Sized { ... }
fn set_2(self, mat: Material, shader_id: i32)
where Self: Sized { ... }
fn release(self)
where Self: Sized { ... }
fn cctor() { ... }
}Provided Methods§
fn get_instance() -> ConstantBuffer_TypedConstantBuffer_1<T0>
fn set_instance(value: ConstantBuffer_TypedConstantBuffer_1<T0>)
fn ctor(self)where
Self: Sized,
fn update_data(self, cmd: CommandBuffer) -> ((), T0)where
Self: Sized,
fn set_global(self, cmd: CommandBuffer, shader_id: i32)where
Self: Sized,
fn set(self, cmd: CommandBuffer, cs: ComputeShader, shader_id: i32)where
Self: Sized,
fn set_2(self, mat: Material, shader_id: i32)where
Self: Sized,
fn release(self)where
Self: Sized,
fn cctor()
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.