fmt
This commit is contained in:
@@ -1,8 +1,4 @@
|
||||
use crate::{
|
||||
grid::{Grid},
|
||||
palette::{Palette},
|
||||
};
|
||||
|
||||
use crate::{grid::Grid, palette::Palette};
|
||||
|
||||
// Class for storing data that will be used to create images
|
||||
pub struct ImgData {
|
||||
@@ -17,16 +13,16 @@ impl Clone for ImgData {
|
||||
grids: self.grids.clone(),
|
||||
palette: self.palette.clone(),
|
||||
iteration: self.iteration.clone(),
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
impl ImgData {
|
||||
pub fn new(in_grids: Vec<Grid>, in_palette: Palette, in_iteration: i32) -> Self {
|
||||
ImgData {
|
||||
grids: in_grids,
|
||||
grids: in_grids,
|
||||
palette: in_palette,
|
||||
iteration: in_iteration,
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user