dbn::record

Trait HasRType

Source
pub trait HasRType: Record + RecordMut {
    // Required method
    fn has_rtype(rtype: u8) -> bool;
}
Expand description

An extension of the Record trait for types with a static RType. Used for determining if a rtype matches a type.

Required Methods§

Source

fn has_rtype(rtype: u8) -> bool

Returns true if rtype matches the value associated with the implementing type.

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.

Implementors§