Struct GenericOctetGame

Source
pub struct GenericOctetGame;

Trait Implementations§

Source§

impl AssentCallback<SeqMap<ParticipantId, Step<WrappedOctetStep<GenericOctetStep>>>> for GenericOctetGame

Source§

fn on_pre_ticks(&mut self)

Called before any ticks are processed.
Source§

fn on_tick(&mut self, _: &StepMap<Step<WrappedOctetStep<GenericOctetStep>>>)

Called for each tick with the corresponding step.
Source§

fn on_post_ticks(&mut self)

Called after all ticks have been processed.
Source§

impl BufferDeserializer for GenericOctetGame

Source§

fn deserialize(_: &[u8]) -> Result<(Self, usize)>

Deserializes an instance of Self from the given octet buffer. Read more
Source§

impl Debug for GenericOctetGame

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Deserialize for GenericOctetGame

Source§

fn deserialize(_: &mut impl ReadOctetStream) -> Result<Self>

Source§

impl RectifyCallback for GenericOctetGame

Source§

impl SeerCallback<SeqMap<ParticipantId, Step<WrappedOctetStep<GenericOctetStep>>>> for GenericOctetGame

Source§

impl Serialize for GenericOctetGame

Source§

fn serialize(&self, _: &mut impl WriteOctetStream) -> Result<()>

Source§

impl VersionProvider for GenericOctetGame

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T, StepT> GameCallbacks<StepT> for T

Source§

impl<T, StepT> RectifyCallbacks<StepT> for T
where T: AssentCallback<StepT> + SeerCallback<StepT> + RectifyCallback,