Struct webrender_api::BlobImageDescriptor
source · #[repr(C)]pub struct BlobImageDescriptor {
pub rect: LayoutIntRect,
pub format: ImageFormat,
}
Expand description
Metadata (but not storage) for a blob image.
Fields§
§rect: LayoutIntRect
Surface of the image or tile to render in the same coordinate space as the drawing commands.
format: ImageFormat
Format for the data in the backing store.
Trait Implementations§
source§impl Clone for BlobImageDescriptor
impl Clone for BlobImageDescriptor
source§fn clone(&self) -> BlobImageDescriptor
fn clone(&self) -> BlobImageDescriptor
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BlobImageDescriptor
impl Debug for BlobImageDescriptor
impl Copy for BlobImageDescriptor
Auto Trait Implementations§
impl Freeze for BlobImageDescriptor
impl RefUnwindSafe for BlobImageDescriptor
impl Send for BlobImageDescriptor
impl Sync for BlobImageDescriptor
impl Unpin for BlobImageDescriptor
impl UnwindSafe for BlobImageDescriptor
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)