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

Method const_null

crates/rustc_codegen_spirv/src/codegen_cx/constant.rs:124–126  ·  view source on GitHub ↗
(&self, t: Self::Type)

Source from the content-addressed store, hash-verified

122
123impl<'tcx> ConstMethods<'tcx> for CodegenCx<'tcx> {
124 fn const_null(&self, t: Self::Type) -> Self::Value {
125 self.constant_null(t)
126 }
127 fn const_undef(&self, ty: Self::Type) -> Self::Value {
128 self.undef(ty)
129 }

Callers

nothing calls this directly

Calls 1

constant_nullMethod · 0.80

Tested by

no test coverage detected