pub struct ClientRunnerConfig {
pub world_tx: Sender<WorldCommand>,
pub world: Arc<RwLock<World>>,
pub signal_rx: Receiver<Signal>,
pub channel_handles: SharedChannelHandles,
}Expand description
Configuration for creating a ClientRunner.
Groups World and Signal channel parameters to reduce argument count.
Fields§
§world_tx: Sender<WorldCommand>Command sender for World modifications.
world: Arc<RwLock<World>>Read-only World access.
signal_rx: Receiver<Signal>Broadcast receiver for signals.
channel_handles: SharedChannelHandlesShared channel handles for UserInput broadcast.
Auto Trait Implementations§
impl Freeze for ClientRunnerConfig
impl !RefUnwindSafe for ClientRunnerConfig
impl Send for ClientRunnerConfig
impl Sync for ClientRunnerConfig
impl Unpin for ClientRunnerConfig
impl UnsafeUnpin for ClientRunnerConfig
impl !UnwindSafe for ClientRunnerConfig
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