pub struct Shell {
pub faces: Vec<FaceId>,
pub solid: Option<SolidId>,
}Expand description
A connected, orientable 2-manifold made up of faces.
A shell of a solid is closed and bounds a region of space: a lump of
the solid, or a void in one (see crate::Solid). A shell of no solid
is a sheet, connected or not: faces standing on their own, not
bounding anything, whose free border edges are used by one face only
(what an extrude or revolve builds as a surface, and what a split cuts a
solid with).
Fields§
§faces: Vec<FaceId>§solid: Option<SolidId>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Shell
impl<'de> Deserialize<'de> for Shell
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 Shell
Auto Trait Implementations§
impl Freeze for Shell
impl RefUnwindSafe for Shell
impl Send for Shell
impl Sync for Shell
impl Unpin for Shell
impl UnsafeUnpin for Shell
impl UnwindSafe for Shell
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