pub struct BodyColors {
pub head: ColorId,
pub torso: ColorId,
pub right_arm: ColorId,
pub left_arm: ColorId,
pub right_leg: ColorId,
pub left_leg: ColorId,
}Fields§
§head: ColorId§torso: ColorId§right_arm: ColorId§left_arm: ColorId§right_leg: ColorId§left_leg: ColorIdTrait Implementations§
Source§impl Clone for BodyColors
impl Clone for BodyColors
Source§fn clone(&self) -> BodyColors
fn clone(&self) -> BodyColors
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 BodyColors
impl Debug for BodyColors
Source§impl<'de> Deserialize<'de> for BodyColors
impl<'de> Deserialize<'de> for BodyColors
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 BodyColors
Source§impl PartialEq for BodyColors
impl PartialEq for BodyColors
Source§fn eq(&self, other: &BodyColors) -> bool
fn eq(&self, other: &BodyColors) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BodyColors
impl Serialize for BodyColors
impl StructuralPartialEq for BodyColors
Auto Trait Implementations§
impl Freeze for BodyColors
impl RefUnwindSafe for BodyColors
impl Send for BodyColors
impl Sync for BodyColors
impl Unpin for BodyColors
impl UnsafeUnpin for BodyColors
impl UnwindSafe for BodyColors
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