INNER CODE UNIT · Rust

info_url

flosse/rust-web-framework-comparison · src/data.rs:68

    pub fn info_url(&self) -> Url {
        let url = match self {
            Self::Tea => "https://guide.elm-lang.org/architecture/",
            Self::React => {
                "https://medium.com/mofed/react-redux-architecture-overview-7b3e52004b6e"
            }
            Self::Frp => "https://en.wikipedia.org/wiki/Functional_reactive_programming",
            Self::Imgui => "https://en.wikipedia.org/wiki/Immediate_mode_GUI",
        };
        Url::parse(url).unwrap()
    }
}

impl ToString for FrontendArchitecture {
    fn to_string(&self) -> String {
        match self {
            Self::Tea => "TEA",
            Self::React => "React/Redux",

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…