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: Meta
Trait 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 moreAuto Trait Implementations§
impl !RefUnwindSafe for GosClosureObj
impl !Send for GosClosureObj
impl !Sync for GosClosureObj
impl Unpin for GosClosureObj
impl !UnwindSafe for GosClosureObj
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