rune::eval

Function autoload_do_load

Source
pub(crate) fn autoload_do_load<'ob>(
    fundef: &Rt<Slot<Gc<ObjectType<'_>>>>,
    funname: Option<&Rt<Slot<Gc<Symbol<'_>>>>>,
    macro_only: Option<&Rt<Slot<Gc<ObjectType<'_>>>>>,
    env: &mut Rt<Env<'_>>,
    cx: &'ob mut Context<'_>,
) -> Result<Gc<ObjectType<'ob>>>