Struct fmod::ffi::FMOD_CREATESOUNDEXINFO

source ·
#[repr(C)]
pub struct FMOD_CREATESOUNDEXINFO {
Show 36 fields pub cbsize: i32, pub length: u32, pub fileoffset: u32, pub numchannels: i32, pub defaultfrequency: i32, pub format: u32, pub decodebuffersize: u32, pub initialsubsound: i32, pub numsubsounds: i32, pub inclusionlist: *mut i32, pub inclusionlistnum: i32, pub pcmreadcallback: Option<unsafe extern "C" fn(_: *mut FMOD_SOUND, _: *mut c_void, _: u32) -> FMOD_RESULT>, pub pcmsetposcallback: Option<unsafe extern "C" fn(_: *mut FMOD_SOUND, _: i32, _: u32, _: u32) -> FMOD_RESULT>, pub nonblockcallback: Option<unsafe extern "C" fn(_: *mut FMOD_SOUND, _: FMOD_RESULT) -> FMOD_RESULT>, pub dlsname: *const i8, pub encryptionkey: *const i8, pub maxpolyphony: i32, pub userdata: *mut c_void, pub suggestedsoundtype: u32, pub fileuseropen: Option<unsafe extern "C" fn(_: *const i8, _: *mut u32, _: *mut *mut c_void, _: *mut c_void) -> FMOD_RESULT>, pub fileuserclose: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void) -> FMOD_RESULT>, pub fileuserread: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: u32, _: *mut u32, _: *mut c_void) -> FMOD_RESULT>, pub fileuserseek: Option<unsafe extern "C" fn(_: *mut c_void, _: u32, _: *mut c_void) -> FMOD_RESULT>, pub fileuserasyncread: Option<unsafe extern "C" fn(_: *mut FMOD_ASYNCREADINFO, _: *mut c_void) -> FMOD_RESULT>, pub fileuserasynccancel: Option<unsafe extern "C" fn(_: *mut FMOD_ASYNCREADINFO, _: *mut c_void) -> FMOD_RESULT>, pub fileuserdata: *mut c_void, pub filebuffersize: i32, pub channelorder: u32, pub initialsoundgroup: *mut FMOD_SOUNDGROUP, pub initialseekposition: u32, pub initialseekpostype: u32, pub ignoresetfilesystem: i32, pub audioqueuepolicy: u32, pub minmidigranularity: u32, pub nonblockthreadid: i32, pub fsbguid: *mut FMOD_GUID,
}

Fields§

§cbsize: i32§length: u32§fileoffset: u32§numchannels: i32§defaultfrequency: i32§format: u32§decodebuffersize: u32§initialsubsound: i32§numsubsounds: i32§inclusionlist: *mut i32§inclusionlistnum: i32§pcmreadcallback: Option<unsafe extern "C" fn(_: *mut FMOD_SOUND, _: *mut c_void, _: u32) -> FMOD_RESULT>§pcmsetposcallback: Option<unsafe extern "C" fn(_: *mut FMOD_SOUND, _: i32, _: u32, _: u32) -> FMOD_RESULT>§nonblockcallback: Option<unsafe extern "C" fn(_: *mut FMOD_SOUND, _: FMOD_RESULT) -> FMOD_RESULT>§dlsname: *const i8§encryptionkey: *const i8§maxpolyphony: i32§userdata: *mut c_void§suggestedsoundtype: u32§fileuseropen: Option<unsafe extern "C" fn(_: *const i8, _: *mut u32, _: *mut *mut c_void, _: *mut c_void) -> FMOD_RESULT>§fileuserclose: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void) -> FMOD_RESULT>§fileuserread: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: u32, _: *mut u32, _: *mut c_void) -> FMOD_RESULT>§fileuserseek: Option<unsafe extern "C" fn(_: *mut c_void, _: u32, _: *mut c_void) -> FMOD_RESULT>§fileuserasyncread: Option<unsafe extern "C" fn(_: *mut FMOD_ASYNCREADINFO, _: *mut c_void) -> FMOD_RESULT>§fileuserasynccancel: Option<unsafe extern "C" fn(_: *mut FMOD_ASYNCREADINFO, _: *mut c_void) -> FMOD_RESULT>§fileuserdata: *mut c_void§filebuffersize: i32§channelorder: u32§initialsoundgroup: *mut FMOD_SOUNDGROUP§initialseekposition: u32§initialseekpostype: u32§ignoresetfilesystem: i32§audioqueuepolicy: u32§minmidigranularity: u32§nonblockthreadid: i32§fsbguid: *mut FMOD_GUID

Trait Implementations§

source§

impl Clone for FMOD_CREATESOUNDEXINFO

source§

fn clone(&self) -> FMOD_CREATESOUNDEXINFO

Returns a copy of the value. Read more
1.0.0 · source§

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<(), Error>

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

impl Default for FMOD_CREATESOUNDEXINFO

source§

fn default() -> FMOD_CREATESOUNDEXINFO

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

impl Hash for FMOD_CREATESOUNDEXINFO

source§

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

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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> 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,

§

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>,

§

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>,

§

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.