Trait UnaryComponentType

Source
pub trait UnaryComponentType: ComponentType { }
Expand description

Specialization of a non-tuple component type for disambiguation between multi-value and tuple.

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 UnaryComponentType for bool

Source§

impl UnaryComponentType for char

Source§

impl UnaryComponentType for f32

Source§

impl UnaryComponentType for f64

Source§

impl UnaryComponentType for i8

Source§

impl UnaryComponentType for i16

Source§

impl UnaryComponentType for i32

Source§

impl UnaryComponentType for i64

Source§

impl UnaryComponentType for u8

Source§

impl UnaryComponentType for u16

Source§

impl UnaryComponentType for u32

Source§

impl UnaryComponentType for u64

Source§

impl UnaryComponentType for Box<str>

Source§

impl UnaryComponentType for String

Source§

impl UnaryComponentType for Arc<str>

Source§

impl UnaryComponentType for Result<(), ()>

Source§

impl<T: ComponentType> UnaryComponentType for Option<T>

Source§

impl<T: ComponentType> UnaryComponentType for Box<T>

Source§

impl<T: ComponentType> UnaryComponentType for Vec<T>

Source§

impl<T: ComponentType> UnaryComponentType for Result<T, ()>

Source§

impl<T: ComponentType, U: ComponentType> UnaryComponentType for Result<T, U>

Source§

impl<U: ComponentType> UnaryComponentType for Result<(), U>

Implementors§