mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-12-26 20:43:08 +00:00
14 lines
218 B
Rust
14 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);
|
||
|
}
|