runtime: remove unused AsDerefable trait
This commit is contained in:
parent
6c50880600
commit
754e8da620
|
@ -1,5 +1,3 @@
|
|||
#![allow(stable_features)]
|
||||
#![feature(return_position_impl_trait_in_trait)]
|
||||
//! Helpers and shared logic for librashader runtime implementations.
|
||||
//!
|
||||
//! Most of this is only useful when _writing_ a librashader runtime implementations,
|
||||
|
|
|
@ -8,11 +8,6 @@ impl UniformScalar for f32 {}
|
|||
impl UniformScalar for i32 {}
|
||||
impl UniformScalar for u32 {}
|
||||
|
||||
pub trait AsDerefable {
|
||||
fn get_deref(&self) -> impl Deref<Target = [u8]>;
|
||||
fn get_deref_mut(&mut self) -> impl DerefMut<Target = [u8]>;
|
||||
}
|
||||
|
||||
/// A trait for a binder that binds the given value and context into the uniform for a shader pass.
|
||||
pub trait BindUniform<C, T> {
|
||||
/// Bind the given value to the shader uniforms given the input context.
|
||||
|
|
Loading…
Reference in a new issue