pub enum ClientboundPlayScoreboardObjectiveAction {
Variant0 {
display_text: NbtCompound,
type: i32,
number_format: Option<Vec<u8>>,
styling: Vec<u8>,
},
Variant2 {
display_text: NbtCompound,
type: i32,
number_format: Option<Vec<u8>>,
styling: Vec<u8>,
},
}Expand description
Switch enum used by ClientboundPlayScoreboardObjective.
Variants§
Trait Implementations§
Source§impl Clone for ClientboundPlayScoreboardObjectiveAction
impl Clone for ClientboundPlayScoreboardObjectiveAction
Source§fn clone(&self) -> ClientboundPlayScoreboardObjectiveAction
fn clone(&self) -> ClientboundPlayScoreboardObjectiveAction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl EncodedSize for ClientboundPlayScoreboardObjectiveAction
impl EncodedSize for ClientboundPlayScoreboardObjectiveAction
fn encoded_size(&self) -> usize
Source§impl PartialEq for ClientboundPlayScoreboardObjectiveAction
impl PartialEq for ClientboundPlayScoreboardObjectiveAction
Source§fn eq(&self, other: &ClientboundPlayScoreboardObjectiveAction) -> bool
fn eq(&self, other: &ClientboundPlayScoreboardObjectiveAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClientboundPlayScoreboardObjectiveAction
Auto Trait Implementations§
impl Freeze for ClientboundPlayScoreboardObjectiveAction
impl RefUnwindSafe for ClientboundPlayScoreboardObjectiveAction
impl Send for ClientboundPlayScoreboardObjectiveAction
impl Sync for ClientboundPlayScoreboardObjectiveAction
impl Unpin for ClientboundPlayScoreboardObjectiveAction
impl UnsafeUnpin for ClientboundPlayScoreboardObjectiveAction
impl UnwindSafe for ClientboundPlayScoreboardObjectiveAction
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