pub struct ArmorColor {
pub brightness: i64,
pub contrast: f64,
pub hue: u64,
pub saturation: f64,
pub lightness: f64,
pub rgb: Vec<u16>,
}
Expand description
Information about a color applied to an armor.
Fields§
§brightness: i64
§contrast: f64
§hue: u64
§saturation: f64
§lightness: f64
§rgb: Vec<u16>
Trait Implementations§
Source§impl Clone for ArmorColor
impl Clone for ArmorColor
Source§fn clone(&self) -> ArmorColor
fn clone(&self) -> ArmorColor
Returns a duplicate of the value. Read more
1.0.0 · 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 ArmorColor
impl Debug for ArmorColor
Source§impl<'de> Deserialize<'de> for ArmorColor
impl<'de> Deserialize<'de> for ArmorColor
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 ArmorColor
impl RefUnwindSafe for ArmorColor
impl Send for ArmorColor
impl Sync for ArmorColor
impl Unpin for ArmorColor
impl UnwindSafe for ArmorColor
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