Struct pixel_widgets::draw::ImageData [−][src]
pub struct ImageData {
pub texture: usize,
pub texcoords: Rectangle,
pub size: Rectangle,
// some fields omitted
}Expand description
Reference to an image loaded by the Ui.
Fields
texture: usizeThe texture atlas identifier that this image resides in.
texcoords: RectangleThe texcoords within the atlas that the image spans.
size: RectangleThe physical size in pixels of the image.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ImageData
impl UnwindSafe for ImageData
Blanket Implementations
Mutably borrows from an owned value. Read more