rune::buffer

Function set_buffer

Source
pub(crate) fn set_buffer<'ob>(
    buffer_or_name: Gc<ObjectType<'ob>>,
    env: &mut Rt<Env<'_>>,
    cx: &'ob Context<'_>,
) -> Result<Gc<ObjectType<'ob>>>