pub struct GosClosureObj {
pub func: FunctionKey,
pub uvs: Option<HashMap<usize, UpValue>>,
pub recv: Option<GosValue>,
pub meta: Meta,
}
Fields§
§func: FunctionKey
§uvs: Option<HashMap<usize, UpValue>>
§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 Freeze for GosClosureObj
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