devela/lang/ffi/js/web/
element.rs1#[allow(unused_imports, reason = "not(windows)")]
10use devela::{_js_extern, _js_method_str_alloc, Js, WebDocument, js_bool, js_int32, js_uint32};
11
12#[repr(transparent)]
16#[derive(Copy, Clone, Debug, Default, PartialEq, Eq, PartialOrd, Ord, Hash)]
17pub struct WebElement {
18 pub(in crate::lang::ffi::js) id: js_uint32,
19}
20
21#[rustfmt::skip]
22#[cfg(all(feature = "unsafe_ffi", not(windows)))]
23#[cfg_attr(nightly_doc, doc(cfg(all(feature = "unsafe_ffi", target_arch = "wasm32"))))]
24impl WebElement {
25}
26_js_extern! {
27 [module: "api_element"]
28}