Struct quicksilver::graphics::Surface[][src]

pub struct Surface { /* fields omitted */ }

A possible render target that can be drawn to the screen

Methods

impl Surface
[src]

Create a new surface with a given width and height

Render data to the surface

Do not attempt to use the surface or its image within the function, because it is undefined behavior

Get a reference to the Image that contains the data drawn to the Surface

Trait Implementations

impl Clone for Surface
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Surface
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl !Send for Surface

impl !Sync for Surface