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