Trait RDCType

Source
pub trait RDCType:
    GenerateIR
    + JavaType
    + 'static { }
Expand description

This is a type that is used to mark data structures that can be converted to IR. It should be also implemented for all types that are used in IR.

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

Source§

impl RDCType for f32

Source§

impl RDCType for f64

Source§

impl RDCType for i8

Source§

impl RDCType for i16

Source§

impl RDCType for i32

Source§

impl RDCType for i64

Source§

impl RDCType for String

Source§

impl<K, V> RDCType for HashMap<K, V>
where K: RDCType, V: RDCType,

Source§

impl<T> RDCType for Option<T>
where T: RDCType,

Source§

impl<T> RDCType for Box<T>
where T: RDCType,

Source§

impl<T> RDCType for Vec<T>
where T: RDCType,

Implementors§