pub struct LineConfig {
pub num_points: i32,
pub point1_x_m: f32,
pub point1_y_m: f32,
pub point2_x_m: f32,
pub point2_y_m: f32,
}Expand description
Line pattern configuration.
Fields§
§num_points: i32Number of points on line
point1_x_m: f32X coordinate of point 1 (meters)
point1_y_m: f32Y coordinate of point 1 (meters)
point2_x_m: f32X coordinate of point 2 (meters)
point2_y_m: f32Y coordinate of point 2 (meters)
Trait Implementations§
Source§impl Clone for LineConfig
impl Clone for LineConfig
Source§fn clone(&self) -> LineConfig
fn clone(&self) -> LineConfig
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 LineConfig
impl Debug for LineConfig
Source§impl Default for LineConfig
impl Default for LineConfig
Source§fn default() -> LineConfig
fn default() -> LineConfig
Returns the “default value” for a type. Read more
impl Copy for LineConfig
Auto Trait Implementations§
impl Freeze for LineConfig
impl RefUnwindSafe for LineConfig
impl Send for LineConfig
impl Sync for LineConfig
impl Unpin for LineConfig
impl UnwindSafe for LineConfig
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