render_slot

Function render_slot 

Source
pub fn render_slot<const SLOTS: usize, const PAGES: usize>(
    pool: &ReassemblyPool<SLOTS, PAGES>,
    slot_index: usize,
    sentinels: &RenderSentinels,
    final_render: bool,
    out: &mut [u8],
) -> RenderResult
Expand description

Render a slot’s fragments into out as UTF-8, inserting one sentinel per absent run and skipping code points damaged by missing byte boundaries.