Enum playdate_sys::ffi::SoundFormat
source · #[repr(u8)]pub enum SoundFormat {
kSound8bitMono = 0,
kSound8bitStereo = 1,
kSound16bitMono = 2,
kSound16bitStereo = 3,
kSoundADPCMMono = 4,
kSoundADPCMStereo = 5,
}
Variants§
kSound8bitMono = 0
kSound8bitStereo = 1
kSound16bitMono = 2
kSound16bitStereo = 3
kSoundADPCMMono = 4
kSoundADPCMStereo = 5
Trait Implementations§
source§impl Clone for SoundFormat
impl Clone for SoundFormat
source§fn clone(&self) -> SoundFormat
fn clone(&self) -> SoundFormat
Returns a copy of the value. Read more
1.0.0§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 Hash for SoundFormat
impl Hash for SoundFormat
source§impl Ord for SoundFormat
impl Ord for SoundFormat
source§impl PartialEq for SoundFormat
impl PartialEq for SoundFormat
source§impl PartialOrd for SoundFormat
impl PartialOrd for SoundFormat
impl Copy for SoundFormat
impl Eq 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§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
§impl<T> ToOwned for Twhere
T: Clone,
impl<T> ToOwned for Twhere
T: Clone,
§impl<T, U> TryFrom<U> for Twhere
U: Into<T>,
impl<T, U> TryFrom<U> for Twhere
U: Into<T>,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
kSound8bitMono
: 0 byteskSound8bitStereo
: 0 byteskSound16bitMono
: 0 byteskSound16bitStereo
: 0 byteskSoundADPCMMono
: 0 byteskSoundADPCMStereo
: 0 bytes