pub struct Rectify<Game: RectifyCallbacks<StepT>, StepT: Clone + Debug> { /* private fields */ }
Expand description
Implementations§
source§impl<Game: RectifyCallbacks<StepT>, StepT: Clone + Debug + Display> Rectify<Game, StepT>
impl<Game: RectifyCallbacks<StepT>, StepT: Clone + Debug + Display> Rectify<Game, StepT>
pub const fn seer(&self) -> &Seer<Game, StepT>
pub const fn settings(&self) -> Settings
pub const fn assent(&self) -> &Assent<Game, StepT>
sourcepub fn push_predicted(
&mut self,
tick_id: TickId,
step: StepT,
) -> Result<(), RectifyError>
pub fn push_predicted( &mut self, tick_id: TickId, step: StepT, ) -> Result<(), RectifyError>
§Errors
RectifyError
on error // TODO:
Trait Implementations§
Auto Trait Implementations§
impl<Game, StepT> Freeze for Rectify<Game, StepT>
impl<Game, StepT> RefUnwindSafe for Rectify<Game, StepT>where
Game: RefUnwindSafe,
StepT: RefUnwindSafe,
impl<Game, StepT> Send for Rectify<Game, StepT>
impl<Game, StepT> Sync for Rectify<Game, StepT>
impl<Game, StepT> Unpin for Rectify<Game, StepT>
impl<Game, StepT> UnwindSafe for Rectify<Game, StepT>where
Game: UnwindSafe,
StepT: UnwindSafe,
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