MCPcopy Create free account
hub / github.com/Rust-GPU/rust-gpu / const_u8

Method const_u8

crates/rustc_codegen_spirv/src/codegen_cx/constant.rs:163–165  ·  view source on GitHub ↗
(&self, i: u8)

Source from the content-addressed store, hash-verified

161 self.constant_int(t, i)
162 }
163 fn const_u8(&self, i: u8) -> Self::Value {
164 self.constant_u8(DUMMY_SP, i)
165 }
166 fn const_real(&self, t: Self::Type, val: f64) -> Self::Value {
167 self.constant_float(t, val)
168 }

Callers 1

const_strMethod · 0.80

Calls 1

constant_u8Method · 0.80

Tested by

no test coverage detected