pub fn blank_with_defaults(id: &str) -> VeraPalette {
		let mut retval = VeraPalette {
			id: id.to_owned(),
			entries: vec![],
		};
		let _ = retval.add_entry(true, 0, 0, 0);
		let _ = retval.add_entry(true, 0xff, 0xff, 0xff);
		retval
	}
/// Init an empty palette
/// with black and white values
Init an empty palette
with black and white values
Init an empty palette with black and white values
pub fn blank_with_defaults(id: &str) -> VeraPalette {
		let mut retval = VeraPalette {
			id: id.to_owned(),
			entries: vec![],
		};
		let _ = retval.add_entry(true, 0, 0, 0);
		let _ = retval.add_entry(true, 0xff, 0xff, 0xff);
		retval
	}
pub fn blank_with_defaults ( id : & str ) -> VeraPalette { let mut retval = VeraPalette { id : id . to_owned ( ) , entries : vec ! [ ] , } ; let _ = retval . add_entry ( true , 0 , 0 , 0 ) ; let _ = retval . add_entry ( true , 0xff , 0xff , 0xff ) ; retval }
Init an empty palette
with black and white values
Init an empty palette with black and white values
id
&str