GlslType

Trait GlslType 

Source
pub trait GlslType {
    // Provided method
    fn to_glsl() -> String { ... }
}

Provided Methods§

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.

Implementations on Foreign Types§

Source§

impl GlslType for bool

Source§

impl GlslType for f32

Source§

impl GlslType for f64

Source§

impl GlslType for i32

Source§

impl GlslType for u32

Implementors§