pub enum Season {
SkyStone,
RoverRuckus,
RelicRecovery,
VelocityVortex,
}Expand description
This enum is used for expressing FTC seasons.
Do not create instances, instead just pass the types to methods which require you to provide a season.
For example:
let wins = team.season_wins(rustoa::Season::SkyStone);Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Season
impl RefUnwindSafe for Season
impl Send for Season
impl Sync for Season
impl Unpin for Season
impl UnsafeUnpin for Season
impl UnwindSafe for Season
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