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