pub struct Region {
pub outer: Vec<Piece>,
pub holes: Vec<Vec<Piece>>,
pub against: bool,
}Expand description
One region of a split face: an outer loop and its holes.
Fields§
§outer: Vec<Piece>Outer loop, anticlockwise in the face’s parameters.
holes: Vec<Vec<Piece>>Holes, clockwise.
against: boolWhether the face’s own loops wind clockwise in its parameters, so the region (always anticlockwise) faces opposite to the face’s orientation flag.
Trait Implementations§
impl StructuralPartialEq for Region
Auto Trait Implementations§
impl Freeze for Region
impl RefUnwindSafe for Region
impl Send for Region
impl Sync for Region
impl Unpin for Region
impl UnwindSafe for Region
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