Createsoundexinfo

Struct Createsoundexinfo 

Source
pub struct Createsoundexinfo {
Show 35 fields pub length: u32, pub fileoffset: u32, pub numchannels: i32, pub defaultfrequency: i32, pub format: Format, pub decodebuffersize: u32, pub initialsubsound: i32, pub numsubsounds: i32, pub inclusionlist: Vec<i32>, pub pcmreadcallback: FMOD_SOUND_PCMREAD_CALLBACK, pub pcmsetposcallback: FMOD_SOUND_PCMSETPOS_CALLBACK, pub nonblockcallback: FMOD_SOUND_NONBLOCK_CALLBACK, pub dlsname: CString, pub encryptionkey: CString, pub maxpolyphony: i32, pub userdata: Vec<u8>, pub suggestedsoundtype: 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: Vec<u8>, pub filebuffersize: i32, pub channelorder: Channelorder, pub channelmask: Channelmask, pub initialsoundgroup: Option<SoundGroup>, pub initialseekposition: u32, pub initialseekpostype: Timeunit, pub ignoresetfilesystem: i32, pub audioqueuepolicy: u32, pub minmidigranularity: u32, pub nonblockthreadid: i32, pub fsbguid: Option<Guid>,
}

Fields§

§length: u32§fileoffset: u32§numchannels: i32§defaultfrequency: i32§format: Format§decodebuffersize: u32§initialsubsound: i32§numsubsounds: i32§inclusionlist: Vec<i32>§pcmreadcallback: FMOD_SOUND_PCMREAD_CALLBACK§pcmsetposcallback: FMOD_SOUND_PCMSETPOS_CALLBACK§nonblockcallback: FMOD_SOUND_NONBLOCK_CALLBACK§dlsname: CString§encryptionkey: CString§maxpolyphony: i32§userdata: Vec<u8>§suggestedsoundtype: 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: Vec<u8>§filebuffersize: i32§channelorder: Channelorder§channelmask: Channelmask§initialsoundgroup: Option<SoundGroup>§initialseekposition: u32§initialseekpostype: Timeunit§ignoresetfilesystem: i32§audioqueuepolicy: u32§minmidigranularity: u32§nonblockthreadid: i32§fsbguid: Option<Guid>

Implementations§

Trait Implementations§

Source§

impl Default for Createsoundexinfo

Source§

fn default() -> Createsoundexinfo

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

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