pub struct BodyAttributes {
pub absent: Vec<AbsentPart>,
pub pregnancy: Option<Trimester>,
pub notes: Option<String>,
pub eye_colour: Option<String>,
pub hair_colour: Option<String>,
pub skin_tone: Option<String>,
}Expand description
Person-authored attributes that change which parts are shown, or apply a named coarse shape (pregnancy abdomen). Not a diagnosis.
Fields§
§absent: Vec<AbsentPart>§pregnancy: Option<Trimester>Optional pregnancy abdomen hint. Prefer the physiological-state declaration when both exist — this is a geometry-only override.
notes: Option<String>The person’s own words. Stored, never parsed into geometry.
eye_colour: Option<String>Declared appearance. Independent of ethnicity. Painted only when those meshes exist (W16).
hair_colour: Option<String>§skin_tone: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for BodyAttributes
impl Clone for BodyAttributes
Source§impl Debug for BodyAttributes
impl Debug for BodyAttributes
Source§impl Default for BodyAttributes
impl Default for BodyAttributes
Source§impl<'de> Deserialize<'de> for BodyAttributes
impl<'de> Deserialize<'de> for BodyAttributes
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 BodyAttributes
Source§impl PartialEq for BodyAttributes
impl PartialEq for BodyAttributes
Source§impl Serialize for BodyAttributes
impl Serialize for BodyAttributes
impl StructuralPartialEq for BodyAttributes
Auto Trait Implementations§
impl Freeze for BodyAttributes
impl RefUnwindSafe for BodyAttributes
impl Send for BodyAttributes
impl Sync for BodyAttributes
impl Unpin for BodyAttributes
impl UnsafeUnpin for BodyAttributes
impl UnwindSafe for BodyAttributes
Blanket Implementations§
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