pub struct Solid {
pub shells: Vec<ShellId>,
}Expand description
A 3-dimensional topological entity: a region of space bounded by
closed shells, each connected, which never cross. A point is inside the
solid when it is inside an odd number of them, so a shell is a lump of
its own or a void in one by where it lies, not by its place in
shells: a boolean cutting a bar in two leaves two lumps, one leaving
a sphere’s room inside a block a lump and a void. A void’s faces point
into it, out of the material, so the volume it encloses is negative.
Fields§
§shells: Vec<ShellId>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Solid
impl<'de> Deserialize<'de> for Solid
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Solid
Auto Trait Implementations§
impl Freeze for Solid
impl RefUnwindSafe for Solid
impl Send for Solid
impl Sync for Solid
impl Unpin for Solid
impl UnsafeUnpin for Solid
impl UnwindSafe for Solid
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