INNER CODE UNIT · Rust

root_component

marc2332/freya · crates/freya-android/src/lib.rs:88

    fn root_component(&self, root: Element) -> Element {
        AndroidRoot { inner: root }.into_element()
    }
}

/// Root component that manages Android platform integration.
#[derive(Clone)]
struct AndroidRoot {
    inner: Element,
}

impl PartialEq for AndroidRoot {
    fn eq(&self, _other: &Self) -> bool {
        true
    }
}

impl Component for AndroidRoot {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…