pub struct SimplePolygon(pub Vec<IndexTuple>);Expand description
A a simple polygon with arbitrary many vertices.
Each vertex has an associated tuple of (position, texture, normal) indices.
Tuple Fields§
§0: Vec<IndexTuple>Trait Implementations§
Source§impl Clone for SimplePolygon
impl Clone for SimplePolygon
Source§fn clone(&self) -> SimplePolygon
fn clone(&self) -> SimplePolygon
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 SimplePolygon
impl Debug for SimplePolygon
Source§impl Hash for SimplePolygon
impl Hash for SimplePolygon
Source§impl PartialEq for SimplePolygon
impl PartialEq for SimplePolygon
impl StructuralPartialEq for SimplePolygon
Auto Trait Implementations§
impl Freeze for SimplePolygon
impl RefUnwindSafe for SimplePolygon
impl Send for SimplePolygon
impl Sync for SimplePolygon
impl Unpin for SimplePolygon
impl UnwindSafe for SimplePolygon
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