pub struct MinableProperties {
pub mining_time: f64,
pub result: Option<&'static str>,
}Expand description
Simplified minable properties for placeable entities.
Fields§
§mining_time: f64§result: Option<&'static str>Trait Implementations§
Source§impl Clone for MinableProperties
impl Clone for MinableProperties
Source§fn clone(&self) -> MinableProperties
fn clone(&self) -> MinableProperties
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 MinableProperties
Source§impl Debug for MinableProperties
impl Debug for MinableProperties
Source§impl Default for MinableProperties
impl Default for MinableProperties
Source§fn default() -> MinableProperties
fn default() -> MinableProperties
Returns the “default value” for a type. Read more
Source§impl PartialEq for MinableProperties
impl PartialEq for MinableProperties
impl StructuralPartialEq for MinableProperties
Auto Trait Implementations§
impl Freeze for MinableProperties
impl RefUnwindSafe for MinableProperties
impl Send for MinableProperties
impl Sync for MinableProperties
impl Unpin for MinableProperties
impl UnsafeUnpin for MinableProperties
impl UnwindSafe for MinableProperties
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