#[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