[−][src]Struct boomerang::Event
Event activation record to push onto the event queue.
Fields
time: Instant
Time of release.
trigger: Rc<Trigger<S>>
Associated trigger.
value: Rc<RefCell<Option<S::Value>>>
Pointer to malloc'd value (or None)
Methods
impl<S> Event<S> where
S: Sched,
[src]
S: Sched,
Trait Implementations
impl<S: Debug> Debug for Event<S> where
S: Sched,
S::Value: Debug,
[src]
S: Sched,
S::Value: Debug,
impl<S> Display for Event<S> where
S: Sched,
<S as Sched>::Value: Debug,
[src]
S: Sched,
<S as Sched>::Value: Debug,
impl<S> Eq for Event<S> where
S: Sched,
[src]
S: Sched,
impl<S> Ord for Event<S> where
S: Sched,
[src]
S: Sched,
fn cmp(&self, other: &Self) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl<S> PartialEq<Event<S>> for Event<S> where
S: Sched,
[src]
S: Sched,
impl<S> PartialOrd<Event<S>> for Event<S> where
S: Sched,
[src]
S: Sched,
Auto Trait Implementations
impl<S> !RefUnwindSafe for Event<S>
impl<S> !Send for Event<S>
impl<S> !Sync for Event<S>
impl<S> Unpin for Event<S>
impl<S> !UnwindSafe for Event<S>
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,
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> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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.
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>,