Enum arcdps::Profession
source · #[repr(u32)]pub enum Profession {
Unknown = 0,
Guardian = 1,
Warrior = 2,
Engineer = 3,
Ranger = 4,
Thief = 5,
Elementalist = 6,
Mesmer = 7,
Necromancer = 8,
Revenant = 9,
}
Expand description
Player profession.
Variants§
Unknown = 0
Unknown or invalid.
Guardian = 1
Warrior = 2
Engineer = 3
Ranger = 4
Thief = 5
Elementalist = 6
Mesmer = 7
Necromancer = 8
Revenant = 9
Trait Implementations§
source§impl Clone for Profession
impl Clone for Profession
source§fn clone(&self) -> Profession
fn clone(&self) -> Profession
Returns a copy 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 Profession
impl Debug for Profession
source§impl Default for Profession
impl Default for Profession
source§fn default() -> Profession
fn default() -> Profession
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Profession
impl<'de> Deserialize<'de> for Profession
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<Profession, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<Profession, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<u32> for Profession
impl From<u32> for Profession
source§fn from(number: u32) -> Profession
fn from(number: u32) -> Profession
Converts to this type from the input type.
source§impl FromPrimitive for Profession
impl FromPrimitive for Profession
type Primitive = u32
fn from_primitive( number: <Profession as FromPrimitive>::Primitive ) -> Profession
source§impl Hash for Profession
impl Hash for Profession
source§impl Ord for Profession
impl Ord for Profession
source§fn cmp(&self, other: &Profession) -> Ordering
fn cmp(&self, other: &Profession) -> 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 Profession
impl PartialEq for Profession
source§fn eq(&self, other: &Profession) -> bool
fn eq(&self, other: &Profession) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for Profession
impl PartialOrd for Profession
source§fn partial_cmp(&self, other: &Profession) -> Option<Ordering>
fn partial_cmp(&self, other: &Profession) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for Profession
impl Serialize for Profession
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for Profession
impl Eq for Profession
impl StructuralPartialEq for Profession
Auto Trait Implementations§
impl Freeze for Profession
impl RefUnwindSafe for Profession
impl Send for Profession
impl Sync for Profession
impl Unpin for Profession
impl UnwindSafe for Profession
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