pub struct WasmBindgenBinding;Expand description
wasm-bindgen - Rust to WebAssembly/JavaScript
Trait Implementations§
Source§impl FfiBinding for WasmBindgenBinding
impl FfiBinding for WasmBindgenBinding
Source§fn name(&self) -> &'static str
fn name(&self) -> &'static str
Unique identifier for this binding type (e.g., “pyo3”, “wasm-bindgen”)
Source§fn source_lang(&self) -> &'static str
fn source_lang(&self) -> &'static str
Source language for this binding (e.g., “rust”)
Source§fn target_lang(&self) -> &'static str
fn target_lang(&self) -> &'static str
Target language for this binding (e.g., “python”)
Source§fn detect_in_build_file(&self, path: &Path, content: &str) -> Option<String>
fn detect_in_build_file(&self, path: &Path, content: &str) -> Option<String>
Check if a build file (e.g., Cargo.toml) indicates this binding is used.
Returns the module name if detected.
Source§fn consumer_extensions(&self) -> &[&'static str]
fn consumer_extensions(&self) -> &[&'static str]
File extensions that may contain imports of this binding’s modules.
Auto Trait Implementations§
impl Freeze for WasmBindgenBinding
impl RefUnwindSafe for WasmBindgenBinding
impl Send for WasmBindgenBinding
impl Sync for WasmBindgenBinding
impl Unpin for WasmBindgenBinding
impl UnsafeUnpin for WasmBindgenBinding
impl UnwindSafe for WasmBindgenBinding
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request