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