pub enum SoundFormat {
None,
Pcm8,
Pcm16,
Pcm24,
Pcm32,
PcmFloat,
Bitstream,
Max,
}
Variants§
Implementations§
Source§impl SoundFormat
impl SoundFormat
pub fn from(value: FMOD_SOUND_FORMAT) -> Result<SoundFormat, Error>
Trait Implementations§
Source§impl Clone for SoundFormat
impl Clone for SoundFormat
Source§fn clone(&self) -> SoundFormat
fn clone(&self) -> SoundFormat
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 SoundFormat
impl Debug for SoundFormat
Source§impl From<SoundFormat> for FMOD_SOUND_FORMAT
impl From<SoundFormat> for FMOD_SOUND_FORMAT
Source§fn from(value: SoundFormat) -> FMOD_SOUND_FORMAT
fn from(value: SoundFormat) -> FMOD_SOUND_FORMAT
Converts to this type from the input type.
Source§impl PartialEq for SoundFormat
impl PartialEq for SoundFormat
impl Copy for SoundFormat
impl StructuralPartialEq for SoundFormat
Auto Trait Implementations§
impl Freeze for SoundFormat
impl RefUnwindSafe for SoundFormat
impl Send for SoundFormat
impl Sync for SoundFormat
impl Unpin for SoundFormat
impl UnwindSafe for SoundFormat
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