mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-12-19 09:03:13 +00:00
20 lines
372 B
Rust
20 lines
372 B
Rust
fn main() {}
|
|
|
|
pub mod dioxus {
|
|
pub mod prelude {
|
|
pub unsafe trait Properties {
|
|
type Builder;
|
|
const CAN_BE_MEMOIZED: bool;
|
|
fn builder() -> Self::Builder;
|
|
}
|
|
}
|
|
}
|
|
#[derive(dioxus_core_macro::Props)]
|
|
struct SomeProps {
|
|
a: String,
|
|
}
|
|
|
|
#[derive(dioxus_core_macro::Props)]
|
|
struct SomePropsTwo<'a> {
|
|
a: &'a str,
|
|
}
|