pub struct MeshInput {
pub points: Vec<[f64; 3]>,
pub triangles: Vec<[usize; 3]>,
pub normals: MeshNormalsInput,
}Expand description
A display mesh for StepBuilder::mesh: a vertex array plus 0-based
index triangles — the plain form kernels and renderers already hold.
Fields§
§points: Vec<[f64; 3]>§triangles: Vec<[usize; 3]>§normals: MeshNormalsInputTrait Implementations§
Auto Trait Implementations§
impl Freeze for MeshInput
impl RefUnwindSafe for MeshInput
impl Send for MeshInput
impl Sync for MeshInput
impl Unpin for MeshInput
impl UnsafeUnpin for MeshInput
impl UnwindSafe for MeshInput
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