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§fn clone(&self) -> CellRecord
fn clone(&self) -> CellRecord
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 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<CellRecord, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CellRecord, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for CellRecord
impl Serialize for CellRecord
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Forget for CellRecord
impl Freeze for CellRecord
impl Move 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