pub struct Event<T: EventType> {
subscribers: BTreeMap<(u32, u64), T::Wrapper>,
}
Expand description
Implementation of eventhandler_list
structure.
Our implementation is different from PS4 version to make it idomatic to Rust.
Fields§
§subscribers: BTreeMap<(u32, u64), T::Wrapper>
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Event<T>
impl<T> RefUnwindSafe for Event<T>
impl<T> Send for Event<T>
impl<T> Sync for Event<T>
impl<T> Unpin for Event<T>
impl<T> UnwindSafe for Event<T>
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