pub struct PolyListGeom {
pub vcount: Box<[u32]>,
pub prim: Box<[u32]>,
}
Expand description
The data for a PolyList
element.
Fields§
§vcount: Box<[u32]>
Contains a list of integers, each specifying the number of
vertices for one polygon described by the PolyList
element.
prim: Box<[u32]>
Contains a list of integers that specify the vertex attributes (indices) for an individual polylist. The winding order of vertices produced is counter-clockwise and describes the front side of each polygon.
Trait Implementations§
Source§impl Clone for PolyListGeom
impl Clone for PolyListGeom
Source§fn clone(&self) -> PolyListGeom
fn clone(&self) -> PolyListGeom
Returns a duplicate 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 PolyListGeom
impl Debug for PolyListGeom
Source§impl Default for PolyListGeom
impl Default for PolyListGeom
Source§fn default() -> PolyListGeom
fn default() -> PolyListGeom
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PolyListGeom
impl RefUnwindSafe for PolyListGeom
impl Send for PolyListGeom
impl Sync for PolyListGeom
impl Unpin for PolyListGeom
impl UnwindSafe for PolyListGeom
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