pub trait FromScriptModuleParamTable<'a>: Sized {
// Required method
fn from_param_table(
param: &'a ScriptModuleParamTable<'_>,
key: &str,
) -> Option<Self>;
}Available on crate feature
module only.Expand description
連想配列の値として使える型。
Required Methods§
fn from_param_table( param: &'a ScriptModuleParamTable<'_>, key: &str, ) -> Option<Self>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.