Struct twmap::SoundSource [−][src]
pub struct SoundSource { pub position: Point, pub looping: bool, pub panning: bool, pub delay: i32, pub falloff: u8, pub position_env: Option<u16>, pub position_env_offset: i32, pub sound_env: Option<u16>, pub sound_env_offset: i32, pub shape: SoundShape, }
Fields
position: Point
looping: bool
panning: bool
delay: i32
falloff: u8
position_env: Option<u16>
position_env_offset: i32
sound_env: Option<u16>
sound_env_offset: i32
shape: SoundShape
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SoundSource
impl Send for SoundSource
impl Sync for SoundSource
impl Unpin for SoundSource
impl UnwindSafe for SoundSource
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V