pub struct BodyPart {
pub kind: BodyPartKind,
pub vampire: bool,
pub flags: BodyPartFlags,
pub body_part_type: BodyPartType,
}
Fields
kind: BodyPartKind
vampire: bool
flags: BodyPartFlags
body_part_type: BodyPartType
Trait Implementations
sourceimpl<'de> Deserialize<'de> for BodyPart
impl<'de> Deserialize<'de> for BodyPart
sourcefn 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 BodyPart
impl StructuralEq for BodyPart
impl StructuralPartialEq for BodyPart
Auto Trait Implementations
impl RefUnwindSafe for BodyPart
impl Send for BodyPart
impl Sync for BodyPart
impl Unpin for BodyPart
impl UnwindSafe for BodyPart
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more