pub struct Tool {
pub rule: PrefixedArray<ToolRule>,
pub default_mining_speed: Float,
pub damage_per_block: VarInt,
}Fields§
§rule: PrefixedArray<ToolRule>§default_mining_speed: Float§damage_per_block: VarIntImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Tool
impl RefUnwindSafe for Tool
impl Send for Tool
impl Sync for Tool
impl Unpin for Tool
impl UnwindSafe for Tool
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