Struct libfmod::CodecDescription
source · [−]pub struct CodecDescription {Show 13 fields
pub apiversion: u32,
pub name: String,
pub version: u32,
pub defaultasstream: i32,
pub timeunits: FMOD_TIMEUNIT,
pub open: FMOD_CODEC_OPEN_CALLBACK,
pub close: FMOD_CODEC_CLOSE_CALLBACK,
pub read: FMOD_CODEC_READ_CALLBACK,
pub getlength: FMOD_CODEC_GETLENGTH_CALLBACK,
pub setposition: FMOD_CODEC_SETPOSITION_CALLBACK,
pub getposition: FMOD_CODEC_GETPOSITION_CALLBACK,
pub soundcreate: FMOD_CODEC_SOUNDCREATE_CALLBACK,
pub getwaveformat: FMOD_CODEC_GETWAVEFORMAT_CALLBACK,
}
Fields
apiversion: u32
name: String
version: u32
defaultasstream: i32
timeunits: FMOD_TIMEUNIT
open: FMOD_CODEC_OPEN_CALLBACK
close: FMOD_CODEC_CLOSE_CALLBACK
read: FMOD_CODEC_READ_CALLBACK
getlength: FMOD_CODEC_GETLENGTH_CALLBACK
setposition: FMOD_CODEC_SETPOSITION_CALLBACK
getposition: FMOD_CODEC_GETPOSITION_CALLBACK
soundcreate: FMOD_CODEC_SOUNDCREATE_CALLBACK
getwaveformat: FMOD_CODEC_GETWAVEFORMAT_CALLBACK
Trait Implementations
sourceimpl Clone for CodecDescription
impl Clone for CodecDescription
sourcefn clone(&self) -> CodecDescription
fn clone(&self) -> CodecDescription
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CodecDescription
impl Debug for CodecDescription
sourceimpl Into<FMOD_CODEC_DESCRIPTION> for CodecDescription
impl Into<FMOD_CODEC_DESCRIPTION> for CodecDescription
sourcefn into(self) -> FMOD_CODEC_DESCRIPTION
fn into(self) -> FMOD_CODEC_DESCRIPTION
Converts this type into the (usually inferred) input type.
Auto Trait Implementations
impl RefUnwindSafe for CodecDescription
impl Send for CodecDescription
impl Sync for CodecDescription
impl Unpin for CodecDescription
impl UnwindSafe for CodecDescription
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more