Struct entmet_lib::entities::entity::Villager
source · pub struct Villager {
pub data: VillagerData,
/* private fields */
}Expand description
An instance of a villager
Fields§
§data: VillagerDataSpecific villager data
This data contains their profession, variant and level
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Villager
impl RefUnwindSafe for Villager
impl Send for Villager
impl Sync for Villager
impl Unpin for Villager
impl UnwindSafe for Villager
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