Struct nimble_rust::AuthoritativeStep
source · pub struct AuthoritativeStep<StepT> {
pub authoritative_participants: HashMap<ParticipantId, StepT>,
}
Fields§
Trait Implementations§
source§impl AssentCallback<AuthoritativeStep<Step<SampleStep>>> for SampleGame
impl AssentCallback<AuthoritativeStep<Step<SampleStep>>> for SampleGame
fn on_pre_ticks(&mut self)
fn on_tick(&mut self, step: &AuthoritativeStep<Step<SampleStep>>)
fn on_post_ticks(&mut self)
source§impl<StepT> Clone for AuthoritativeStep<StepT>where
StepT: Clone,
impl<StepT> Clone for AuthoritativeStep<StepT>where
StepT: Clone,
source§fn clone(&self) -> AuthoritativeStep<StepT>
fn clone(&self) -> AuthoritativeStep<StepT>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<StepT> Debug for AuthoritativeStep<StepT>where
StepT: Debug,
impl<StepT> Debug for AuthoritativeStep<StepT>where
StepT: Debug,
source§impl<StepT> PartialEq for AuthoritativeStep<StepT>where
StepT: PartialEq,
impl<StepT> PartialEq for AuthoritativeStep<StepT>where
StepT: PartialEq,
source§impl SeerCallback<AuthoritativeStep<Step<SampleStep>>> for SampleGame
impl SeerCallback<AuthoritativeStep<Step<SampleStep>>> for SampleGame
fn on_tick(&mut self, step: &AuthoritativeStep<Step<SampleStep>>)
fn on_pre_ticks(&mut self)
fn on_post_ticks(&mut self)
impl<StepT> Eq for AuthoritativeStep<StepT>where
StepT: Eq,
impl<StepT> StructuralPartialEq for AuthoritativeStep<StepT>
Auto Trait Implementations§
impl<StepT> Freeze for AuthoritativeStep<StepT>
impl<StepT> RefUnwindSafe for AuthoritativeStep<StepT>where
StepT: RefUnwindSafe,
impl<StepT> Send for AuthoritativeStep<StepT>where
StepT: Send,
impl<StepT> Sync for AuthoritativeStep<StepT>where
StepT: Sync,
impl<StepT> Unpin for AuthoritativeStep<StepT>where
StepT: Unpin,
impl<StepT> UnwindSafe for AuthoritativeStep<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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)