Coverage Report

Created: 2026-03-25 06:51

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/rust/registry/src/index.crates.io-1949cf8c6b5b557f/spirv-0.4.0+sdk-1.4.341.0/lib.rs
Line
Count
Source
1
//! The SPIR-V header.
2
//!
3
//! This crate contains Rust definitions of all SPIR-V structs, enums,
4
//! and constants.
5
//!
6
//! The version of this crate is the version of SPIR-V it contains.
7
8
#![no_std]
9
#![allow(non_camel_case_types)]
10
#![deny(clippy::std_instead_of_core, clippy::alloc_instead_of_core)]
11
#![cfg_attr(rustfmt, rustfmt_skip)]
12
13
use bitflags::bitflags;
14
15
include!("autogen_spirv.rs");
16
17
impl From<Op> for Word {
18
    // Exists because of repr()
19
0
    fn from(value: Op) -> Self {
20
0
        value as Word
21
0
    }
22
}