Struct azalea_core::BlockHitResult
source · pub struct BlockHitResult {
pub location: Vec3,
pub direction: Direction,
pub block_pos: BlockPos,
pub miss: bool,
pub inside: bool,
}
Fields§
§location: Vec3
§direction: Direction
§block_pos: BlockPos
§miss: bool
§inside: bool
Implementations§
Trait Implementations§
source§impl Clone for BlockHitResult
impl Clone for BlockHitResult
source§fn clone(&self) -> BlockHitResult
fn clone(&self) -> BlockHitResult
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BlockHitResult
impl Debug for BlockHitResult
source§impl PartialEq<BlockHitResult> for BlockHitResult
impl PartialEq<BlockHitResult> for BlockHitResult
source§fn eq(&self, other: &BlockHitResult) -> bool
fn eq(&self, other: &BlockHitResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BlockHitResult
impl StructuralPartialEq for BlockHitResult
Auto Trait Implementations§
impl RefUnwindSafe for BlockHitResult
impl Send for BlockHitResult
impl Sync for BlockHitResult
impl Unpin for BlockHitResult
impl UnwindSafe for BlockHitResult
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