pub struct OpenSignEntity {
pub location: BlockPos,
}Expand description
open_sign_entity (clientbound play, id 0x36).
Fields§
§location: BlockPoslocation
Trait Implementations§
Source§impl Clone for OpenSignEntity
impl Clone for OpenSignEntity
Source§impl Debug for OpenSignEntity
impl Debug for OpenSignEntity
Source§impl Decode for OpenSignEntity
impl Decode for OpenSignEntity
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 OpenSignEntity
impl Encode for OpenSignEntity
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<OpenSignEntity> for ClientboundPlayPacket
impl From<OpenSignEntity> for ClientboundPlayPacket
Source§fn from(p: OpenSignEntity) -> Self
fn from(p: OpenSignEntity) -> Self
Converts to this type from the input type.
Source§impl Generate for OpenSignEntity
Available on crate feature testgen only.
impl Generate for OpenSignEntity
Available on crate feature
testgen only.Source§impl Packet for OpenSignEntity
impl Packet for OpenSignEntity
Source§impl PartialEq for OpenSignEntity
impl PartialEq for OpenSignEntity
impl StructuralPartialEq for OpenSignEntity
Auto Trait Implementations§
impl Freeze for OpenSignEntity
impl RefUnwindSafe for OpenSignEntity
impl Send for OpenSignEntity
impl Sync for OpenSignEntity
impl Unpin for OpenSignEntity
impl UnsafeUnpin for OpenSignEntity
impl UnwindSafe for OpenSignEntity
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