pub struct Cuboid<F: Float> {
pub ph: Polyhedron<F>,
pub edges: Vec<(u16, [u16; 3])>,
}Expand description
Cuboid
Fields§
§ph: Polyhedron<F>polyhedron tri: Vec 6 of Vec 2 indexed triangles
edges: Vec<(u16, [u16; 3])>edges (duplex)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<F> Freeze for Cuboid<F>where
F: Freeze,
impl<F> RefUnwindSafe for Cuboid<F>where
F: RefUnwindSafe,
impl<F> Send for Cuboid<F>where
F: Send,
impl<F> Sync for Cuboid<F>where
F: Sync,
impl<F> Unpin for Cuboid<F>where
F: Unpin,
impl<F> UnwindSafe for Cuboid<F>where
F: 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