#[repr(C)]pub enum ChannelIndex {
Free = -1,
ReUse = -2,
}
Expand description
Special channel index values for FMOD functions.
Variants§
Free = -1
For a channel index, FMOD chooses a free voice using the priority system.
ReUse = -2
For a channel index, re-use the channel handle that was passed in.
Trait Implementations§
Source§impl Clone for ChannelIndex
impl Clone for ChannelIndex
Source§fn clone(&self) -> ChannelIndex
fn clone(&self) -> ChannelIndex
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ChannelIndex
impl Debug for ChannelIndex
Source§impl PartialEq for ChannelIndex
impl PartialEq for ChannelIndex
Source§impl PartialOrd for ChannelIndex
impl PartialOrd for ChannelIndex
impl Copy for ChannelIndex
impl StructuralPartialEq for ChannelIndex
Auto Trait Implementations§
impl Freeze for ChannelIndex
impl RefUnwindSafe for ChannelIndex
impl Send for ChannelIndex
impl Sync for ChannelIndex
impl Unpin for ChannelIndex
impl UnwindSafe for ChannelIndex
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more