pub fn is_type<T: 'static>(&self) -> bool {
        if self.lanes != 1 {
            return false;
        }
        let typ = TypeId::of::<T>();
        (typ == TypeId::of::<i32>() && self.code == 0 && self.bits == 32)
            || (typ == TypeId::of::<i64>() && self.code == 0 && self.bits == 64)
            || (typ == TypeId::of::<u32>() && self.code == 1 && self.bits == 32)
            || (typ == TypeId::of::<u64>() && self.code == 1 && self.bits == 64)
            || (typ == TypeId::of::<f32>() && self.code == 2 && self.bits == 32)
            || (typ == TypeId::of::<f64>() && self.code == 2 && self.bits == 64)
    }
/// Returns whether this `DataType` represents primitive type `T`.
Returns whether this `DataType` represents primitive type `T`.
Returns whether this ` DataType ` represents primitive type ` T ` .
pub fn is_type<T: 'static>(&self) -> bool {
        if self.lanes != 1 {
            return false;
        }
        let typ = TypeId::of::<T>();
        (typ == TypeId::of::<i32>() && self.code == 0 && self.bits == 32)
            || (typ == TypeId::of::<i64>() && self.code == 0 && self.bits == 64)
            || (typ == TypeId::of::<u32>() && self.code == 1 && self.bits == 32)
            || (typ == TypeId::of::<u64>() && self.code == 1 && self.bits == 64)
            || (typ == TypeId::of::<f32>() && self.code == 2 && self.bits == 32)
            || (typ == TypeId::of::<f64>() && self.code == 2 && self.bits == 64)
    }
pub fn is_type < T : ' static > ( & self ) -> bool { if self . lanes != 1 { return false ; } let typ = TypeId :: of :: < T > ( ) ; ( typ == TypeId :: of :: < i32 > ( ) && self . code == 0 && self . bits == 32 ) || ( typ == TypeId :: of :: < i64 > ( ) && self . code == 0 && self . bits == 64 ) || ( typ == TypeId :: of :: < u32 > ( ) && self . code == 1 && self . bits == 32 ) || ( typ == TypeId :: of :: < u64 > ( ) && self . code == 1 && self . bits == 64 ) || ( typ == TypeId :: of :: < f32 > ( ) && self . code == 2 && self . bits == 32 ) || ( typ == TypeId :: of :: < f64 > ( ) && self . code == 2 && self . bits == 64 ) }
Returns whether this `DataType` represents primitive type `T`.
Returns whether this ` DataType ` represents primitive type ` T ` .
&self
&self