Trait dbn::record::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.

Object Safety§

This trait is not object safe.

Implementors§