pub struct SignText {
pub messages: SignTextMessages,
pub filtered_messages: Option<SignTextFilteredMessages>,
pub color: DyeColor,
pub has_glowing_text: bool,
}Expand description
Named type SignText.
Fields§
§messages: SignTextMessagesmessages
filtered_messages: Option<SignTextFilteredMessages>filteredMessages
color: DyeColorcolor
has_glowing_text: boolhasGlowingText
Trait Implementations§
Source§impl Decode for SignText
Available on crate feature v26_3 only.
impl Decode for SignText
Available on crate feature
v26_3 only.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 SignText
Available on crate feature v26_3 only.
impl Encode for SignText
Available on crate feature
v26_3 only.Source§fn encode(&self, w: &mut BytesMut) -> EncodeResult
fn encode(&self, w: &mut BytesMut) -> EncodeResult
Appends the encoding of
self to w.impl StructuralPartialEq for SignText
Auto Trait Implementations§
impl !Freeze for SignText
impl Forget for SignText
impl Move for SignText
impl RefUnwindSafe for SignText
impl Send for SignText
impl Sync for SignText
impl Unpin for SignText
impl UnsafeUnpin for SignText
impl UnwindSafe for SignText
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