31 enum Type { Invalid = 0, String, Host16, Host32, Big16, Big32, Little16, Little32, Byte };
36 void swap(QMimeMagicRule &other)
noexcept
38 qSwap(m_type, other.m_type);
39 qSwap(m_value, other.m_value);
40 qSwap(m_startPos, other.m_startPos);
41 qSwap(m_endPos, other.m_endPos);
42 qSwap(m_mask, other.m_mask);
43 qSwap(m_pattern, other.m_pattern);
44 qSwap(m_number, other.m_number);
45 qSwap(m_numberMask, other.m_numberMask);
46 qSwap(m_matchFunction, other.m_matchFunction);