warriors/trisha/rs/resources.rs

//! The warrior carries its version-matched machine and runtime modules.
include!(concat!(env!("OUT_DIR"), "/resources.rs"));

pub(crate) fn modules() -> impl Iterator<Item = (String, String)> {
    FILES.iter().filter_map(|(name, text)| {
        name.strip_prefix("lib/")?
            .strip_suffix(".tri")
            .map(|name| (name.replace('/', "."), (*text).to_owned()))
    })
}

Homonyms

neural/trident/src/resources.rs
soft3/mir/src/bevy/resources.rs
cyb/evy/forks/bevy_ecs/examples/resources.rs
cyb/evy/forks/bevy_pbr/src/atmosphere/resources.rs

Graph