Skip to main content

IAsyncOperationMethods

Trait IAsyncOperationMethods 

Source
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§

Source

fn get_is_done(self) -> bool

get_isDone() overload

Source

fn get_progress(self) -> f32

get_progress() overload

Source

fn set_priority(self, value: impl Into<i32>)

set_priority(i32) overload

Source

fn get_allow_scene_activation(self) -> bool

get_allowSceneActivation() overload

Source

fn set_allow_scene_activation(self, value: impl Into<bool>)

set_allowSceneActivation(bool) overload

Source

fn finalize(self)

Finalize() overload

Source

fn invoke_completion_event(self)

InvokeCompletionEvent() overload

Source

fn add_completed(self, value: impl Into<Action_1<AsyncOperation>>)

add_completed(crate::system::action_1::Action_1<crate::unity_engine::asyncoperation::AsyncOperation>) overload

Source

fn remove_completed(self, value: impl Into<Action_1<AsyncOperation>>)

remove_completed(crate::system::action_1::Action_1<crate::unity_engine::asyncoperation::AsyncOperation>) overload

Source

fn ctor(self)

.ctor() 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§

Source§

impl<__T: IAsyncOperation> IAsyncOperationMethods for __T

Available on crate feature unity_engine-asyncoperation only.