#[repr(C)]pub struct JanetFuncDef {Show 17 fields
pub gc: JanetGCObject,
pub environments: *mut i32,
pub constants: *mut Janet,
pub defs: *mut *mut JanetFuncDef,
pub bytecode: *mut u32,
pub sourcemap: *mut JanetSourceMapping,
pub source: *const u8,
pub name: *const u8,
pub flags: i32,
pub slotcount: i32,
pub arity: i32,
pub min_arity: i32,
pub max_arity: i32,
pub constants_length: i32,
pub bytecode_length: i32,
pub environments_length: i32,
pub defs_length: i32,
}Fields§
§gc: JanetGCObject§environments: *mut i32§constants: *mut Janet§defs: *mut *mut JanetFuncDef§bytecode: *mut u32§sourcemap: *mut JanetSourceMapping§source: *const u8§name: *const u8§flags: i32§slotcount: i32§arity: i32§min_arity: i32§max_arity: i32§constants_length: i32§bytecode_length: i32§environments_length: i32§defs_length: i32Trait Implementations§
Source§impl Clone for JanetFuncDef
impl Clone for JanetFuncDef
Source§fn clone(&self) -> JanetFuncDef
fn clone(&self) -> JanetFuncDef
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 moreSource§impl Debug for JanetFuncDef
impl Debug for JanetFuncDef
impl Copy for JanetFuncDef
Auto Trait Implementations§
impl Freeze for JanetFuncDef
impl RefUnwindSafe for JanetFuncDef
impl !Send for JanetFuncDef
impl !Sync for JanetFuncDef
impl Unpin for JanetFuncDef
impl UnwindSafe for JanetFuncDef
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