Skip to main content

set

Function set 

Source
pub fn set(ctx: &Context, viewport: ViewportId, state: Option<Value>)
Expand description

Says what draws into viewport’s own surface now; None forgets it (the window closed, or nothing draws there any more).