pub struct FnProto {
pub name: String,
pub arity: usize,
pub chunk: Chunk,
pub param_names: Vec<String>,
pub has_defaults: Vec<bool>,
}Expand description
A compiled function prototype (stored in the constant pool).
Fields§
§name: String§arity: usize§chunk: Chunk§param_names: Vec<String>§has_defaults: Vec<bool>Trait Implementations§
Auto Trait Implementations§
impl Freeze for FnProto
impl !RefUnwindSafe for FnProto
impl Send for FnProto
impl Sync for FnProto
impl Unpin for FnProto
impl UnsafeUnpin for FnProto
impl !UnwindSafe for FnProto
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