Derive Macro FromRef
#[derive(FromRef)]
{
// Attributes available to this derive:
#[from_ref]
}
Expand description
Derive an implementation of FromRef for each field in a struct.
#[from_ref(skip)] can be used to skip specific fields
#[derive(FromRef)]
{
// Attributes available to this derive:
#[from_ref]
}
Derive an implementation of FromRef for each field in a struct.
#[from_ref(skip)] can be used to skip specific fields