pub struct PolygonHole {
pub verts: Box<[u32]>,
pub hole: Vec<Box<[u32]>>,
}
Expand description
The data for an individual polygon-with-hole.
Fields§
§verts: Box<[u32]>
The vertex data for the polygon.
hole: Vec<Box<[u32]>>
A list of 0 or more holes, each of which describes a polygonal hole in the main polygon.
Implementations§
Trait Implementations§
Source§impl Clone for PolygonHole
impl Clone for PolygonHole
Source§fn clone(&self) -> PolygonHole
fn clone(&self) -> PolygonHole
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for PolygonHole
impl RefUnwindSafe for PolygonHole
impl Send for PolygonHole
impl Sync for PolygonHole
impl Unpin for PolygonHole
impl UnwindSafe for PolygonHole
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