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