pub struct AsyncCancelInfo { /* private fields */ }
Expand description
Information about cancelling a asynchronous file operation.
Implementations§
Source§impl AsyncCancelInfo
impl AsyncCancelInfo
Sourcepub fn handle(&self) -> *mut c_void
pub fn handle(&self) -> *mut c_void
File handle that was returned in FileSystem::open
.
Sourcepub fn priority(&self) -> c_int
pub fn priority(&self) -> c_int
Priority hint for how quickly this operation should be serviced where 0 represents low importance and 100 represents extreme importance. This could be used to prioritize the read order of a file job queue for example. FMOD decides the importance of the read based on if it could degrade audio or not.
Sourcepub fn userdata(&self) -> *mut c_void
pub fn userdata(&self) -> *mut c_void
User value associated with this async operation, passed to FileSystemAsync::cancel
.
Sourcepub fn raw(&self) -> *mut FMOD_ASYNCREADINFO
pub fn raw(&self) -> *mut FMOD_ASYNCREADINFO
Get the raw pointer associated with this AsyncCancelInfo
.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AsyncCancelInfo
impl RefUnwindSafe for AsyncCancelInfo
impl !Send for AsyncCancelInfo
impl !Sync for AsyncCancelInfo
impl Unpin for AsyncCancelInfo
impl UnwindSafe for AsyncCancelInfo
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