pub struct CellRecord {
pub id: u64,
pub faces: Vec<(u64, bool)>,
pub void: bool,
}Expand description
A declared closed region of a Cellular body. Face senses are relative
to the body’s face records; a shared wall has opposite senses in its
two cells. void distinguishes a void region from material.
Fields§
§id: u64§faces: Vec<(u64, bool)>§void: boolTrait Implementations§
Source§impl Clone for CellRecord
impl Clone for CellRecord
Source§impl Debug for CellRecord
impl Debug for CellRecord
Source§impl<'de> Deserialize<'de> for CellRecord
impl<'de> Deserialize<'de> for CellRecord
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
Auto Trait Implementations§
impl Freeze for CellRecord
impl RefUnwindSafe for CellRecord
impl Send for CellRecord
impl Sync for CellRecord
impl Unpin for CellRecord
impl UnsafeUnpin for CellRecord
impl UnwindSafe for CellRecord
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