pub struct GridConfig {
pub num_points_x: i32,
pub num_points_y: i32,
pub center_x_m: f32,
pub center_y_m: f32,
pub width_m: f32,
pub height_m: f32,
pub angle_deg: f32,
}Expand description
Grid pattern configuration.
Fields§
§num_points_x: i32Number of points in X direction
num_points_y: i32Number of points in Y direction
center_x_m: f32X coordinate of grid center (meters)
center_y_m: f32Y coordinate of grid center (meters)
width_m: f32Grid width (meters)
height_m: f32Grid height (meters)
angle_deg: f32Grid rotation angle (degrees)
Trait Implementations§
Source§impl Clone for GridConfig
impl Clone for GridConfig
Source§fn clone(&self) -> GridConfig
fn clone(&self) -> GridConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GridConfig
impl Debug for GridConfig
Source§impl Default for GridConfig
impl Default for GridConfig
Source§fn default() -> GridConfig
fn default() -> GridConfig
Returns the “default value” for a type. Read more
impl Copy for GridConfig
Auto Trait Implementations§
impl Freeze for GridConfig
impl RefUnwindSafe for GridConfig
impl Send for GridConfig
impl Sync for GridConfig
impl Unpin for GridConfig
impl UnwindSafe for GridConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more