pub struct LootTable {
pub id: String,
pub entries: Vec<LootEntry>,
pub picks: u32,
}Expand description
A named loot table (array format).
Fields§
§id: String§entries: Vec<LootEntry>§picks: u32Trait Implementations§
Source§impl<'de> Deserialize<'de> for LootTable
impl<'de> Deserialize<'de> for LootTable
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
Auto Trait Implementations§
impl Freeze for LootTable
impl RefUnwindSafe for LootTable
impl Send for LootTable
impl Sync for LootTable
impl Unpin for LootTable
impl UnsafeUnpin for LootTable
impl UnwindSafe for LootTable
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