pub struct VillagerProfession {
pub key: Identifier,
pub work_sound: Option<SoundEventRef>,
}Fields§
§key: Identifier§work_sound: Option<SoundEventRef>Trait Implementations§
Source§impl Debug for VillagerProfession
impl Debug for VillagerProfession
Auto Trait Implementations§
impl Freeze for VillagerProfession
impl RefUnwindSafe for VillagerProfession
impl Send for VillagerProfession
impl Sync for VillagerProfession
impl Unpin for VillagerProfession
impl UnsafeUnpin for VillagerProfession
impl UnwindSafe for VillagerProfession
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