[][src]Derive Macro bevy_derive::FromResources

#[derive(FromResources)]
{
    // Attributes available to this derive:
    #[as_crate]
}

Derives the FromResources trait. Each field must also implement the FromResources trait or this will fail. FromResources is automatically implemented for types that implement Default.