Struct direct_gui::controls::Sprite [] [src]

pub struct Sprite {
    pub sprite_ref: SpriteRef,
    // some fields omitted
}

The skin of the button is a sprite.

Fields

Methods

impl Sprite
[src]

[src]

[src]

Retrieve the position.

[src]

Map a position.

[src]

Change the position.

Trait Implementations

impl Debug for Sprite
[src]

[src]

Formats the value using the given formatter. Read more

impl Control for Sprite
[src]

[src]

Update the control.

[src]

Draw the control on the output buffer.

[src]

For downcasting.

[src]

Retrieve what type of control this is.

[src]

For downcasting.

Auto Trait Implementations

impl Send for Sprite

impl Sync for Sprite