Trait shader_version::PickShader [−][src]
pub trait PickShader: Ord + Sized { fn pick_shader<'a, S: ?Sized>(
self,
shaders: &Shaders<'a, Self, S>
) -> Option<&'a S>; }
Implemented by shader version enums.
Required methods
fn pick_shader<'a, S: ?Sized>(
self,
shaders: &Shaders<'a, Self, S>
) -> Option<&'a S>
[src]
self,
shaders: &Shaders<'a, Self, S>
) -> Option<&'a S>
Pick shader.