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: Pointlooping: boolpanning: booldelay: i32falloff: u8position_env: Option<u16>position_env_offset: i32sound_env: Option<u16>sound_env_offset: i32shape: SoundShapeTrait 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 SoundSourceimpl Send for SoundSourceimpl Sync for SoundSourceimpl Unpin for SoundSourceimpl UnwindSafe for SoundSourceBlanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V