Struct FMOD_CREATESOUNDEXINFO

Source
#[repr(C)]
pub struct FMOD_CREATESOUNDEXINFO {
Show 36 fields pub cbsize: c_int, pub length: c_uint, pub fileoffset: c_uint, pub numchannels: c_int, pub defaultfrequency: c_int, pub format: FMOD_SOUND_FORMAT, pub decodebuffersize: c_uint, pub initialsubsound: c_int, pub numsubsounds: c_int, pub inclusionlist: *mut c_int, pub inclusionlistnum: c_int, pub pcmreadcallback: FMOD_SOUND_PCMREAD_CALLBACK, pub pcmsetposcallback: FMOD_SOUND_PCMSETPOS_CALLBACK, pub nonblockcallback: FMOD_SOUND_NONBLOCK_CALLBACK, pub dlsname: *const c_char, pub encryptionkey: *const c_char, pub maxpolyphony: c_int, pub userdata: *mut c_void, pub suggestedsoundtype: FMOD_SOUND_TYPE, pub fileuseropen: FMOD_FILE_OPEN_CALLBACK, pub fileuserclose: FMOD_FILE_CLOSE_CALLBACK, pub fileuserread: FMOD_FILE_READ_CALLBACK, pub fileuserseek: FMOD_FILE_SEEK_CALLBACK, pub fileuserasyncread: FMOD_FILE_ASYNCREAD_CALLBACK, pub fileuserasynccancel: FMOD_FILE_ASYNCCANCEL_CALLBACK, pub fileuserdata: *mut c_void, pub filebuffersize: c_int, pub channelorder: FMOD_CHANNELORDER, pub initialsoundgroup: *mut FMOD_SOUNDGROUP, pub initialseekposition: c_uint, pub initialseekpostype: FMOD_TIMEUNIT, pub ignoresetfilesystem: c_int, pub audioqueuepolicy: c_uint, pub minmidigranularity: c_uint, pub nonblockthreadid: c_int, pub fsbguid: *mut FMOD_GUID,
}

Fields§

§cbsize: c_int§length: c_uint§fileoffset: c_uint§numchannels: c_int§defaultfrequency: c_int§format: FMOD_SOUND_FORMAT§decodebuffersize: c_uint§initialsubsound: c_int§numsubsounds: c_int§inclusionlist: *mut c_int§inclusionlistnum: c_int§pcmreadcallback: FMOD_SOUND_PCMREAD_CALLBACK§pcmsetposcallback: FMOD_SOUND_PCMSETPOS_CALLBACK§nonblockcallback: FMOD_SOUND_NONBLOCK_CALLBACK§dlsname: *const c_char§encryptionkey: *const c_char§maxpolyphony: c_int§userdata: *mut c_void§suggestedsoundtype: FMOD_SOUND_TYPE§fileuseropen: FMOD_FILE_OPEN_CALLBACK§fileuserclose: FMOD_FILE_CLOSE_CALLBACK§fileuserread: FMOD_FILE_READ_CALLBACK§fileuserseek: FMOD_FILE_SEEK_CALLBACK§fileuserasyncread: FMOD_FILE_ASYNCREAD_CALLBACK§fileuserasynccancel: FMOD_FILE_ASYNCCANCEL_CALLBACK§fileuserdata: *mut c_void§filebuffersize: c_int§channelorder: FMOD_CHANNELORDER§initialsoundgroup: *mut FMOD_SOUNDGROUP§initialseekposition: c_uint§initialseekpostype: FMOD_TIMEUNIT§ignoresetfilesystem: c_int§audioqueuepolicy: c_uint§minmidigranularity: c_uint§nonblockthreadid: c_int§fsbguid: *mut FMOD_GUID

Trait Implementations§

Source§

impl Clone for FMOD_CREATESOUNDEXINFO

Source§

fn clone(&self) -> FMOD_CREATESOUNDEXINFO

Returns a duplicate of the value. Read more
1.0.0 · Source§

const fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for FMOD_CREATESOUNDEXINFO

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for FMOD_CREATESOUNDEXINFO

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Hash for FMOD_CREATESOUNDEXINFO

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for FMOD_CREATESOUNDEXINFO

Source§

fn eq(&self, other: &FMOD_CREATESOUNDEXINFO) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

const fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for FMOD_CREATESOUNDEXINFO

Source§

impl Eq for FMOD_CREATESOUNDEXINFO

Source§

impl StructuralPartialEq for FMOD_CREATESOUNDEXINFO

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.