pebble-engine 0.13.0

A modular, ECS-style graphics/app framework for Rust.
Documentation
1
2
3
4
5
6
7
use crate::rendering::{backend::Backend, sync::InitReceiver};

/// Holds the [`InitReceiver`] while waiting for an async backend to finish
/// initialising. Removed from the world once the backend arrives.
pub(crate) struct PendingBackend<B: Backend> {
    pub(crate) receiver: std::sync::Mutex<InitReceiver<B>>,
}