#[derive(AsRef)] { // Attributes available to this derive: #[as_ref] }
Derive an implementation of AsRef for each field in a struct.
AsRef