Struct webrender_api::image::RasterizedBlobImage
source · pub struct RasterizedBlobImage {
pub rasterized_rect: DeviceIntRect,
pub data: Arc<Vec<u8>>,
}
Expand description
Representation of a rasterized blob image. This is obtained by passing
BlobImageData
to the embedding via the rasterization callback.
Fields§
§rasterized_rect: DeviceIntRect
The rectangle that was rasterized in device pixels, relative to the image or tile.
data: Arc<Vec<u8>>
Backing store. The format is stored out of band in BlobImageDescriptor
.
Auto Trait Implementations§
impl Freeze for RasterizedBlobImage
impl RefUnwindSafe for RasterizedBlobImage
impl Send for RasterizedBlobImage
impl Sync for RasterizedBlobImage
impl Unpin for RasterizedBlobImage
impl UnwindSafe for RasterizedBlobImage
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more