naga::valid

Function check_literal_value

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