Skip to main content

TypeInfo

Trait TypeInfo 

Source
pub trait TypeInfo {
    // Required method
    fn subtype(&self, other: &Self) -> bool;
}
Expand description

Type information for a sequence type.

Required Methods§

Source

fn subtype(&self, other: &Self) -> bool

Get whether self is a subtype of other.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§