Skip to main content

target_of

Function target_of 

Source
pub fn target_of(ctx: &Context, viewport: ViewportId) -> DisplayTarget
Expand description

What a window’s image is drawn into: the image’s own surface when it has one (set_image_surface), else the window’s surface.