Trait maplibre::event_loop::EventLoop
source · pub trait EventLoop<ET: 'static + PartialEq> {
type EventLoopProxy: EventLoopProxy<ET>;
// Required methods
fn run<E>(
self,
map: Map<E>,
max_frames: Option<u64>
) -> Result<(), EventLoopError>
where E: Environment,
<E::MapWindowConfig as MapWindowConfig>::MapWindow: HeadedMapWindow;
fn create_proxy(&self) -> Self::EventLoopProxy;
}
Required Associated Types§
type EventLoopProxy: EventLoopProxy<ET>
Required Methods§
fn run<E>( self, map: Map<E>, max_frames: Option<u64> ) -> Result<(), EventLoopError>
fn create_proxy(&self) -> Self::EventLoopProxy
Object Safety§
This trait is not object safe.