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

pub struct Palette { /* fields omitted */ }

Methods

impl Palette
[src]

Creates a new, uninitialized palette

Creates a palette from the provided colors

impl Palette
[src]

Trait Implementations

impl Drop for Palette
[src]

A method called when the value goes out of scope. Read more