make fields private
This commit is contained in:
parent
e973404c82
commit
ab226026c3
@ -5,9 +5,9 @@ use itertools::multizip;
|
||||
/// Stores data that is located in grids that is used for image generation
|
||||
#[derive(Clone)]
|
||||
pub struct ThinGridData {
|
||||
pub width: usize,
|
||||
pub height: usize,
|
||||
pub data: Vec<f32>,
|
||||
width: usize,
|
||||
height: usize,
|
||||
data: Vec<f32>,
|
||||
}
|
||||
|
||||
impl ThinGridData {
|
||||
@ -42,8 +42,8 @@ impl ThinGridData {
|
||||
/// Class for storing data that will be used to create images
|
||||
#[derive(Clone)]
|
||||
pub struct ImgData {
|
||||
pub grids: Vec<ThinGridData>,
|
||||
pub palette: Palette,
|
||||
grids: Vec<ThinGridData>,
|
||||
palette: Palette,
|
||||
}
|
||||
|
||||
impl ImgData {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user