Skip to main content

accepting

Function accepting 

pub fn accepting(collect: impl FnOnce()) -> Vec<ScrollOffer>
Expand description

Run collect (a widget tree’s collect_damage) with scroll copies accepted, and return what the scrollers in it offered instead of damaging their viewports. Only a host that presents over its last frame’s pixels and copies each planned offer (plan, encode_copies) may call it.