pub struct BodyNames {
pub vertices: Vec<String>,
pub edges: Vec<String>,
pub faces: Vec<String>,
pub solid: Option<String>,
}Expand description
The names NamedModel::build_body gives what it builds: one per vertex, edge
and face of the BodySpec, index for index, and the solid’s, if it
builds one.
Fields§
§vertices: Vec<String>§edges: Vec<String>§faces: Vec<String>§solid: Option<String>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BodyNames
impl<'de> Deserialize<'de> for BodyNames
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 BodyNames
Auto Trait Implementations§
impl Freeze for BodyNames
impl RefUnwindSafe for BodyNames
impl Send for BodyNames
impl Sync for BodyNames
impl Unpin for BodyNames
impl UnsafeUnpin for BodyNames
impl UnwindSafe for BodyNames
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