Struct allegro::SubBitmap [] [src]

pub struct SubBitmap { /* fields omitted */ }

Methods

impl SubBitmap
[src]

Trait Implementations

impl BitmapLike for SubBitmap
[src]

Returns if this bitmap is compatible with the current display. This comes into play when you have multiple displays in a single thread, and have created bitmaps for different displays. A bitmap created for one display may or may not be compatible with the other display. If the bitmap is not compatible, drawing it will be slow. Read more

impl Drop for SubBitmap
[src]

A method called when the value goes out of scope. Read more

impl SharedBitmap for SubBitmap
[src]

Returns the backing bitmap, if possible.