Struct ytesrev::solid::Solid[][src]

pub struct Solid {
    pub color: Color,
    // some fields omitted
}

A solid, fillid with a color

Fields

The color

Methods

impl Solid
[src]

Create a Solid from an sdl2 color

Create a Solid from a rgba values

Trait Implementations

impl Drawable for Solid
[src]

Important traits for Vec<u8>

What this object contains

Important traits for Vec<u8>

What this object contains, mutably

When the user presses space, the state of the presentation is advanced. This method is what is called. Read more

What state the object is in

Draw everything

Register all content. This is mostly just used by [LatexObj]s, that need to be registered before loaded. Read more

Load all content

Tick the object

Auto Trait Implementations

impl Send for Solid

impl Sync for Solid