Struct sixtyfps_corelib::graphics::StaticTexture  [−][src]
#[repr(C)]pub struct StaticTexture {
    pub rect: IntRect,
    pub format: PixelFormat,
    pub color: Color,
    pub index: usize,
}Expand description
Some raw pixel data which is typically stored in the binary
Fields
rect: IntRectThe position and size of the texture within the image
format: PixelFormatThe pixel format of this texture
color: ColorThe color, for the alpha map ones
index: usizeindex in the data array
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for StaticTexture
impl Send for StaticTexture
impl Sync for StaticTexture
impl Unpin for StaticTexture
impl UnwindSafe for StaticTexture
Blanket Implementations
Mutably borrows from an owned value. Read more