struct State {
min_pos: i32,
max_pos: i32,
min_coord: i32,
max_coord: i32,
min_flags: PointFlags,
max_flags: PointFlags,
min_on_coord: i32,
max_on_coord: i32,
}
Expand description
Capture current and previous state while computing segments.
Values measured along a segment (point.v) are called “coordinates” and values orthogonal to it (point.u) are called “positions”
Fields§
§min_pos: i32
§max_pos: i32
§min_coord: i32
§max_coord: i32
§min_flags: PointFlags
§max_flags: PointFlags
§min_on_coord: i32
§max_on_coord: i32
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for State
impl RefUnwindSafe for State
impl Send for State
impl Sync for State
impl Unpin for State
impl UnwindSafe for State
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