pub struct ClientboundSetDisplayObjective {
pub slot: DisplaySlot,
pub objective_name: String,
}Fields§
§slot: DisplaySlot§objective_name: StringImplementations§
Trait Implementations§
Source§impl AzBuf for ClientboundSetDisplayObjective
impl AzBuf for ClientboundSetDisplayObjective
fn azalea_write(&self, buf: &mut impl Write) -> Result<(), Error>
fn azalea_read(buf: &mut Cursor<&[u8]>) -> Result<Self, BufReadError>
Source§impl Clone for ClientboundSetDisplayObjective
impl Clone for ClientboundSetDisplayObjective
Source§fn clone(&self) -> ClientboundSetDisplayObjective
fn clone(&self) -> ClientboundSetDisplayObjective
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 Packet<ClientboundGamePacket> for ClientboundSetDisplayObjective
impl Packet<ClientboundGamePacket> for ClientboundSetDisplayObjective
fn into_variant(self) -> ClientboundGamePacket
Source§impl PartialEq for ClientboundSetDisplayObjective
impl PartialEq for ClientboundSetDisplayObjective
Source§fn eq(&self, other: &ClientboundSetDisplayObjective) -> bool
fn eq(&self, other: &ClientboundSetDisplayObjective) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClientboundSetDisplayObjective
Auto Trait Implementations§
impl Freeze for ClientboundSetDisplayObjective
impl RefUnwindSafe for ClientboundSetDisplayObjective
impl Send for ClientboundSetDisplayObjective
impl Sync for ClientboundSetDisplayObjective
impl Unpin for ClientboundSetDisplayObjective
impl UnsafeUnpin for ClientboundSetDisplayObjective
impl UnwindSafe for ClientboundSetDisplayObjective
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