mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-30 16:09:12 +00:00
13 lines
218 B
Rust
13 lines
218 B
Rust
use dioxus_core as dioxus;
|
|
use dioxus_core::prelude::*;
|
|
|
|
#[derive(Props)]
|
|
struct MyProps<'a> {
|
|
blah: u128,
|
|
b: &'a (),
|
|
}
|
|
|
|
fn main() {
|
|
// let p = unsafe { MyProps {}.memoize(&MyProps {}) };
|
|
// dbg!(p);
|
|
}
|