Enum libfmod::LoadingState
source · [−]pub enum LoadingState {
Unloading,
Unloaded,
Loading,
Loaded,
Error,
}
Variants
Unloading
Unloaded
Loading
Loaded
Error
Implementations
sourceimpl LoadingState
impl LoadingState
pub fn from(value: FMOD_STUDIO_LOADING_STATE) -> Result<LoadingState, Error>
Trait Implementations
sourceimpl Clone for LoadingState
impl Clone for LoadingState
sourcefn clone(&self) -> LoadingState
fn clone(&self) -> LoadingState
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 LoadingState
impl Debug for LoadingState
sourceimpl From<LoadingState> for FMOD_STUDIO_LOADING_STATE
impl From<LoadingState> for FMOD_STUDIO_LOADING_STATE
sourcefn from(value: LoadingState) -> FMOD_STUDIO_LOADING_STATE
fn from(value: LoadingState) -> FMOD_STUDIO_LOADING_STATE
Performs the conversion.
sourceimpl PartialEq<LoadingState> for LoadingState
impl PartialEq<LoadingState> for LoadingState
impl Copy for LoadingState
impl StructuralPartialEq for LoadingState
Auto Trait Implementations
impl RefUnwindSafe for LoadingState
impl Send for LoadingState
impl Sync for LoadingState
impl Unpin for LoadingState
impl UnwindSafe for LoadingState
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