Struct nimble_rust::GameStepResponse
source · pub struct GameStepResponse<StepT>{
pub response_header: GameStepResponseHeader,
pub authoritative_steps: AuthoritativeStepRanges<StepT>,
}
Fields§
§response_header: GameStepResponseHeader
Implementations§
source§impl<StepT> GameStepResponse<StepT>
impl<StepT> GameStepResponse<StepT>
pub fn to_stream(&self, stream: &mut impl WriteOctetStream) -> Result<(), Error>
pub fn from_stream( stream: &mut impl ReadOctetStream, ) -> Result<GameStepResponse<StepT>, Error>
Trait Implementations§
Auto Trait Implementations§
impl<StepT> Freeze for GameStepResponse<StepT>
impl<StepT> RefUnwindSafe for GameStepResponse<StepT>where
StepT: RefUnwindSafe,
impl<StepT> Send for GameStepResponse<StepT>where
StepT: Send,
impl<StepT> Sync for GameStepResponse<StepT>where
StepT: Sync,
impl<StepT> Unpin for GameStepResponse<StepT>where
StepT: Unpin,
impl<StepT> UnwindSafe for GameStepResponse<StepT>where
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