pub struct FreeSpaceInput {
pub obstacles: Vec<Polygon>,
pub barriers: Vec<[Point2; 2]>,
}Expand description
What blocks free space: obstacle polygons and open segments.
Fields§
§obstacles: Vec<Polygon>Walls and other solids. They may overlap or touch each other.
barriers: Vec<[Point2; 2]>Open segments that stop free space like a wall of no thickness.
Trait Implementations§
Source§impl Clone for FreeSpaceInput
impl Clone for FreeSpaceInput
Source§fn clone(&self) -> FreeSpaceInput
fn clone(&self) -> FreeSpaceInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FreeSpaceInput
impl Debug for FreeSpaceInput
Source§impl Default for FreeSpaceInput
impl Default for FreeSpaceInput
Source§fn default() -> FreeSpaceInput
fn default() -> FreeSpaceInput
Returns the “default value” for a type. Read more
Source§impl PartialEq for FreeSpaceInput
impl PartialEq for FreeSpaceInput
impl StructuralPartialEq for FreeSpaceInput
Auto Trait Implementations§
impl Freeze for FreeSpaceInput
impl RefUnwindSafe for FreeSpaceInput
impl Send for FreeSpaceInput
impl Sync for FreeSpaceInput
impl Unpin for FreeSpaceInput
impl UnsafeUnpin for FreeSpaceInput
impl UnwindSafe for FreeSpaceInput
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