Function tint::read_buffer [] [src]

pub fn read_buffer<T>(buf: T) -> Vec<(String, Color)> where
    T: BufRead

Load a buffer and return a Vec of names and colors

Available formats include: name #hex-value r255 g255 b255 name Lines beginning with # are ignored