pub struct HeroRole(/* private fields */);Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HeroRole
impl<'de> Deserialize<'de> for HeroRole
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
impl Eq for HeroRole
Source§impl From<HeroRoleRef> for HeroRole
impl From<HeroRoleRef> for HeroRole
Source§fn from(value: HeroRoleRef) -> Self
fn from(value: HeroRoleRef) -> Self
Converts to this type from the input type.
Source§impl Ord for HeroRole
impl Ord for HeroRole
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for HeroRole
impl PartialOrd for HeroRole
impl StructuralPartialEq for HeroRole
Auto Trait Implementations§
impl Freeze for HeroRole
impl RefUnwindSafe for HeroRole
impl Send for HeroRole
impl Sync for HeroRole
impl Unpin for HeroRole
impl UnsafeUnpin for HeroRole
impl UnwindSafe for HeroRole
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