pub trait IHubPlayCameraMethods: IHubPlayCamera {
// Provided methods
fn get_data(self) -> HubDemoData { ... }
fn get_camera_handle(self) -> ResourceHandle_2 { ... }
fn set_camera_handle(self, value: impl Into<ResourceHandle_2>) { ... }
fn get_player(self) -> HubPlayerController { ... }
fn ctor(self, data: impl Into<HubDemoData>) { ... }
fn init(self) { ... }
fn is_loading(self) -> bool { ... }
fn main(self) -> IEnumerator { ... }
fn exit(self) { ... }
fn open_message(self) { ... }
fn open_tutorial(self) { ... }
fn end(self) { ... }
}Provided Methods§
Sourcefn get_data(self) -> HubDemoData
fn get_data(self) -> HubDemoData
get_Data() overload
Sourcefn get_camera_handle(self) -> ResourceHandle_2
fn get_camera_handle(self) -> ResourceHandle_2
get_CameraHandle() overload
Sourcefn set_camera_handle(self, value: impl Into<ResourceHandle_2>)
fn set_camera_handle(self, value: impl Into<ResourceHandle_2>)
set_CameraHandle(crate::app::resourcehandle_2::ResourceHandle_2) overload
Sourcefn get_player(self) -> HubPlayerController
fn get_player(self) -> HubPlayerController
get_Player() overload
Sourcefn ctor(self, data: impl Into<HubDemoData>)
fn ctor(self, data: impl Into<HubDemoData>)
.ctor(crate::app::hubdemodata::HubDemoData) overload
Sourcefn is_loading(self) -> bool
fn is_loading(self) -> bool
IsLoading() overload
Sourcefn main(self) -> IEnumerator
fn main(self) -> IEnumerator
Main() overload
Sourcefn open_message(self)
fn open_message(self)
OpenMessage() overload
Sourcefn open_tutorial(self)
fn open_tutorial(self)
OpenTutorial() 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: IHubPlayCamera> IHubPlayCameraMethods for __T
Available on crate feature
app-hubplaycamera only.