Struct street_index::gridconfig::GridConfig [−][src]
pub struct GridConfig { pub cell_height: Millimeter, pub cell_width: Millimeter, }
Later on this struct will be extended with parameters for curving, rotations, offsets, labeling, etc. Right now it's just: how big should one cell be?
Cells start at the top left (again, later on this will likely be configurable although I haven't seen a map where
Fields
cell_height: Millimeter
cell_width: Millimeter
Trait Implementations
impl Debug for GridConfig
[src]
impl Debug for GridConfig
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for GridConfig
[src]
impl Copy for GridConfig
impl Clone for GridConfig
[src]
impl Clone for GridConfig
fn clone(&self) -> GridConfig
[src]
fn clone(&self) -> GridConfig
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for GridConfig
impl Send for GridConfig
impl Sync for GridConfig
impl Sync for GridConfig