Skip to main content

object_to_table

Function object_to_table 

Source
pub fn object_to_table<O: ScriptObject>(obj: &O) -> Table
Expand description

Wrap a ScriptObject as a script table. Changes to the table are NOT reflected back to the Rust object — use bind_object for two-way binding.