pub trait GeneratedWebSys {
// Required methods
fn source_brick() -> &'static str;
fn generated_at() -> &'static str;
}Expand description
Marker trait for generated web_sys code
All generated web_sys code implements this trait for traceability
Required Methods§
Sourcefn source_brick() -> &'static str
fn source_brick() -> &'static str
Source brick that generated this code
Sourcefn generated_at() -> &'static str
fn generated_at() -> &'static str
Generation timestamp
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".