pub struct Config<T: GGPOSessionCallbacks> {
pub callbacks: Option<Arc<Mutex<T>>>,
pub num_prediction_frames: FrameNum,
pub num_players: usize,
pub input_size: usize,
}Fields§
§callbacks: Option<Arc<Mutex<T>>>§num_prediction_frames: FrameNum§num_players: usize§input_size: usizeImplementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Config<T>
impl<T> !RefUnwindSafe for Config<T>
impl<T> Send for Config<T>where
T: Send,
impl<T> Sync for Config<T>where
T: Send,
impl<T> Unpin for Config<T>
impl<T> UnsafeUnpin for Config<T>
impl<T> !UnwindSafe for Config<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