pub struct DebugBrainDump {Show 14 fields
pub name: String,
pub profession: String,
pub xp: i32,
pub health: f32,
pub max_health: f32,
pub inventory: String,
pub wants_golem: bool,
pub anger_level: i32,
pub activities: Vec<String>,
pub behaviors: Vec<String>,
pub memories: Vec<String>,
pub gossips: Vec<String>,
pub pois: Vec<BlockPos>,
pub potential_pois: Vec<BlockPos>,
}Fields§
§name: String§profession: String§xp: i32§health: f32§max_health: f32§inventory: String§wants_golem: bool§anger_level: i32§activities: Vec<String>§behaviors: Vec<String>§memories: Vec<String>§gossips: Vec<String>§pois: Vec<BlockPos>§potential_pois: Vec<BlockPos>Trait Implementations§
Source§impl AzBuf for DebugBrainDump
impl AzBuf for DebugBrainDump
fn azalea_write(&self, buf: &mut impl Write) -> Result<(), Error>
fn azalea_read(buf: &mut Cursor<&[u8]>) -> Result<Self, BufReadError>
Source§impl Clone for DebugBrainDump
impl Clone for DebugBrainDump
Source§fn clone(&self) -> DebugBrainDump
fn clone(&self) -> DebugBrainDump
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DebugBrainDump
impl Debug for DebugBrainDump
Source§impl PartialEq for DebugBrainDump
impl PartialEq for DebugBrainDump
Source§fn eq(&self, other: &DebugBrainDump) -> bool
fn eq(&self, other: &DebugBrainDump) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DebugBrainDump
Auto Trait Implementations§
impl Freeze for DebugBrainDump
impl RefUnwindSafe for DebugBrainDump
impl Send for DebugBrainDump
impl Sync for DebugBrainDump
impl Unpin for DebugBrainDump
impl UnsafeUnpin for DebugBrainDump
impl UnwindSafe for DebugBrainDump
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