pub struct ModelVariantDescriptor {
pub variant_id: String,
pub phenotype: BiologicalPhenotype,
pub stage: LifecycleStage,
pub lod: LodTier,
pub state: StructuralState,
pub asset_key: String,
pub entity_ontology_key: Option<String>,
pub procedural_seed: Option<u64>,
}Expand description
Descriptor of a single model variant stored within the .hmc bundle.
Fields§
§variant_id: StringUnique identifier within the family (e.g. "male_adult_lod0").
phenotype: BiologicalPhenotypeBiological sexual dimorphism form.
stage: LifecycleStageOntogenetic or mechanical lifecycle stage.
lod: LodTierLevel of detail tier.
state: StructuralStateStructural wear or damage condition.
asset_key: StringKey of the embedded 3D geometry file in the bundle (e.g. "models/male_adult.10d").
entity_ontology_key: Option<String>Optional key of the associated entity ontology volume (e.g. "ontology/male_adult.q42").
procedural_seed: Option<u64>Optional seed for procedural micro-surface/allometry synthesis.
Trait Implementations§
Source§impl Clone for ModelVariantDescriptor
impl Clone for ModelVariantDescriptor
Source§impl Debug for ModelVariantDescriptor
impl Debug for ModelVariantDescriptor
Source§impl<'de> Deserialize<'de> for ModelVariantDescriptor
impl<'de> Deserialize<'de> for ModelVariantDescriptor
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 ModelVariantDescriptor
Source§impl PartialEq for ModelVariantDescriptor
impl PartialEq for ModelVariantDescriptor
Source§impl Serialize for ModelVariantDescriptor
impl Serialize for ModelVariantDescriptor
impl StructuralPartialEq for ModelVariantDescriptor
Auto Trait Implementations§
impl Freeze for ModelVariantDescriptor
impl RefUnwindSafe for ModelVariantDescriptor
impl Send for ModelVariantDescriptor
impl Sync for ModelVariantDescriptor
impl Unpin for ModelVariantDescriptor
impl UnsafeUnpin for ModelVariantDescriptor
impl UnwindSafe for ModelVariantDescriptor
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.
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
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> ⓘ
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