pub struct UpdateSign {
pub location: BlockPos,
pub text1: ByteString,
pub text2: ByteString,
pub text3: ByteString,
pub text4: ByteString,
}Expand description
update_sign (serverbound play, id 0x12).
Fields§
§location: BlockPoslocation
text1: ByteStringtext1
text2: ByteStringtext2
text3: ByteStringtext3
text4: ByteStringtext4
Trait Implementations§
Source§impl Clone for UpdateSign
impl Clone for UpdateSign
Source§impl Debug for UpdateSign
impl Debug for UpdateSign
Source§impl Decode for UpdateSign
impl Decode for UpdateSign
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 UpdateSign
impl Encode for UpdateSign
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<UpdateSign> for ServerboundPlayPacket
impl From<UpdateSign> for ServerboundPlayPacket
Source§fn from(p: UpdateSign) -> Self
fn from(p: UpdateSign) -> Self
Converts to this type from the input type.
Source§impl Generate for UpdateSign
Available on crate feature testgen only.
impl Generate for UpdateSign
Available on crate feature
testgen only.Source§impl Packet for UpdateSign
impl Packet for UpdateSign
Source§impl PartialEq for UpdateSign
impl PartialEq for UpdateSign
impl StructuralPartialEq for UpdateSign
Auto Trait Implementations§
impl !Freeze for UpdateSign
impl RefUnwindSafe for UpdateSign
impl Send for UpdateSign
impl Sync for UpdateSign
impl Unpin for UpdateSign
impl UnsafeUnpin for UpdateSign
impl UnwindSafe for UpdateSign
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