Enum boxcars::ProductValue
source · pub enum ProductValue {
NoColor,
Absent,
OldColor(u32),
NewColor(i32),
OldPaint(u32),
NewPaint(u32),
Title(String),
SpecialEdition(u32),
OldTeamEdition(u32),
NewTeamEdition(u32),
}
Variants§
NoColor
Absent
OldColor(u32)
NewColor(i32)
OldPaint(u32)
NewPaint(u32)
Title(String)
SpecialEdition(u32)
OldTeamEdition(u32)
NewTeamEdition(u32)
Trait Implementations§
source§impl Clone for ProductValue
impl Clone for ProductValue
source§fn clone(&self) -> ProductValue
fn clone(&self) -> ProductValue
Returns a copy 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 ProductValue
impl Debug for ProductValue
source§impl PartialEq<ProductValue> for ProductValue
impl PartialEq<ProductValue> for ProductValue
source§fn eq(&self, other: &ProductValue) -> bool
fn eq(&self, other: &ProductValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.