[][src]Struct mcproto_rs::v1_15_2::PlayNamedSoundEffectSpec

pub struct PlayNamedSoundEffectSpec {
    pub sound_name: String,
    pub sound_category: SoundCategory,
    pub position: Vec3<FixedInt>,
    pub volume: f32,
    pub pitch: f32,
}

Fields

sound_name: Stringsound_category: SoundCategoryposition: Vec3<FixedInt>volume: f32pitch: f32

Trait Implementations

impl Clone for PlayNamedSoundEffectSpec[src]

impl Debug for PlayNamedSoundEffectSpec[src]

impl Deserialize for PlayNamedSoundEffectSpec[src]

impl From<(String, SoundCategory, Vec3<FixedInt>, f32, f32)> for PlayNamedSoundEffectSpec[src]

impl PartialEq<PlayNamedSoundEffectSpec> for PlayNamedSoundEffectSpec[src]

impl Serialize for PlayNamedSoundEffectSpec[src]

impl StructuralPartialEq for PlayNamedSoundEffectSpec[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ProtocolType for T where
    T: Deserialize + Serialize
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,