[][src]Struct basin2_protocol::packets::game::clientbound::custom_sound_packet::CustomSoundPacket

pub struct CustomSoundPacket {
    pub name: ResourceLocation,
    pub source: SoundSource,
    pub x: i32,
    pub y: i32,
    pub z: i32,
    pub volume: f32,
    pub pitch: f32,
}

Fields

name: ResourceLocationsource: SoundSourcex: i32y: i32z: i32volume: f32pitch: f32

Trait Implementations

impl Clone for CustomSoundPacket[src]

impl CodablePacket for CustomSoundPacket[src]

impl Debug for CustomSoundPacket[src]

impl From<CustomSoundPacket> for GameClientbound[src]

impl From<CustomSoundPacket> for Game[src]

impl PartialEq<CustomSoundPacket> for CustomSoundPacket[src]

impl StructuralPartialEq for CustomSoundPacket[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> 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.