Skip to main content

Destroy

Type Alias Destroy 

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

Aliased Type§

pub struct Destroy<D>(/* private fields */);

Trait Implementations§

Source§

impl<'_ref, D: DieKind> TryFrom<&'_ref Actions<D>> for &'_ref Destroy<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 Destroy<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 Destroy<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.