#[repr(C)]pub struct Ssm1BasisHeader {
pub magic: [u8; 4],
pub version: u16,
pub mode_count: u16,
pub target_vertex_count: u32,
pub target_joint_count: u16,
pub flags: u16,
pub species_taxon_hash: u64,
pub provenance: EpistemicProvenanceWord,
pub record_crc32c: u32,
}Expand description
Statistical Shape Model (SSM1) basis header (32B).
Fields§
§magic: [u8; 4]§version: u16§mode_count: u16§target_vertex_count: u32§target_joint_count: u16§flags: u16§species_taxon_hash: u64§provenance: EpistemicProvenanceWord§record_crc32c: u32Implementations§
Source§impl Ssm1BasisHeader
impl Ssm1BasisHeader
pub fn seal(&mut self)
pub fn with_sealed_crc(self) -> Self
pub fn verify_crc(&self) -> bool
Trait Implementations§
Source§impl Clone for Ssm1BasisHeader
impl Clone for Ssm1BasisHeader
impl Copy for Ssm1BasisHeader
Source§impl Debug for Ssm1BasisHeader
impl Debug for Ssm1BasisHeader
Source§impl PartialEq for Ssm1BasisHeader
impl PartialEq for Ssm1BasisHeader
impl Pod for Ssm1BasisHeader
impl StructuralPartialEq for Ssm1BasisHeader
Auto Trait Implementations§
impl Freeze for Ssm1BasisHeader
impl RefUnwindSafe for Ssm1BasisHeader
impl Send for Ssm1BasisHeader
impl Sync for Ssm1BasisHeader
impl Unpin for Ssm1BasisHeader
impl UnsafeUnpin for Ssm1BasisHeader
impl UnwindSafe for Ssm1BasisHeader
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> 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 more