Struct allegro::bitmap::SubBitmap

source ·
pub struct SubBitmap { /* private fields */ }

Implementations

Trait Implementations

Creates a sub-bitmap of the current bitmap. Note that the parent bitmap will panic upon destruction if any strong references to its sub-bitmaps are held at that time. Read more
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
Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.