Struct libfmod::OutputState
source · [−]pub struct OutputState {
pub plugindata: *mut c_void,
pub readfrommixer: FMOD_OUTPUT_READFROMMIXER_FUNC,
pub alloc: FMOD_OUTPUT_ALLOC_FUNC,
pub free: FMOD_OUTPUT_FREE_FUNC,
pub log: FMOD_OUTPUT_LOG_FUNC,
pub copyport: FMOD_OUTPUT_COPYPORT_FUNC,
pub requestreset: FMOD_OUTPUT_REQUESTRESET_FUNC,
}
Fields
plugindata: *mut c_void
readfrommixer: FMOD_OUTPUT_READFROMMIXER_FUNC
alloc: FMOD_OUTPUT_ALLOC_FUNC
free: FMOD_OUTPUT_FREE_FUNC
log: FMOD_OUTPUT_LOG_FUNC
copyport: FMOD_OUTPUT_COPYPORT_FUNC
requestreset: FMOD_OUTPUT_REQUESTRESET_FUNC
Implementations
sourceimpl OutputState
impl OutputState
pub fn from(value: FMOD_OUTPUT_STATE) -> Result<OutputState, Error>
pub fn into(self) -> FMOD_OUTPUT_STATE
Trait Implementations
sourceimpl Clone for OutputState
impl Clone for OutputState
sourcefn clone(&self) -> OutputState
fn clone(&self) -> OutputState
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
Auto Trait Implementations
impl RefUnwindSafe for OutputState
impl !Send for OutputState
impl !Sync for OutputState
impl Unpin for OutputState
impl UnwindSafe for OutputState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more