as_value

Attribute Macro as_value 

Source
#[as_value]
Expand description

Capture a property using its ToValue implementation.

§Syntax

This macro doesn’t accept any arguments.

§Applicable to

This attribute can be applied to properties.