pub struct MineableProperties {
pub fluid_amount: f64,
pub minable: bool,
pub mining_particle: &'static str,
pub mining_time: f64,
pub mining_trigger: &'static [TriggerItem],
pub products: &'static [Product],
pub required_fluid: &'static str,
pub transfer_entity_health_to_products: bool,
}Fields§
§fluid_amount: f64§minable: bool§mining_particle: &'static str§mining_time: f64§mining_trigger: &'static [TriggerItem]§products: &'static [Product]§required_fluid: &'static str§transfer_entity_health_to_products: boolTrait Implementations§
Source§impl Clone for MineableProperties
impl Clone for MineableProperties
Source§fn clone(&self) -> MineableProperties
fn clone(&self) -> MineableProperties
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 moreimpl Copy for MineableProperties
Source§impl Debug for MineableProperties
impl Debug for MineableProperties
Source§impl Default for MineableProperties
impl Default for MineableProperties
Source§fn default() -> MineableProperties
fn default() -> MineableProperties
Returns the “default value” for a type. Read more
Source§impl PartialEq for MineableProperties
impl PartialEq for MineableProperties
impl StructuralPartialEq for MineableProperties
Auto Trait Implementations§
impl Freeze for MineableProperties
impl RefUnwindSafe for MineableProperties
impl Send for MineableProperties
impl Sync for MineableProperties
impl Unpin for MineableProperties
impl UnsafeUnpin for MineableProperties
impl UnwindSafe for MineableProperties
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