Function pdl_compiler::backends::rust_legacy::constraint_to_value
source ยท pub fn constraint_to_value(
all_fields: &HashMap<String, &Field>,
constraint: &Constraint,
) -> TokenStream
Expand description
Turn the constraint into a value (such as 10
or
SomeEnum::Foo
).