pub struct PluginContainer<M, E> {
pub ports: PluginPorts<M, E>,
pub message_loop: MessageLoop,
}
Fields§
§ports: PluginPorts<M, E>
§message_loop: MessageLoop
Trait Implementations§
Source§impl<M, E> Plugin for PluginContainer<M, E>
impl<M, E> Plugin for PluginContainer<M, E>
Source§type Event = PublishedEvent<E>
type Event = PublishedEvent<E>
The event type
Source§fn message_sender(&self) -> MessageSender<Self::Message>
fn message_sender(&self) -> MessageSender<Self::Message>
Endpoint for submitting messages Read more
Source§fn run(self) -> MessageLoop
fn run(self) -> MessageLoop
Run the message loop
Auto Trait Implementations§
impl<M, E> Freeze for PluginContainer<M, E>
impl<M, E> !RefUnwindSafe for PluginContainer<M, E>
impl<M, E> Send for PluginContainer<M, E>
impl<M, E> !Sync for PluginContainer<M, E>
impl<M, E> Unpin for PluginContainer<M, E>
impl<M, E> !UnwindSafe for PluginContainer<M, E>
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