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_objectm_fun: *mut c_voidm_arity: u16Number of arguments expected by m_fun
m_num_fixed: u16Number 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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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