pub struct BodyRow {
pub renderer: String,
pub slots: BTreeMap<String, ShownSlot>,
}Expand description
One living entity type’s row in the body table.
Fields§
§renderer: StringThe client renderer class the row was read from.
slots: BTreeMap<String, ShownSlot>Slot (the game’s spelling) → what it draws. Empty for a body that draws no equipment.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BodyRow
impl<'de> Deserialize<'de> for BodyRow
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 BodyRow
impl StructuralPartialEq for BodyRow
Auto Trait Implementations§
impl Freeze for BodyRow
impl RefUnwindSafe for BodyRow
impl Send for BodyRow
impl Sync for BodyRow
impl Unpin for BodyRow
impl UnsafeUnpin for BodyRow
impl UnwindSafe for BodyRow
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