Struct bevy_rrise::sound_engine::AkCallbackType
[−]#[repr(transparent)]pub struct AkCallbackType(pub i32);Expand description
Type of callback. Used as a bitfield in methods AK::SoundEngine::PostEvent() and AK::SoundEngine::DynamicSequence::Open().
Tuple Fields
0: i32Implementations
impl AkCallbackType
impl AkCallbackType
pub fn contains(self, flags: AkCallbackType) -> bool
pub fn contains(self, flags: AkCallbackType) -> bool
Checks whether this bitflag has at least one of the bits in flags set.
impl AkCallbackType
impl AkCallbackType
pub const AK_EndOfEvent: AkCallbackType
pub const AK_EndOfEvent: AkCallbackType
Callback triggered when reaching the end of an event. AkCallbackInfo can be cast to AkEventCallbackInfo.
impl AkCallbackType
impl AkCallbackType
pub const AK_EndOfDynamicSequenceItem: AkCallbackType
pub const AK_EndOfDynamicSequenceItem: AkCallbackType
Callback triggered when reaching the end of a dynamic sequence item. AkCallbackInfo can be cast to AkDynamicSequenceItemCallbackInfo.
impl AkCallbackType
impl AkCallbackType
pub const AK_Marker: AkCallbackType
pub const AK_Marker: AkCallbackType
Callback triggered when encountering a marker during playback. AkCallbackInfo can be cast to AkMarkerCallbackInfo.
impl AkCallbackType
impl AkCallbackType
pub const AK_Duration: AkCallbackType
pub const AK_Duration: AkCallbackType
Callback triggered when the duration of the sound is known by the sound engine. AkCallbackInfo can be cast to AkDurationCallbackInfo.
impl AkCallbackType
impl AkCallbackType
pub const AK_SpeakerVolumeMatrix: AkCallbackType
pub const AK_SpeakerVolumeMatrix: AkCallbackType
Callback triggered at each frame, letting the client modify the speaker volume matrix. AkCallbackInfo can be cast to AkSpeakerVolumeMatrixCallbackInfo.
impl AkCallbackType
impl AkCallbackType
pub const AK_Starvation: AkCallbackType
pub const AK_Starvation: AkCallbackType
Callback triggered when playback skips a frame due to stream starvation. AkCallbackInfo can be cast to AkEventCallbackInfo.
impl AkCallbackType
impl AkCallbackType
pub const AK_MusicPlaylistSelect: AkCallbackType
pub const AK_MusicPlaylistSelect: AkCallbackType
Callback triggered when music playlist container must select the next item to play. AkCallbackInfo can be cast to AkMusicPlaylistCallbackInfo.
impl AkCallbackType
impl AkCallbackType
pub const AK_MusicPlayStarted: AkCallbackType
pub const AK_MusicPlayStarted: AkCallbackType
Callback triggered when a “Play” or “Seek” command has been executed (“Seek” commands are issued from AK::SoundEngine::SeekOnEvent()). Applies to objects of the Interactive-Music Hierarchy only. AkCallbackInfo can be cast to AkEventCallbackInfo.
impl AkCallbackType
impl AkCallbackType
pub const AK_MusicSyncBeat: AkCallbackType
pub const AK_MusicSyncBeat: AkCallbackType
Enable notifications on Music Beat. AkCallbackInfo can be cast to AkMusicSyncCallbackInfo.
impl AkCallbackType
impl AkCallbackType
pub const AK_MusicSyncBar: AkCallbackType
pub const AK_MusicSyncBar: AkCallbackType
Enable notifications on Music Bar. AkCallbackInfo can be cast to AkMusicSyncCallbackInfo.
impl AkCallbackType
impl AkCallbackType
pub const AK_MusicSyncEntry: AkCallbackType
pub const AK_MusicSyncEntry: AkCallbackType
Enable notifications on Music Entry Cue. AkCallbackInfo can be cast to AkMusicSyncCallbackInfo.
impl AkCallbackType
impl AkCallbackType
pub const AK_MusicSyncExit: AkCallbackType
pub const AK_MusicSyncExit: AkCallbackType
Enable notifications on Music Exit Cue. AkCallbackInfo can be cast to AkMusicSyncCallbackInfo.
impl AkCallbackType
impl AkCallbackType
pub const AK_MusicSyncGrid: AkCallbackType
pub const AK_MusicSyncGrid: AkCallbackType
Enable notifications on Music Grid. AkCallbackInfo can be cast to AkMusicSyncCallbackInfo.
impl AkCallbackType
impl AkCallbackType
pub const AK_MusicSyncUserCue: AkCallbackType
pub const AK_MusicSyncUserCue: AkCallbackType
Enable notifications on Music Custom Cue. AkCallbackInfo can be cast to AkMusicSyncCallbackInfo.
impl AkCallbackType
impl AkCallbackType
pub const AK_MusicSyncPoint: AkCallbackType
pub const AK_MusicSyncPoint: AkCallbackType
Enable notifications on Music switch transition synchronization point. AkCallbackInfo can be cast to AkMusicSyncCallbackInfo.
impl AkCallbackType
impl AkCallbackType
pub const AK_MusicSyncAll: AkCallbackType
pub const AK_MusicSyncAll: AkCallbackType
Use this flag if you want to receive all notifications concerning AK_MusicSync registration.
impl AkCallbackType
impl AkCallbackType
pub const AK_MIDIEvent: AkCallbackType
pub const AK_MIDIEvent: AkCallbackType
Enable notifications for MIDI events. AkCallbackInfo can be cast to AkMIDIEventCallbackInfo.
impl AkCallbackType
impl AkCallbackType
pub const AK_CallbackBits: AkCallbackType
pub const AK_CallbackBits: AkCallbackType
Bitmask for all callback types.
impl AkCallbackType
impl AkCallbackType
pub const AK_EnableGetSourcePlayPosition: AkCallbackType
pub const AK_EnableGetSourcePlayPosition: AkCallbackType
Enable play position information for use by AK::SoundEngine::GetSourcePlayPosition().
impl AkCallbackType
impl AkCallbackType
pub const AK_EnableGetMusicPlayPosition: AkCallbackType
pub const AK_EnableGetMusicPlayPosition: AkCallbackType
Enable play position information of music objects, queried via AK::MusicEngine::GetPlayingSegmentInfo().
impl AkCallbackType
impl AkCallbackType
pub const AK_EnableGetSourceStreamBuffering: AkCallbackType
pub const AK_EnableGetSourceStreamBuffering: AkCallbackType
Enable stream buffering information for use by AK::SoundEngine::GetSourceStreamBuffering().
Trait Implementations
impl BitAnd<AkCallbackType> for AkCallbackType
impl BitAnd<AkCallbackType> for AkCallbackType
type Output = AkCallbackType
type Output = AkCallbackType
The resulting type after applying the & operator.
fn bitand(self, other: AkCallbackType) -> AkCallbackType
fn bitand(self, other: AkCallbackType) -> AkCallbackType
Performs the & operation. Read more
impl BitAndAssign<AkCallbackType> for AkCallbackType
impl BitAndAssign<AkCallbackType> for AkCallbackType
fn bitand_assign(&mut self, rhs: AkCallbackType)
fn bitand_assign(&mut self, rhs: AkCallbackType)
Performs the &= operation. Read more
impl BitOr<AkCallbackType> for AkCallbackType
impl BitOr<AkCallbackType> for AkCallbackType
type Output = AkCallbackType
type Output = AkCallbackType
The resulting type after applying the | operator.
fn bitor(self, other: AkCallbackType) -> AkCallbackType
fn bitor(self, other: AkCallbackType) -> AkCallbackType
Performs the | operation. Read more
impl BitOrAssign<AkCallbackType> for AkCallbackType
impl BitOrAssign<AkCallbackType> for AkCallbackType
fn bitor_assign(&mut self, rhs: AkCallbackType)
fn bitor_assign(&mut self, rhs: AkCallbackType)
Performs the |= operation. Read more
impl Clone for AkCallbackType
impl Clone for AkCallbackType
fn clone(&self) -> AkCallbackType
fn clone(&self) -> AkCallbackType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
impl Debug for AkCallbackType
impl Debug for AkCallbackType
impl Default for AkCallbackType
impl Default for AkCallbackType
fn default() -> AkCallbackType
fn default() -> AkCallbackType
Returns the “default value” for a type. Read more
impl Display for AkCallbackType
impl Display for AkCallbackType
impl Hash for AkCallbackType
impl Hash for AkCallbackType
impl PartialEq<AkCallbackType> for AkCallbackType
impl PartialEq<AkCallbackType> for AkCallbackType
fn eq(&self, other: &AkCallbackType) -> bool
fn eq(&self, other: &AkCallbackType) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
fn ne(&self, other: &AkCallbackType) -> bool
fn ne(&self, other: &AkCallbackType) -> bool
This method tests for !=.
impl Copy for AkCallbackType
impl Eq for AkCallbackType
impl StructuralEq for AkCallbackType
impl StructuralPartialEq for AkCallbackType
Auto Trait Implementations
impl RefUnwindSafe for AkCallbackType
impl Send for AkCallbackType
impl Sync for AkCallbackType
impl Unpin for AkCallbackType
impl UnwindSafe for AkCallbackType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Downcast for T where
T: Any,
impl<T> Downcast for T where
T: Any,
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait. Read more
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait. Read more
fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s. Read more
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s. Read more
impl<T> DynHash for T where
T: DynEq + Hash,
impl<T> DynHash for T where
T: DynEq + Hash,
impl<T> FromWorld for T where
T: Default,
impl<T> FromWorld for T where
T: Default,
fn from_world(_world: &mut World) -> T
fn from_world(_world: &mut World) -> T
Creates Self using data from the given [World]
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> TypeData for T where
T: 'static + Send + Sync + Clone,
impl<T> TypeData for T where
T: 'static + Send + Sync + Clone,
fn clone_type_data(&self) -> Box<dyn TypeData + 'static, Global>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more