#[repr(u32)]pub enum Paint {
Show 29 variants
AColorSimilarToSlate = 3_100_495,
ADeepCommitmentToPurple = 8_208_497,
ADistinctiveLackOfHue = 1_315_860,
AMannsMint = 12_377_523,
AfterEight = 2_960_676,
AgedMoustacheGrey = 8_289_918,
AnExtraordinaryAbundanceOfTinge = 15_132_390,
AustraliumGold = 15_185_211,
ColorNo216190216 = 14_204_632,
DarkSalmonInjustice = 15_308_410,
DrablyOlive = 8_421_376,
IndubitablyGreen = 7_511_618,
MannCoOrange = 13_595_446,
Muskelmannbraun = 10_843_461,
NobleHattersViolet = 5_322_826,
PeculiarlyDrabTincture = 12_955_537,
PinkAsHell = 16_738_740,
RadiganConagherBrown = 6_901_050,
TheBitterTasteOfDefeatAndLime = 3_329_330,
TheColorOfAGentlemannsBusinessPants = 15_787_660,
YeOldeRusticColour = 8_154_199,
ZepheniahsGreed = 4_345_659,
AnAirOfDebonair = 6_637_376,
BalaclavasAreForever = 3_874_595,
CreamSpirit = 12_807_213,
OperatorsOveralls = 4_732_984,
TeamSpirit = 12_073_019,
TheValueOfTeamwork = 8_400_928,
WaterloggedLabCoat = 11_049_612,
}
Expand description
Paint. repr
values are mapped to the corresponding hexadecimal color (represented as a u32).
For team paints, this is the color for RED team.
Variants§
AColorSimilarToSlate = 3_100_495
ADeepCommitmentToPurple = 8_208_497
ADistinctiveLackOfHue = 1_315_860
AMannsMint = 12_377_523
AfterEight = 2_960_676
AgedMoustacheGrey = 8_289_918
AnExtraordinaryAbundanceOfTinge = 15_132_390
AustraliumGold = 15_185_211
ColorNo216190216 = 14_204_632
DarkSalmonInjustice = 15_308_410
DrablyOlive = 8_421_376
IndubitablyGreen = 7_511_618
MannCoOrange = 13_595_446
Muskelmannbraun = 10_843_461
NobleHattersViolet = 5_322_826
PeculiarlyDrabTincture = 12_955_537
PinkAsHell = 16_738_740
RadiganConagherBrown = 6_901_050
TheBitterTasteOfDefeatAndLime = 3_329_330
TheColorOfAGentlemannsBusinessPants = 15_787_660
YeOldeRusticColour = 8_154_199
ZepheniahsGreed = 4_345_659
AnAirOfDebonair = 6_637_376
BalaclavasAreForever = 3_874_595
CreamSpirit = 12_807_213
OperatorsOveralls = 4_732_984
TeamSpirit = 12_073_019
TheValueOfTeamwork = 8_400_928
WaterloggedLabCoat = 11_049_612
Implementations§
Trait Implementations§
Source§impl Attribute for Paint
impl Attribute for Paint
Source§const ATTRIBUTE: AttributeDef
const ATTRIBUTE: AttributeDef
Represents the “set_item_tint_rgb” attribute.
Source§fn attribute_float_value(&self) -> Option<f32>
fn attribute_float_value(&self) -> Option<f32>
Gets the attribute float value.
Source§const USES_FLOAT_VALUE: bool = true
const USES_FLOAT_VALUE: bool = true
Not part of the schema. Read more
Source§fn attribute_value(&self) -> AttributeValue
fn attribute_value(&self) -> AttributeValue
Gets the attribute value.
Source§impl Colored for Paint
impl Colored for Paint
Source§fn from_color(color: u32) -> Option<Self>
fn from_color(color: u32) -> Option<Self>
Source§fn color_string(&self) -> String
fn color_string(&self) -> String
Converts this into a hexademical color string in the format “#FFFFFF”.
Source§impl<'de> Deserialize<'de> for Paint
impl<'de> Deserialize<'de> for Paint
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
Source§impl From<Paint> for ItemAttribute
impl From<Paint> for ItemAttribute
Source§impl HasItemDefindex for Paint
impl HasItemDefindex for Paint
Source§impl Ord for Paint
impl Ord for Paint
Source§impl PartialOrd for Paint
impl PartialOrd for Paint
Source§impl TryFromIntAttributeValue for Paint
impl TryFromIntAttributeValue for Paint
Source§fn try_from_attribute_value(v: AttributeValue) -> Option<Self>
fn try_from_attribute_value(v: AttributeValue) -> Option<Self>
Attempts conversion from an attribute value.
Source§fn try_from_attribute_float_value(v: f32) -> Option<Self>
fn try_from_attribute_float_value(v: f32) -> Option<Self>
Attempts conversion from an attribute float value.
Source§impl TryFromPrimitive for Paint
impl TryFromPrimitive for Paint
impl Copy for Paint
impl Eq for Paint
impl StructuralPartialEq for Paint
Auto Trait Implementations§
impl Freeze for Paint
impl RefUnwindSafe for Paint
impl Send for Paint
impl Sync for Paint
impl Unpin for Paint
impl UnwindSafe for Paint
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