Function surpass::painter::for_each_row

source ·
pub fn for_each_row<L: Layout, S: LayerProps>(
    layout: &mut L,
    buffer: &mut [u8],
    channels: [Channel; 4],
    flusher: Option<&dyn Flusher>,
    previous_clear_color: Option<Color>,
    cached_tiles: Option<RefMut<'_, Vec<CachedTile>>>,
    segments: &[PixelSegment<TILE_WIDTH, TILE_HEIGHT>],
    clear_color: Color,
    crop: &Option<Rect>,
    styles: &S
)