Struct lean_sys::lean_closure_object
source · #[repr(C)]pub struct lean_closure_object {
pub m_header: lean_object,
pub m_fun: *mut c_void,
pub m_arity: u16,
pub m_num_fixed: u16,
pub m_objs: IncompleteArrayField<*mut lean_object>,
}
Fields
m_header: lean_object
m_fun: *mut c_void
m_arity: u16
Number of arguments expected by m_fun
m_num_fixed: u16
Number of arguments that have been already fixed
m_objs: IncompleteArrayField<*mut lean_object>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for lean_closure_object
impl !Send for lean_closure_object
impl !Sync for lean_closure_object
impl Unpin for lean_closure_object
impl UnwindSafe for lean_closure_object
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more