Struct boxcars::ClubColors
source · pub struct ClubColors {
pub blue_flag: bool,
pub blue_color: u8,
pub orange_flag: bool,
pub orange_color: u8,
}
Fields§
§blue_flag: bool
§blue_color: u8
§orange_flag: bool
§orange_color: u8
Trait Implementations§
source§impl Clone for ClubColors
impl Clone for ClubColors
source§fn clone(&self) -> ClubColors
fn clone(&self) -> ClubColors
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 ClubColors
impl Debug for ClubColors
source§impl PartialEq for ClubColors
impl PartialEq for ClubColors
source§fn eq(&self, other: &ClubColors) -> bool
fn eq(&self, other: &ClubColors) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ClubColors
impl Serialize for ClubColors
impl Copy for ClubColors
impl Eq for ClubColors
impl StructuralPartialEq for ClubColors
Auto Trait Implementations§
impl Freeze for ClubColors
impl RefUnwindSafe for ClubColors
impl Send for ClubColors
impl Sync for ClubColors
impl Unpin for ClubColors
impl UnwindSafe for ClubColors
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