Skip to main content

ValueType

Trait ValueType 

Source
pub trait ValueType: Sized {
    const TYPE_REF: RadixAbiTypeRefV1;
    const MAX_OUTPUT_BYTES: u32;
}

Required Associated Constants§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ValueType for bool

Source§

impl ValueType for f32

Source§

impl ValueType for f64

Source§

impl ValueType for i8

Source§

impl ValueType for i16

Source§

impl ValueType for i32

Source§

impl ValueType for i64

Source§

impl ValueType for u8

Source§

impl ValueType for u16

Source§

impl ValueType for u32

Source§

impl ValueType for u64

Source§

impl<T: ValueType> ValueType for Option<T>

Source§

const TYPE_REF: RadixAbiTypeRefV1 = T::TYPE_REF

Source§

const MAX_OUTPUT_BYTES: u32 = T::MAX_OUTPUT_BYTES

Implementors§