pub struct Face<'a> {
pub outer: usize,
pub holes: &'a [i32],
}Expand description
One face: an outer perimeter, and one perimeter per hole.
Fields§
§outer: usizeHow many vertices the outer perimeter has.
holes: &'a [i32]How many vertices each hole’s perimeter has, in order.
Borrowed from the node’s nvertices: a Moana-scale mesh has
millions of faces, and a Vec each would cost more than the
attribute it describes.
Implementations§
Trait Implementations§
impl<'a> Copy for Face<'a>
impl<'a> Eq for Face<'a>
impl<'a> StructuralPartialEq for Face<'a>
Auto Trait Implementations§
impl<'a> Forget for Face<'a>
impl<'a> Freeze for Face<'a>
impl<'a> Move for Face<'a>
impl<'a> RefUnwindSafe for Face<'a>
impl<'a> Send for Face<'a>
impl<'a> Sync for Face<'a>
impl<'a> Unpin for Face<'a>
impl<'a> UnsafeUnpin for Face<'a>
impl<'a> UnwindSafe for Face<'a>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.