pub struct PolygonFace {
pub outer: Vec<u32>,
pub holes: Vec<Vec<u32>>,
}Expand description
One polygonal face with an outer loop and zero or more inner loops.
Fields§
§outer: Vec<u32>Outer boundary position indices.
holes: Vec<Vec<u32>>Inner boundary position indices.
Trait Implementations§
Source§impl Clone for PolygonFace
impl Clone for PolygonFace
Source§fn clone(&self) -> PolygonFace
fn clone(&self) -> PolygonFace
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 moreSource§impl Debug for PolygonFace
impl Debug for PolygonFace
Source§impl Default for PolygonFace
impl Default for PolygonFace
Source§fn default() -> PolygonFace
fn default() -> PolygonFace
Returns the “default value” for a type. Read more
Source§impl PartialEq for PolygonFace
impl PartialEq for PolygonFace
impl Eq for PolygonFace
impl StructuralPartialEq for PolygonFace
Auto Trait Implementations§
impl Freeze for PolygonFace
impl RefUnwindSafe for PolygonFace
impl Send for PolygonFace
impl Sync for PolygonFace
impl Unpin for PolygonFace
impl UnwindSafe for PolygonFace
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