#[repr(u32)]pub enum OpenState {
Ready = 0,
Loading = 1,
Error(Error),
Connecting = 3,
Buffering = 4,
Seeking = 5,
Playing = 6,
SetPosition = 7,
}Variants§
Ready = 0
Loading = 1
Error(Error)
Connecting = 3
Buffering = 4
Seeking = 5
Playing = 6
SetPosition = 7
Implementations§
source§impl OpenState
impl OpenState
pub fn try_from_ffi(value: FMOD_OPENSTATE, error: Option<Error>) -> Result<Self>
Trait Implementations§
source§impl PartialEq for OpenState
impl PartialEq for OpenState
impl Eq for OpenState
impl StructuralPartialEq for OpenState
Auto Trait Implementations§
impl Freeze for OpenState
impl RefUnwindSafe for OpenState
impl Send for OpenState
impl Sync for OpenState
impl Unpin for OpenState
impl UnwindSafe for OpenState
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