pub struct FunctionObj {
pub name: Rc<str>,
pub arity: usize,
pub chunk_index: usize,
}Expand description
Fat payloads are boxed so Value stays small on the operand stack.
Fields§
§name: Rc<str>§arity: usize§chunk_index: usizeTrait Implementations§
Source§impl Clone for FunctionObj
impl Clone for FunctionObj
Source§fn clone(&self) -> FunctionObj
fn clone(&self) -> FunctionObj
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FunctionObj
impl Debug for FunctionObj
Source§impl<'de> Deserialize<'de> for FunctionObj
impl<'de> Deserialize<'de> for FunctionObj
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FunctionObj
impl PartialEq for FunctionObj
Source§impl Serialize for FunctionObj
impl Serialize for FunctionObj
impl StructuralPartialEq for FunctionObj
Auto Trait Implementations§
impl !Send for FunctionObj
impl !Sync for FunctionObj
impl Freeze for FunctionObj
impl RefUnwindSafe for FunctionObj
impl Unpin for FunctionObj
impl UnsafeUnpin for FunctionObj
impl UnwindSafe for FunctionObj
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