Data

Trait Data 

Source
pub trait Data: InlineData + ReferentialData {
    const KIND: [u8; 1];
    const IS_INLINE: bool = true;
}

Required Associated Constants§

Source

const KIND: [u8; 1]

Provided Associated Constants§

Source

const IS_INLINE: bool = true

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

Source§

const KIND: [u8; 1]

Source§

const IS_INLINE: bool = true

Source§

impl Data for f64

Source§

const KIND: [u8; 1]

Source§

const IS_INLINE: bool = true

Source§

impl Data for i64

Source§

const KIND: [u8; 1]

Source§

const IS_INLINE: bool = true

Source§

impl Data for u64

Source§

const KIND: [u8; 1]

Source§

const IS_INLINE: bool = true

Source§

impl Data for String

Source§

const KIND: [u8; 1]

Source§

const IS_INLINE: bool = false

Implementors§

Source§

impl Data for Array

Source§

const KIND: [u8; 1]

Source§

const IS_INLINE: bool = false

Source§

impl Data for Map

Source§

const KIND: [u8; 1]

Source§

const IS_INLINE: bool = false

Source§

impl Data for Null

Source§

const KIND: [u8; 1]

Source§

const IS_INLINE: bool = true