AttributeDisplay

Type Alias AttributeDisplay 

Source
pub type AttributeDisplay = fn(_: &RawAttribute<'_>, f: &mut Formatter<'_>) -> Result;
Expand description

A closure definition for an externally provided Display implementation for a RawAttribute.

Typically, a concrete Attribute implements Display and attribute_display can be used to generate and install this closure.

See the module level documentation for an example.