pub trait IAsyncOperationMethods: IAsyncOperation {
// Provided methods
fn get_is_done(self) -> bool { ... }
fn get_progress(self) -> f32 { ... }
fn set_priority(self, value: impl Into<i32>) { ... }
fn get_allow_scene_activation(self) -> bool { ... }
fn set_allow_scene_activation(self, value: impl Into<bool>) { ... }
fn finalize(self) { ... }
fn invoke_completion_event(self) { ... }
fn add_completed(self, value: impl Into<Action_1<AsyncOperation>>) { ... }
fn remove_completed(self, value: impl Into<Action_1<AsyncOperation>>) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn get_is_done(self) -> bool
fn get_is_done(self) -> bool
get_isDone() overload
Sourcefn get_progress(self) -> f32
fn get_progress(self) -> f32
get_progress() overload
Sourcefn set_priority(self, value: impl Into<i32>)
fn set_priority(self, value: impl Into<i32>)
set_priority(i32) overload
Sourcefn get_allow_scene_activation(self) -> bool
fn get_allow_scene_activation(self) -> bool
get_allowSceneActivation() overload
Sourcefn set_allow_scene_activation(self, value: impl Into<bool>)
fn set_allow_scene_activation(self, value: impl Into<bool>)
set_allowSceneActivation(bool) overload
Sourcefn invoke_completion_event(self)
fn invoke_completion_event(self)
InvokeCompletionEvent() overload
Sourcefn add_completed(self, value: impl Into<Action_1<AsyncOperation>>)
fn add_completed(self, value: impl Into<Action_1<AsyncOperation>>)
add_completed(crate::system::action_1::Action_1<crate::unity_engine::asyncoperation::AsyncOperation>) overload
Sourcefn remove_completed(self, value: impl Into<Action_1<AsyncOperation>>)
fn remove_completed(self, value: impl Into<Action_1<AsyncOperation>>)
remove_completed(crate::system::action_1::Action_1<crate::unity_engine::asyncoperation::AsyncOperation>) overload
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<__T: IAsyncOperation> IAsyncOperationMethods for __T
Available on crate feature
unity_engine-asyncoperation only.