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