pub struct ImportedBody {
pub label: String,
pub spec: BodySpec,
pub vertex_names: Vec<Vec<String>>,
pub edge_names: Vec<Vec<String>>,
pub face_names: Vec<Vec<String>>,
pub healed: Healing,
}Expand description
A body read from a file, ready to build: its description, and the name
of every entity in it — the arguments a step’s names are made of, as
["f3", "q1"] for the second sector of the file’s fourth face. It
serializes exactly, as its body does: what a file read as is kept
(geop_core_program::cache).
Fields§
§label: StringWhat the file calls it.
spec: BodySpec§vertex_names: Vec<Vec<String>>§edge_names: Vec<Vec<String>>§face_names: Vec<Vec<String>>§healed: HealingWhat was rebuilt where the file disagrees with itself further than
the kernel can carry (see heal).
Trait Implementations§
Source§impl Clone for ImportedBody
impl Clone for ImportedBody
Source§fn clone(&self) -> ImportedBody
fn clone(&self) -> ImportedBody
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ImportedBody
impl Debug for ImportedBody
Source§impl<'de> Deserialize<'de> for ImportedBody
impl<'de> Deserialize<'de> for ImportedBody
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
Source§impl PartialEq for ImportedBody
impl PartialEq for ImportedBody
Source§impl Serialize for ImportedBody
impl Serialize for ImportedBody
impl StructuralPartialEq for ImportedBody
Auto Trait Implementations§
impl Freeze for ImportedBody
impl RefUnwindSafe for ImportedBody
impl Send for ImportedBody
impl Sync for ImportedBody
impl Unpin for ImportedBody
impl UnsafeUnpin for ImportedBody
impl UnwindSafe for ImportedBody
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