pub struct DisplayFace {
pub face_id: u64,
pub positions: Vec<Vec3>,
pub normals: Vec<Vec3>,
pub triangles: Vec<[u32; 3]>,
}Expand description
One face of a SolidDisplay: its own vertices, the surface’s outward
normal at each, and its triangles over them (counter-clockwise outward).
Fields§
§face_id: u64The face’s id in the solid.
positions: Vec<Vec3>§normals: Vec<Vec3>§triangles: Vec<[u32; 3]>Trait Implementations§
Source§impl Clone for DisplayFace
impl Clone for DisplayFace
Source§impl Debug for DisplayFace
impl Debug for DisplayFace
Auto Trait Implementations§
impl Forget for DisplayFace
impl Freeze for DisplayFace
impl Move for DisplayFace
impl RefUnwindSafe for DisplayFace
impl Send for DisplayFacewhere
RawVecInner: Send,
impl Sync for DisplayFacewhere
RawVecInner: Sync,
impl Unpin for DisplayFace
impl UnsafeUnpin for DisplayFacewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Vec3>: UnsafeUnpin,
PhantomData<[u32; 3]>: UnsafeUnpin,
impl UnwindSafe for DisplayFacewhere
RawVecInner: UnwindSafe,
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