Struct esl::FlagsAndBlood
source · pub struct FlagsAndBlood<Flags> {
pub flags: Flags,
pub blood: Blood,
pub padding: u16,
}
Fields§
§flags: Flags
§blood: Blood
§padding: u16
Trait Implementations§
source§impl<Flags: Clone> Clone for FlagsAndBlood<Flags>
impl<Flags: Clone> Clone for FlagsAndBlood<Flags>
source§fn clone(&self) -> FlagsAndBlood<Flags>
fn clone(&self) -> FlagsAndBlood<Flags>
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<Flags: Debug> Debug for FlagsAndBlood<Flags>
impl<Flags: Debug> Debug for FlagsAndBlood<Flags>
source§impl<'de, Flags> Deserialize<'de> for FlagsAndBlood<Flags>where
Flags: Deserialize<'de>,
impl<'de, Flags> Deserialize<'de> for FlagsAndBlood<Flags>where Flags: Deserialize<'de>,
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<Flags: PartialEq> PartialEq for FlagsAndBlood<Flags>
impl<Flags: PartialEq> PartialEq for FlagsAndBlood<Flags>
source§fn eq(&self, other: &FlagsAndBlood<Flags>) -> bool
fn eq(&self, other: &FlagsAndBlood<Flags>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<Flags> Serialize for FlagsAndBlood<Flags>where
Flags: Serialize,
impl<Flags> Serialize for FlagsAndBlood<Flags>where Flags: Serialize,
source§impl From<FlagsAndBlood<CreatureFlags>> for Field
impl From<FlagsAndBlood<CreatureFlags>> for Field
source§fn from(v: FlagsAndBlood<CreatureFlags>) -> Self
fn from(v: FlagsAndBlood<CreatureFlags>) -> Self
Converts to this type from the input type.
source§impl From<FlagsAndBlood<NpcFlags>> for Field
impl From<FlagsAndBlood<NpcFlags>> for Field
source§fn from(v: FlagsAndBlood<NpcFlags>) -> Self
fn from(v: FlagsAndBlood<NpcFlags>) -> Self
Converts to this type from the input type.
impl<Flags: Eq> Eq for FlagsAndBlood<Flags>
impl<Flags> StructuralEq for FlagsAndBlood<Flags>
impl<Flags> StructuralPartialEq for FlagsAndBlood<Flags>
Auto Trait Implementations§
impl<Flags> RefUnwindSafe for FlagsAndBlood<Flags>where Flags: RefUnwindSafe,
impl<Flags> Send for FlagsAndBlood<Flags>where Flags: Send,
impl<Flags> Sync for FlagsAndBlood<Flags>where Flags: Sync,
impl<Flags> Unpin for FlagsAndBlood<Flags>where Flags: Unpin,
impl<Flags> UnwindSafe for FlagsAndBlood<Flags>where Flags: UnwindSafe,
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