/// Checks if the given type (from [`Record::ty`]) is set, indicating a record of this type
/// exists.
pub fn contains_type(&self, ty: u16) -> bool {
let f = self.0[(ty >> 3) as usize];
// DNSSEC's bit fields are in wire order, so the high bit is type 0, etc.
/// Checks if the given type (from [`Record::ty`]) is set, indicating a record of this type
/// exists.
pub fn contains_type(&self, ty: u16) -> bool {
let f = self.0[(ty >> 3) as usize];
// DNSSEC's bit fields are in wire order, so the high bit is type 0, etc.