Struct ggez::graphics::spritebatch::BoundSpriteBatch[][src]

pub struct BoundSpriteBatch<'a> { /* fields omitted */ }
Deprecated

A drawable combination of a SpriteBatch and a specific Image. It is not always convenient for a SpriteBatch to own the image it is drawing, so this structure lets you override the image with a borrowed one.

This is now deprecated; an Image is cheap to clone and this was never terribly useful to begin with.

Trait Implementations

impl<'a> Debug for BoundSpriteBatch<'a>
[src]

Formats the value using the given formatter. Read more

impl<'a> Drawable for BoundSpriteBatch<'a>
[src]

Actually draws the object to the screen. Read more

Sets the blend mode to be used when drawing this drawable. This overrides the general graphics::set_blend_mode(). If None is set, defers to the blend mode set by graphics::set_blend_mode(). Read more

Gets the blend mode to be used when drawing this drawable.

Draws the drawable onto the rendering target. Read more

Auto Trait Implementations

impl<'a> Send for BoundSpriteBatch<'a>

impl<'a> Sync for BoundSpriteBatch<'a>