Skip to main content

render_annotation

Function render_annotation 

Source
pub fn render_annotation(predicate: &GatePredicate) -> String
Expand description

Render the predicate to its canonical inline annotation. Empty fields are omitted. Returns an empty string when the predicate has no fields at all.