struct TicketSwitcherState {
next: Option<Box<dyn ProducesTickets>>,
current: Box<dyn ProducesTickets>,
previous: Option<Box<dyn ProducesTickets>>,
next_switch_time: u64,
}
Fields§
§next: Option<Box<dyn ProducesTickets>>
§current: Box<dyn ProducesTickets>
§previous: Option<Box<dyn ProducesTickets>>
§next_switch_time: u64
Auto Trait Implementations§
impl Freeze for TicketSwitcherState
impl !RefUnwindSafe for TicketSwitcherState
impl Send for TicketSwitcherState
impl Sync for TicketSwitcherState
impl Unpin for TicketSwitcherState
impl !UnwindSafe for TicketSwitcherState
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
§impl<Tail, T> Prepend<T> for Tail
impl<Tail, T> Prepend<T> for Tail
§type PreprendResult = Tail
type PreprendResult = Tail
The Resulting [
TupleList
], of an [Prepend::prepend()
] call,
including the prepended entry.