pub struct SystemChat<'a> {
pub message: &'a str,
pub overlay: bool,
}
Fields§
§message: &'a str
§overlay: bool
Trait Implementations§
Source§impl<'a> Debug for SystemChat<'a>
impl<'a> Debug for SystemChat<'a>
Source§impl IdentifiedPacket<PacketId> for SystemChat<'_>
impl IdentifiedPacket<PacketId> for SystemChat<'_>
Source§impl<'a> SliceSerializable<'a> for SystemChat<'a>
impl<'a> SliceSerializable<'a> for SystemChat<'a>
type CopyType = &'a SystemChat<'a>
fn read(bytes: &mut &'a [u8]) -> Result<SystemChat<'a>>
fn get_write_size(object: &'a SystemChat<'a>) -> usize
Source§unsafe fn write<'bytes>(
bytes: &'bytes mut [u8],
object: &'a SystemChat<'a>,
) -> &'bytes mut [u8] ⓘ
unsafe fn write<'bytes>( bytes: &'bytes mut [u8], object: &'a SystemChat<'a>, ) -> &'bytes mut [u8] ⓘ
Safety Read more
fn as_copy_type(t: &'a SystemChat<'a>) -> Self::CopyType
fn read_fully(bytes: &mut &'a [u8]) -> Result<T, Error>
Auto Trait Implementations§
impl<'a> Freeze for SystemChat<'a>
impl<'a> RefUnwindSafe for SystemChat<'a>
impl<'a> Send for SystemChat<'a>
impl<'a> Sync for SystemChat<'a>
impl<'a> Unpin for SystemChat<'a>
impl<'a> UnwindSafe for SystemChat<'a>
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