naga::valid

Function check_literal_value

source
pub fn check_literal_value(literal: Literal) -> Result<(), LiteralError>