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