pub struct BlockDig {
pub status: i32,
pub location: BlockPos,
pub face: i8,
}Expand description
block_dig (serverbound play, id 0x07).
Fields§
§status: i32status
location: BlockPoslocation
face: i8face
Trait Implementations§
Source§impl Decode for BlockDig
impl Decode for BlockDig
Source§fn decode(r: &mut Reader<'_>) -> DecodeResult<Self>
fn decode(r: &mut Reader<'_>) -> DecodeResult<Self>
Decodes one value, advancing the reader past it.
Source§impl Encode for BlockDig
impl Encode for BlockDig
Source§fn encode(&self, w: &mut BytesMut) -> EncodeResult
fn encode(&self, w: &mut BytesMut) -> EncodeResult
Appends the encoding of
self to w.Source§impl From<BlockDig> for ServerboundPlayPacket
impl From<BlockDig> for ServerboundPlayPacket
impl StructuralPartialEq for BlockDig
Auto Trait Implementations§
impl Freeze for BlockDig
impl RefUnwindSafe for BlockDig
impl Send for BlockDig
impl Sync for BlockDig
impl Unpin for BlockDig
impl UnsafeUnpin for BlockDig
impl UnwindSafe for BlockDig
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