[][src]Struct azul_webrender_api::UpdateBlobImage

pub struct UpdateBlobImage {
    pub key: BlobImageKey,
    pub descriptor: ImageDescriptor,
    pub data: Arc<BlobImageData>,
    pub visible_rect: DeviceIntRect,
    pub dirty_rect: BlobDirtyRect,
}

Updates an already existing blob-image resource.

Fields

key: BlobImageKey

The key identfying the blob-image resource to update.

descriptor: ImageDescriptor

Properties of the image.

data: Arc<BlobImageData>

The blob-image's serialized commands.

visible_rect: DeviceIntRect

See AddBlobImage::visible_rect.

dirty_rect: BlobDirtyRect

An optional dirty rect that lets WebRender optimize the amount of data to to rasterize and transfer to the GPU.

Trait Implementations

impl Clone for UpdateBlobImage[src]

impl<'de> Deserialize<'de> for UpdateBlobImage[src]

impl Serialize for UpdateBlobImage[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.