pub struct CharacterAppearance {
pub name: String,
pub body_color: [f64; 3],
pub glow_intensity: f64,
pub scale: f64,
pub opacity: f64,
pub animation: CharacterAnimation,
pub accessories: Vec<String>,
pub expression: String,
}Expand description
The agent’s outward appearance (game side).
Fields§
§name: String§body_color: [f64; 3]§glow_intensity: f64§scale: f64§opacity: f64§animation: CharacterAnimation§accessories: Vec<String>§expression: StringTrait Implementations§
Source§impl Clone for CharacterAppearance
impl Clone for CharacterAppearance
Source§fn clone(&self) -> CharacterAppearance
fn clone(&self) -> CharacterAppearance
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CharacterAppearance
impl Debug for CharacterAppearance
Source§impl<'de> Deserialize<'de> for CharacterAppearance
impl<'de> Deserialize<'de> for CharacterAppearance
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
Auto Trait Implementations§
impl Freeze for CharacterAppearance
impl RefUnwindSafe for CharacterAppearance
impl Send for CharacterAppearance
impl Sync for CharacterAppearance
impl Unpin for CharacterAppearance
impl UnsafeUnpin for CharacterAppearance
impl UnwindSafe for CharacterAppearance
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