Skip to main content

default_input_sdl_name

Function default_input_sdl_name 

Source
pub fn default_input_sdl_name(base: &Ident) -> String
Expand description

What a SCHEMA calls a union’s input object where the output face already holds the union’s own name: <Union>Input.

The convention’s ONE home, beside default_unwrap_error_name and for its reason. It answers a String rather than an Ident because the name it derives is a SCHEMA entity’s — nothing in Rust is called this, both faces being impls on the enum the declaration already named — so the r# a raw enum carries is dropped here as it is everywhere a word leaves Rust.