#[repr(C, align(64))]pub struct PoetGeometryHeader {Show 18 fields
pub geometry_id: u64,
pub construct_schema_hash: u64,
pub manifold_id: u32,
pub cell_0_count: u32,
pub cell_1_count: u32,
pub cell_2_count: u32,
pub cell_3_count: u32,
pub geometry_payload_offset: u32,
pub ddg_operators_offset: u32,
pub graph_dir_offset: u32,
pub harboured_graph_count: u16,
pub active_graph_slot: u16,
pub euler_characteristic: i32,
pub complex_kind: u8,
pub metric_kind: u8,
pub ambient_dim: u8,
pub intrinsic_dim: u8,
pub crc32c: u32,
}Expand description
64-byte cache-line aligned Host Geometry Header.
A single PoetGeometryHeader owns the cellular/metric space and harbours
harboured_graph_count (M) HarbouredGraphHeader entries at graph_dir_offset.
Fields§
§geometry_id: u64§construct_schema_hash: u64§manifold_id: u32§cell_0_count: u32§cell_1_count: u32§cell_2_count: u32§cell_3_count: u32§geometry_payload_offset: u32§ddg_operators_offset: u32§graph_dir_offset: u32§harboured_graph_count: u16§active_graph_slot: u16§euler_characteristic: i32§complex_kind: u8§metric_kind: u8§ambient_dim: u8§intrinsic_dim: u8§crc32c: u32Implementations§
Source§impl PoetGeometryHeader
impl PoetGeometryHeader
pub const fn complex_kind_enum(&self) -> Option<GeometryComplexKind>
pub const fn metric_kind_enum(&self) -> Option<GeometryMetricKind>
pub const fn computed_euler_characteristic(&self) -> i32
Trait Implementations§
Source§impl Clone for PoetGeometryHeader
impl Clone for PoetGeometryHeader
impl Copy for PoetGeometryHeader
Source§impl Debug for PoetGeometryHeader
impl Debug for PoetGeometryHeader
Source§impl Default for PoetGeometryHeader
impl Default for PoetGeometryHeader
Source§impl<'de> Deserialize<'de> for PoetGeometryHeader
impl<'de> Deserialize<'de> for PoetGeometryHeader
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 Eq for PoetGeometryHeader
Source§impl PartialEq for PoetGeometryHeader
impl PartialEq for PoetGeometryHeader
impl Pod for PoetGeometryHeader
Source§impl Serialize for PoetGeometryHeader
impl Serialize for PoetGeometryHeader
impl StructuralPartialEq for PoetGeometryHeader
Auto Trait Implementations§
impl Freeze for PoetGeometryHeader
impl RefUnwindSafe for PoetGeometryHeader
impl Send for PoetGeometryHeader
impl Sync for PoetGeometryHeader
impl Unpin for PoetGeometryHeader
impl UnsafeUnpin for PoetGeometryHeader
impl UnwindSafe for PoetGeometryHeader
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
impl<T> AnyBitPattern for Twhere
T: Pod,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
impl<T> Interleave for Twhere
T: Pod,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreimpl<T> NoUninit for Twhere
T: Pod,
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.