Skip to main content

AsyncReadResult

Type Alias AsyncReadResult 

pub type AsyncReadResult = RefHandle<SkImage_AsyncReadResult>;
Expand description

The result from Image::async_rescale_and_read_pixels() or Image::async_rescale_and_read_pixels_yuv420().

The data is valid for the lifetime of AsyncReadResult, with the exception that if the source is GPU-backed, the data is immediately invalidated when the context is abandoned or dropped.

Aliased Typeยง

pub struct AsyncReadResult(/* private fields */);