naga::back::wgsl

Trait ToWgslIfImplemented

Source
trait ToWgslIfImplemented {
    // Required method
    fn to_wgsl_if_implemented(self) -> Result<&'static str, Error>;
}

Required Methods§

Implementors§

Source§

impl<T> ToWgslIfImplemented for T
where T: TryToWgsl + Debug + Copy,