#[repr(C, align(64))]pub struct HarbouredGraphHeader {Show 16 fields
pub graph_id: u64,
pub parent_geometry_id: u64,
pub anchor_table_offset: u32,
pub csr_row_ptr_offset: u32,
pub csr_col_idx_offset: u32,
pub edge_anchor_offset: u32,
pub csc_col_ptr_offset: u32,
pub csc_row_idx_offset: u32,
pub edge_weight_offset: u32,
pub vertex_count: u32,
pub edge_count: u32,
pub context_and_state_mask: u32,
pub embed_role: u8,
pub morphology: u8,
pub invariants: TopologyInvariants,
pub crc32c: u32,
}Expand description
64-byte cache-line aligned descriptor for one Graph harboured inside a PoetGeometryHeader.
Fields§
§graph_id: u64§parent_geometry_id: u64§anchor_table_offset: u32§csr_row_ptr_offset: u32§csr_col_idx_offset: u32§edge_anchor_offset: u32§csc_col_ptr_offset: u32§csc_row_idx_offset: u32§edge_weight_offset: u32§vertex_count: u32§edge_count: u32§context_and_state_mask: u32§embed_role: u8§morphology: u8§invariants: TopologyInvariants§crc32c: u32Implementations§
Source§impl HarbouredGraphHeader
impl HarbouredGraphHeader
pub const fn embed_role_enum(&self) -> Option<GraphEmbedRole>
pub const fn morphology_enum(&self) -> Option<GraphMorphology>
pub const fn max_sensitivity_class(&self) -> u8
pub const fn max_depth(&self) -> u8
Trait Implementations§
Source§impl Clone for HarbouredGraphHeader
impl Clone for HarbouredGraphHeader
impl Copy for HarbouredGraphHeader
Source§impl Debug for HarbouredGraphHeader
impl Debug for HarbouredGraphHeader
Source§impl Default for HarbouredGraphHeader
impl Default for HarbouredGraphHeader
Source§impl<'de> Deserialize<'de> for HarbouredGraphHeader
impl<'de> Deserialize<'de> for HarbouredGraphHeader
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 HarbouredGraphHeader
Source§impl PartialEq for HarbouredGraphHeader
impl PartialEq for HarbouredGraphHeader
impl Pod for HarbouredGraphHeader
Source§impl Serialize for HarbouredGraphHeader
impl Serialize for HarbouredGraphHeader
impl StructuralPartialEq for HarbouredGraphHeader
Auto Trait Implementations§
impl Freeze for HarbouredGraphHeader
impl RefUnwindSafe for HarbouredGraphHeader
impl Send for HarbouredGraphHeader
impl Sync for HarbouredGraphHeader
impl Unpin for HarbouredGraphHeader
impl UnsafeUnpin for HarbouredGraphHeader
impl UnwindSafe for HarbouredGraphHeader
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.