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