pub struct FaunaSpeciesMeta {
pub taxon_id: String,
pub skeleton_joint_count: u32,
pub pga_motor_skinning: bool,
pub hill_muscle_count: u32,
pub max_isometric_force_n: f32,
pub optimal_fiber_length_m: f32,
pub max_contraction_velocity_l0_s: f32,
pub sexual_dimorphism_scale: [f32; 3],
pub vocalization_q4au_key: Option<String>,
}Expand description
Musculoskeletal and anatomical parameters for fauna entity twins.
Fields§
§taxon_id: StringCanonical taxonomic identifier (e.g. “urn:taxon:canis_lupus”).
skeleton_joint_count: u32Number of skeletal articulation joints in the base rig.
pga_motor_skinning: boolWhether Projective Geometric Algebra (PGA) motor skinning is enabled.
hill_muscle_count: u32Number of simulated Hill-type muscle-tendon units.
max_isometric_force_n: f32Maximum isometric force in Newtons (F0).
optimal_fiber_length_m: f32Optimal muscle fiber resting length in meters (l0_m).
max_contraction_velocity_l0_s: f32Maximum contraction velocity in optimal fiber lengths per second (v_max / l0_m).
sexual_dimorphism_scale: [f32; 3]Sexual dimorphism volumetric scale multipliers [x, y, z].
vocalization_q4au_key: Option<String>Exact bundle entry key for the species vocalization audio asset, if any.
The Rust field retains its legacy spelling for source compatibility. CBOR
writes the canonical QAC name and accepts either spelling on input; entry
key values (including legacy .q4au filenames) are preserved verbatim.
Implementations§
Source§impl FaunaSpeciesMeta
impl FaunaSpeciesMeta
Sourcepub fn vocalization_qac_key(&self) -> Option<&str>
pub fn vocalization_qac_key(&self) -> Option<&str>
Return the exact vocalization bundle entry key, without renaming it.
Sourcepub fn set_vocalization_qac_key(&mut self, key: Option<String>)
pub fn set_vocalization_qac_key(&mut self, key: Option<String>)
Set or clear the vocalization bundle entry key, preserving its exact value.
pub fn new(taxon_id: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for FaunaSpeciesMeta
impl Clone for FaunaSpeciesMeta
Source§impl Debug for FaunaSpeciesMeta
impl Debug for FaunaSpeciesMeta
Source§impl Default for FaunaSpeciesMeta
impl Default for FaunaSpeciesMeta
Source§impl<'de> Deserialize<'de> for FaunaSpeciesMeta
impl<'de> Deserialize<'de> for FaunaSpeciesMeta
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>,
Source§impl PartialEq for FaunaSpeciesMeta
impl PartialEq for FaunaSpeciesMeta
Source§impl Serialize for FaunaSpeciesMeta
impl Serialize for FaunaSpeciesMeta
impl StructuralPartialEq for FaunaSpeciesMeta
Auto Trait Implementations§
impl Freeze for FaunaSpeciesMeta
impl RefUnwindSafe for FaunaSpeciesMeta
impl Send for FaunaSpeciesMeta
impl Sync for FaunaSpeciesMeta
impl Unpin for FaunaSpeciesMeta
impl UnsafeUnpin for FaunaSpeciesMeta
impl UnwindSafe for FaunaSpeciesMeta
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>,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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> ⓘ
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> ⓘ
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