pub struct ScoreboardObjectiveSpec {
pub text: Chat,
pub kind: ScoreboardObjectiveKind,
}
Fields§
§text: Chat
§kind: ScoreboardObjectiveKind
Trait Implementations§
Source§impl Clone for ScoreboardObjectiveSpec
impl Clone for ScoreboardObjectiveSpec
Source§fn clone(&self) -> ScoreboardObjectiveSpec
fn clone(&self) -> ScoreboardObjectiveSpec
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 Debug for ScoreboardObjectiveSpec
impl Debug for ScoreboardObjectiveSpec
Source§impl Deserialize for ScoreboardObjectiveSpec
impl Deserialize for ScoreboardObjectiveSpec
fn mc_deserialize(_rest: &[u8]) -> DeserializeResult<'_, Self>
Source§impl From<(Chat, ScoreboardObjectiveKind)> for ScoreboardObjectiveSpec
impl From<(Chat, ScoreboardObjectiveKind)> for ScoreboardObjectiveSpec
Source§fn from(other: (Chat, ScoreboardObjectiveKind)) -> Self
fn from(other: (Chat, ScoreboardObjectiveKind)) -> Self
Converts to this type from the input type.
Source§impl From<ScoreboardObjectiveSpec> for (Chat, ScoreboardObjectiveKind)
impl From<ScoreboardObjectiveSpec> for (Chat, ScoreboardObjectiveKind)
Source§fn from(other: ScoreboardObjectiveSpec) -> Self
fn from(other: ScoreboardObjectiveSpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ScoreboardObjectiveSpec
impl PartialEq for ScoreboardObjectiveSpec
Source§impl Serialize for ScoreboardObjectiveSpec
impl Serialize for ScoreboardObjectiveSpec
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for ScoreboardObjectiveSpec
Auto Trait Implementations§
impl Freeze for ScoreboardObjectiveSpec
impl RefUnwindSafe for ScoreboardObjectiveSpec
impl Send for ScoreboardObjectiveSpec
impl Sync for ScoreboardObjectiveSpec
impl Unpin for ScoreboardObjectiveSpec
impl UnwindSafe for ScoreboardObjectiveSpec
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