pub enum DebugMode {
TTY,
File(Utf8CString),
Callback(unsafe extern "C" fn(FMOD_DEBUG_FLAGS, *const c_char, c_int, *const c_char, *const c_char) -> FMOD_RESULT),
}
Expand description
Specify the destination of log output when using the logging version of FMOD.
Variants§
TTY
Default log location per platform, i.e. Visual Studio output window, stderr, LogCat
, etc.
File(Utf8CString)
Write log to specified file path.
Callback(unsafe extern "C" fn(FMOD_DEBUG_FLAGS, *const c_char, c_int, *const c_char, *const c_char) -> FMOD_RESULT)
Call specified callback with log information.
Trait Implementations§
impl Eq for DebugMode
impl StructuralPartialEq for DebugMode
Auto Trait Implementations§
impl Freeze for DebugMode
impl RefUnwindSafe for DebugMode
impl Send for DebugMode
impl Sync for DebugMode
impl Unpin for DebugMode
impl UnwindSafe for DebugMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more