Struct ClientMiningPrediction
pub struct ClientMiningPrediction {
pub pos: [i32; 3],
pub face: [i32; 3],
pub starting: bool,
pub progress: f32,
}Expand description
A proposed window-side block mining operation.
Fields§
§pos: [i32; 3]The targeted block.
face: [i32; 3]The outward unit normal of the hit face.
starting: boolWhether this operation begins a break rather than advancing a retained target.
progress: f32The proposed resulting break fraction, from zero to one.
Trait Implementations§
§impl Clone for ClientMiningPrediction
impl Clone for ClientMiningPrediction
§fn clone(&self) -> ClientMiningPrediction
fn clone(&self) -> ClientMiningPrediction
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 ClientMiningPrediction
§impl Debug for ClientMiningPrediction
impl Debug for ClientMiningPrediction
§impl PartialEq for ClientMiningPrediction
impl PartialEq for ClientMiningPrediction
impl StructuralPartialEq for ClientMiningPrediction
Auto Trait Implementations§
impl Freeze for ClientMiningPrediction
impl RefUnwindSafe for ClientMiningPrediction
impl Send for ClientMiningPrediction
impl Sync for ClientMiningPrediction
impl Unpin for ClientMiningPrediction
impl UnsafeUnpin for ClientMiningPrediction
impl UnwindSafe for ClientMiningPrediction
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