Skip to main content

Create

Type Alias Create 

Source
pub type Create<PlayerState> = Create<PlayerMap<PlayerState>>;

Aliased Type§

pub struct Create<PlayerState> { /* private fields */ }

Trait Implementations§

Source§

impl<'_ref, PlayerState> TryFrom<&'_ref Actions<PlayerState>> for &'_ref Create<PlayerState>

Source§

type Error = ()

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

fn try_from(value: &'_ref Actions<PlayerState>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_ref, PlayerState> TryFrom<&'_ref mut Actions<PlayerState>> for &'_ref mut Create<PlayerState>

Source§

type Error = ()

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

fn try_from(value: &'_ref mut Actions<PlayerState>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<PlayerState> TryFrom<Actions<PlayerState>> for Create<PlayerState>

Source§

type Error = Actions<PlayerState>

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

fn try_from(value: Actions<PlayerState>) -> Result<Self, Self::Error>

Performs the conversion.