#[repr(C)]pub struct ProceduralSynthesisHeader {Show 16 fields
pub magic: [u8; 4],
pub version: u16,
pub flags: u16,
pub seed: u64,
pub voronoi_frequency: f32,
pub voronoi_jitter: f32,
pub fillet_blend_radius: f32,
pub fillet_threshold: f32,
pub allometry_exponent_k: f32,
pub allometry_base_b: f32,
pub spiral_growth_rate_k: f32,
pub spiral_initial_radius_a: f32,
pub motor_frequency_hz: f32,
pub motor_damping_ratio: f32,
pub critical_stress_threshold: f32,
pub reserved_f32: f32,
}Expand description
64-byte POD header encoding procedural synthesis recipes in SectionType::ProceduralSynthesis (18).
Fields§
§magic: [u8; 4]§version: u16§flags: u16§seed: u64§voronoi_frequency: f32§voronoi_jitter: f32§fillet_blend_radius: f32§fillet_threshold: f32§allometry_exponent_k: f32§allometry_base_b: f32§spiral_growth_rate_k: f32§spiral_initial_radius_a: f32§motor_frequency_hz: f32§motor_damping_ratio: f32§critical_stress_threshold: f32§reserved_f32: f32Trait Implementations§
Source§impl Clone for ProceduralSynthesisHeader
impl Clone for ProceduralSynthesisHeader
impl Copy for ProceduralSynthesisHeader
Source§impl Debug for ProceduralSynthesisHeader
impl Debug for ProceduralSynthesisHeader
impl Pod for ProceduralSynthesisHeader
impl StructuralPartialEq for ProceduralSynthesisHeader
Auto Trait Implementations§
impl Freeze for ProceduralSynthesisHeader
impl RefUnwindSafe for ProceduralSynthesisHeader
impl Send for ProceduralSynthesisHeader
impl Sync for ProceduralSynthesisHeader
impl Unpin for ProceduralSynthesisHeader
impl UnsafeUnpin for ProceduralSynthesisHeader
impl UnwindSafe for ProceduralSynthesisHeader
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