pub struct ViewFace {
pub name: String,
pub also: Vec<String>,
pub solid: Option<String>,
pub feature: Option<String>,
pub mesh: Rc<FaceMesh>,
}Expand description
A face of the part, as drawn: its name, and its triangles. Serialized,
the triangles are named by their key (FaceMesh::key): a viewer is
sent each mesh once (crate::editor::SceneState::meshes).
Fields§
§name: String§also: Vec<String>What else it answers to: the names of faces made one with it, which what was given by name, a colour, still means.
solid: Option<String>The solid the face bounds.
feature: Option<String>The step whose feature made it, if one did.
mesh: Rc<FaceMesh>Trait Implementations§
Auto Trait Implementations§
impl !Send for ViewFace
impl !Sync for ViewFace
impl Freeze for ViewFace
impl RefUnwindSafe for ViewFace
impl Unpin for ViewFace
impl UnsafeUnpin for ViewFace
impl UnwindSafe for ViewFace
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