Derive Macrosยง
- TryFrom
Ref - This function is a procedural macro that derives the
TryFromRef
trait for a given input. TheTryFromRef
trait allows for converting a reference to a type into another type, with the possibility of failure. It is used with the#[derive(TryFromRef)]
attribute.