pub struct SSignUpdate {
pub pos: BlockPos,
pub is_front_text: bool,
pub lines: [String; 4],
}Expand description
Serverbound packet sent when a player finishes editing a sign.
Fields§
§pos: BlockPosThe position of the sign block.
is_front_text: boolWhether updating the front text (true) or back text (false).
lines: [String; 4]The four lines of text. Each line is max 384 characters.
Trait Implementations§
Source§impl Clone for SSignUpdate
impl Clone for SSignUpdate
Source§fn clone(&self) -> SSignUpdate
fn clone(&self) -> SSignUpdate
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 moreSource§impl Debug for SSignUpdate
impl Debug for SSignUpdate
Source§impl ReadFrom for SSignUpdate
impl ReadFrom for SSignUpdate
Source§impl ServerPacket for SSignUpdate
impl ServerPacket for SSignUpdate
Source§fn read_packet(data: &mut Cursor<&[u8]>) -> Result<Self, PacketError>
fn read_packet(data: &mut Cursor<&[u8]>) -> Result<Self, PacketError>
Reads a packet from the given data.
Auto Trait Implementations§
impl Freeze for SSignUpdate
impl RefUnwindSafe for SSignUpdate
impl Send for SSignUpdate
impl Sync for SSignUpdate
impl Unpin for SSignUpdate
impl UnsafeUnpin for SSignUpdate
impl UnwindSafe for SSignUpdate
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreWraps this value in an
Arc<SyncMutex<>>