Struct evil_janet::JanetFuncDef
source · #[repr(C)]pub struct JanetFuncDef {Show 20 fields
pub gc: JanetGCObject,
pub environments: *mut i32,
pub constants: *mut Janet,
pub defs: *mut *mut JanetFuncDef,
pub bytecode: *mut u32,
pub closure_bitset: *mut u32,
pub sourcemap: *mut JanetSourceMapping,
pub source: JanetString,
pub name: JanetString,
pub symbolmap: *mut JanetSymbolMap,
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,
pub symbolmap_length: i32,
}
Fields§
§gc: JanetGCObject
§environments: *mut i32
§constants: *mut Janet
§defs: *mut *mut JanetFuncDef
§bytecode: *mut u32
§closure_bitset: *mut u32
§sourcemap: *mut JanetSourceMapping
§source: JanetString
§name: JanetString
§symbolmap: *mut JanetSymbolMap
§flags: i32
§slotcount: i32
§arity: i32
§min_arity: i32
§max_arity: i32
§constants_length: i32
§bytecode_length: i32
§environments_length: i32
§defs_length: i32
§symbolmap_length: i32
Trait 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 moreimpl 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