Struct oxygengine_audio::component::AudioSourceConfig [−][src]
pub struct AudioSourceConfig {
pub audio: Cow<'static, str>,
pub streaming: bool,
pub looped: bool,
pub playback_rate: Scalar,
pub volume: Scalar,
pub play: bool,
}Fields
audio: Cow<'static, str>streaming: boollooped: boolplayback_rate: Scalarvolume: Scalarplay: boolImplementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
fn from_prefab_with_extras(
data: Value,
_named_entities: &HashMap<String, Entity, RandomState>,
_state_token: ID<()>
) -> Result<Self, PrefabError>[src]fn from_proxy_with_extras(
proxy: AudioSourcePrefabProxy,
_: &HashMap<String, Entity>,
_: StateToken
) -> Result<Self, PrefabError>[src]Auto Trait Implementations
impl RefUnwindSafe for AudioSourceConfigimpl Send for AudioSourceConfigimpl Sync for AudioSourceConfigimpl Unpin for AudioSourceConfigimpl UnwindSafe for AudioSourceConfigBlanket Implementations
impl<T> Any for T where
T: Any,
impl<T> Any for T where
T: Any, pub fn get_type_id(&self) -> TypeIdMutably borrows from an owned value. Read more