Struct lnkit::prelude::ChannelEventCollector [−][src]
pub struct ChannelEventCollector { /* fields omitted */ }
A physics event handler that collects events into a crossbeam channel.
Implementations
impl ChannelEventCollector
[src]
impl ChannelEventCollector
[src]pub fn new(
intersection_event_sender: Sender<IntersectionEvent>,
contact_event_sender: Sender<ContactEvent>
) -> ChannelEventCollector
[src]
intersection_event_sender: Sender<IntersectionEvent>,
contact_event_sender: Sender<ContactEvent>
) -> ChannelEventCollector
Initialize a new physics event handler from crossbeam channel senders.
Trait Implementations
impl EventHandler for ChannelEventCollector
[src]
impl EventHandler for ChannelEventCollector
[src]pub fn handle_intersection_event(&self, event: IntersectionEvent)
[src]
pub fn handle_contact_event(&self, event: ContactEvent)
[src]
Auto Trait Implementations
impl RefUnwindSafe for ChannelEventCollector
impl RefUnwindSafe for ChannelEventCollector
impl Send for ChannelEventCollector
impl Send for ChannelEventCollector
impl Sync for ChannelEventCollector
impl Sync for ChannelEventCollector
impl Unpin for ChannelEventCollector
impl Unpin for ChannelEventCollector
impl UnwindSafe for ChannelEventCollector
impl UnwindSafe for ChannelEventCollector
Blanket Implementations
impl<T, U> Cast<U> for T where
U: FromCast<T>,
impl<T, U> Cast<U> for T where
U: FromCast<T>,
pub fn cast(self) -> U
impl<T> Downcast for T where
T: Any,
impl<T> Downcast for T where
T: Any,
impl<T> FromBits<T> for T
impl<T> FromBits<T> for T
pub fn from_bits(t: T) -> T
impl<T> FromCast<T> for T
impl<T> FromCast<T> for T
pub fn from_cast(t: T) -> T
impl<T, U> IntoBits<U> for T where
U: FromBits<T>,
impl<T, U> IntoBits<U> for T where
U: FromBits<T>,
pub fn into_bits(self) -> U
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
pub fn to_subset(&self) -> Option<SS>
pub fn is_in_subset(&self) -> bool
pub fn to_subset_unchecked(&self) -> SS
pub fn from_subset(element: &SS) -> SP
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,