Struct sdl2::pixels::Palette [] [src]

pub struct Palette { /* fields omitted */ }

Methods

impl Palette
[src]

[src]

Creates a new, uninitialized palette

[src]

Creates a palette from the provided colors

[src]

impl Palette
[src]

[src]

Trait Implementations

impl Drop for Palette
[src]

[src]

Executes the destructor for this type. Read more