pub struct SolidDisplay {
pub faces: Vec<DisplayFace>,
pub edges: Vec<DisplayEdge>,
pub seams: Vec<Vec<Vec3>>,
}Expand description
A solid as a viewer draws it (see the module docs). Seams, where a face meets itself, are kept apart from the edges between faces.
Fields§
§faces: Vec<DisplayFace>§edges: Vec<DisplayEdge>§seams: Vec<Vec<Vec3>>Trait Implementations§
Source§impl Clone for SolidDisplay
impl Clone for SolidDisplay
Source§impl Debug for SolidDisplay
impl Debug for SolidDisplay
Auto Trait Implementations§
impl Forget for SolidDisplay
impl Freeze for SolidDisplaywhere
*const u8 is !null: Freeze,
PhantomData<DisplayFace>: Freeze,
PhantomData<DisplayEdge>: Freeze,
PhantomData<Vec<Vec3>>: Freeze,
impl Move for SolidDisplay
impl RefUnwindSafe for SolidDisplay
impl Send for SolidDisplaywhere
RawVecInner: Send,
impl Sync for SolidDisplaywhere
RawVecInner: Sync,
impl Unpin for SolidDisplay
impl UnsafeUnpin for SolidDisplaywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<DisplayFace>: UnsafeUnpin,
PhantomData<DisplayEdge>: UnsafeUnpin,
PhantomData<Vec<Vec3>>: UnsafeUnpin,
impl UnwindSafe for SolidDisplaywhere
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