[go: up one dir, main page]

BaseTyped

Trait BaseTyped 

Source
pub trait BaseTyped {
    // Required method
    fn get_base_type() -> BaseType;
}
Expand description

A trait that statically links simple data types to base types of the shader constants.

Required 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 BaseTyped for bool

Source§

impl BaseTyped for f32

Source§

impl BaseTyped for f64

Source§

impl BaseTyped for i32

Source§

impl BaseTyped for u32

Implementors§