Struct go_engine::ffi::GosClosureObj
source · pub struct GosClosureObj {
pub func: FunctionKey,
pub uvs: Option<HashMap<usize, UpValue, RandomState>>,
pub recv: Option<GosValue>,
pub meta: Meta,
}Fields§
§func: FunctionKey§uvs: Option<HashMap<usize, UpValue, RandomState>>§recv: Option<GosValue>§meta: MetaTrait Implementations§
source§impl Clone for GosClosureObj
impl Clone for GosClosureObj
source§fn clone(&self) -> GosClosureObj
fn clone(&self) -> GosClosureObj
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more