Skip to main content

Create

Type Alias Create 

Source
pub type Create<D> = Create<Die<D>>;

Aliased Type§

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

Trait Implementations§

Source§

impl<'_ref, D: DieKind> TryFrom<&'_ref Actions<D>> for &'_ref Create<D>

Source§

type Error = ()

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

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

Performs the conversion.
Source§

impl<'_ref, D: DieKind> TryFrom<&'_ref mut Actions<D>> for &'_ref mut Create<D>

Source§

type Error = ()

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

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

Performs the conversion.
Source§

impl<D: DieKind> TryFrom<Actions<D>> for Create<D>

Source§

type Error = Actions<D>

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

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

Performs the conversion.