Trait ExecSpecType

Source
pub trait ExecSpecType
where for<'a> &'a Self::ExecOwnedType: ToRef<Self::ExecRefType<'a>>, for<'a> Self::ExecRefType<'a>: ToOwned<Self::ExecOwnedType>,
{ type ExecOwnedType: DeepView<V = Self>; type ExecRefType<'a>: DeepView<V = Self>; }
Expand description

Any spec types used in exec_spec macro must implement this trait to indicate the corresponding exec type (owned and borrowed versions).

Required Associated Types§

Source

type ExecOwnedType: DeepView<V = Self>

Owned version of the exec type.

Source

type ExecRefType<'a>: DeepView<V = Self>

Reference version of the exec type.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl ExecSpecType for bool

Source§

impl ExecSpecType for char

Source§

impl ExecSpecType for i8

Source§

impl ExecSpecType for i16

Source§

impl ExecSpecType for i32

Source§

impl ExecSpecType for i64

Source§

impl ExecSpecType for i128

Source§

impl ExecSpecType for isize

Source§

impl ExecSpecType for u8

Source§

impl ExecSpecType for u16

Source§

impl ExecSpecType for u32

Source§

impl ExecSpecType for u64

Source§

impl ExecSpecType for u128

Source§

impl ExecSpecType for usize

Implementors§