Struct ticktime::event::TickTimeEvent [−][src]
Contains all the updated values during this tick. Usefull to create an event oriented system.
Fields
second_update: Option<TicketTimeEventValue>
Some(val) if computed second has been updated, None otherwise. Note : old value and new value can be the same if the tick is 60 seconds
minute_update: Option<TicketTimeEventValue>
Some(val) if computed minute has been updated, None otherwise. Note : old value and new value can be the same if the tick is n hour(s)
hour_update: Option<TicketTimeEventValue>
Some(val) if computed hour has been updated, None otherwise. Note : old value and new value can be the same if the tick is n day(s)
day_update: Option<TicketTimeEventValue>
Some(val) if computed day has been updated, None otherwise. Note : old value and new value can be the same if the tick is n month or n year
week_update: Option<TicketTimeEventValue>
Some(val) if computed week has been updated, None otherwise. Note : old value and new value can be the same if the tick is n year
month_update: Option<TicketTimeEventValue>
Some(val) if computed month has been updated, None otherwise. Note : old value and new value can be the same if the tick is n year
season_update: Option<TicketTimeEventValue>
Some(val) if computed season has been updated, None otherwise. Note : old value and new value can be the same if the tick is n year
year_update: Option<TicketTimeEventValue>
Some(val) if computed year has been updated, None otherwise.
Trait Implementations
impl Debug for TickTimeEvent
[src]
impl Default for TickTimeEvent
[src]
fn default() -> TickTimeEvent
[src]
Auto Trait Implementations
impl RefUnwindSafe for TickTimeEvent
impl Send for TickTimeEvent
impl Sync for TickTimeEvent
impl Unpin for TickTimeEvent
impl UnwindSafe for TickTimeEvent
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,