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

source§

fn clone(&self) -> JanetFuncDef

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Copy for JanetFuncDef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.