Skip to main content

DescribeType

Trait DescribeType 

Source
pub trait DescribeType {
    // Required method
    fn describe_type() -> Type;
}
Expand description

A Rust type that knows its DDS-XTypes description. rustorb-idl writes impls of it with -Wbxtypes.

Required Methods§

Source

fn describe_type() -> Type

The description of the type. Calls return the same description, sharing its named types.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§