Struct oxygengine_audio::component::AudioSource [−][src]
pub struct AudioSource { /* fields omitted */ }Implementations
Trait Implementations
type Storage = FlaggedStorage<Self, VecStorage<Self>>
type Storage = FlaggedStorage<Self, VecStorage<Self>>Associated storage type for this component.
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_proxy_with_extras(
proxy: AudioSourcePrefabProxy,
_: &HashMap<String, Entity>,
_: StateToken
) -> Result<Self, PrefabError>[src]Auto Trait Implementations
impl RefUnwindSafe for AudioSourceimpl Send for AudioSourceimpl Sync for AudioSourceimpl Unpin for AudioSourceimpl UnwindSafe for AudioSourceBlanket 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
impl<T> TryDefault for T where
T: Default,
impl<T> TryDefault for T where
T: Default, pub fn try_default() -> Result<T, String>
pub fn try_default() -> Result<T, String>Tries to create the default.
fn unwrap_default() -> Self
fn unwrap_default() -> SelfCalls try_default and panics on an error case.