pub struct EmoteFlags { /* private fields */ }Available on crate feature
vanilla only.Expand description
Used in Emotes.dbc.
This type is not sent over the network, but is used in the game in another way.
Auto generated from the original wowm in file wow_message_parser/wowm/world/external/emote_flags.wowm:2:
flag EmoteFlags : u8 {
TALK = 0x08;
QUESTION = 0x10;
EXCLAMATION = 0x20;
SHOUT = 0x40;
LAUGH = 0x80;
}Implementations§
Source§impl EmoteFlags
impl EmoteFlags
pub fn as_test_case_value(&self) -> String
Available on crate feature
print-testcase only.Source§impl EmoteFlags
impl EmoteFlags
pub const TALK: u8 = 8u8
pub const QUESTION: u8 = 16u8
pub const EXCLAMATION: u8 = 32u8
pub const SHOUT: u8 = 64u8
pub const LAUGH: u8 = 128u8
pub const fn new(inner: u8) -> Self
pub const fn empty() -> Self
pub const fn is_empty(&self) -> bool
pub const fn all() -> Self
pub const fn is_talk(&self) -> bool
pub const fn new_talk() -> Self
pub fn set_talk(&mut self) -> Self
pub fn clear_talk(&mut self) -> Self
pub const fn is_question(&self) -> bool
pub const fn new_question() -> Self
pub fn set_question(&mut self) -> Self
pub fn clear_question(&mut self) -> Self
pub const fn is_exclamation(&self) -> bool
pub const fn new_exclamation() -> Self
pub fn set_exclamation(&mut self) -> Self
pub fn clear_exclamation(&mut self) -> Self
pub const fn is_shout(&self) -> bool
pub const fn new_shout() -> Self
pub fn set_shout(&mut self) -> Self
pub fn clear_shout(&mut self) -> Self
pub const fn is_laugh(&self) -> bool
pub const fn new_laugh() -> Self
pub fn set_laugh(&mut self) -> Self
pub fn clear_laugh(&mut self) -> Self
pub const fn as_int(&self) -> u8
Trait Implementations§
Source§impl Binary for EmoteFlags
impl Binary for EmoteFlags
Source§impl BitAnd for EmoteFlags
impl BitAnd for EmoteFlags
Source§impl BitAndAssign for EmoteFlags
impl BitAndAssign for EmoteFlags
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOr for EmoteFlags
impl BitOr for EmoteFlags
Source§impl BitOrAssign for EmoteFlags
impl BitOrAssign for EmoteFlags
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl BitXor for EmoteFlags
impl BitXor for EmoteFlags
Source§impl BitXorAssign for EmoteFlags
impl BitXorAssign for EmoteFlags
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^= operation. Read moreSource§impl Clone for EmoteFlags
impl Clone for EmoteFlags
Source§fn clone(&self) -> EmoteFlags
fn clone(&self) -> EmoteFlags
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EmoteFlags
impl Debug for EmoteFlags
Source§impl Default for EmoteFlags
impl Default for EmoteFlags
Source§fn default() -> EmoteFlags
fn default() -> EmoteFlags
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EmoteFlags
impl<'de> Deserialize<'de> for EmoteFlags
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<i8> for EmoteFlags
impl From<i8> for EmoteFlags
Source§impl From<u8> for EmoteFlags
impl From<u8> for EmoteFlags
Source§impl Hash for EmoteFlags
impl Hash for EmoteFlags
Source§impl LowerHex for EmoteFlags
impl LowerHex for EmoteFlags
Source§impl Octal for EmoteFlags
impl Octal for EmoteFlags
Source§impl Ord for EmoteFlags
impl Ord for EmoteFlags
Source§fn cmp(&self, other: &EmoteFlags) -> Ordering
fn cmp(&self, other: &EmoteFlags) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for EmoteFlags
impl PartialEq for EmoteFlags
Source§impl PartialOrd for EmoteFlags
impl PartialOrd for EmoteFlags
Source§impl Serialize for EmoteFlags
impl Serialize for EmoteFlags
Source§impl TryFrom<i16> for EmoteFlags
impl TryFrom<i16> for EmoteFlags
Source§impl TryFrom<i32> for EmoteFlags
impl TryFrom<i32> for EmoteFlags
Source§impl TryFrom<i64> for EmoteFlags
impl TryFrom<i64> for EmoteFlags
Source§impl TryFrom<u16> for EmoteFlags
impl TryFrom<u16> for EmoteFlags
Source§impl TryFrom<u32> for EmoteFlags
impl TryFrom<u32> for EmoteFlags
Source§impl TryFrom<u64> for EmoteFlags
impl TryFrom<u64> for EmoteFlags
Source§impl TryFrom<usize> for EmoteFlags
impl TryFrom<usize> for EmoteFlags
Source§impl UpperHex for EmoteFlags
impl UpperHex for EmoteFlags
impl Copy for EmoteFlags
impl Eq for EmoteFlags
impl StructuralPartialEq for EmoteFlags
Auto Trait Implementations§
impl Freeze for EmoteFlags
impl RefUnwindSafe for EmoteFlags
impl Send for EmoteFlags
impl Sync for EmoteFlags
impl Unpin for EmoteFlags
impl UnwindSafe for EmoteFlags
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more