MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::scene_load::Result Struct Reference
Inheritance diagram for meshlib::scene_load::Result:

Public Member Functions

auto assign_from_another (_other:&meshlib::scene_load::Result) -> &mut meshlib::scene_load::Result
auto scene () const -> &meshlib::std_shared_ptr_MR_SceneRootObject
auto scene_mut () -> &mut meshlib::std_shared_ptr_MR_SceneRootObject
void set_scene (value:&meshlib::std_shared_ptr_MR_SceneRootObject)
auto is_scene_constructed () const -> &bool
auto is_scene_constructed_mut () -> &mut bool
void set_is_scene_constructed (value:bool)
auto loaded_files () const -> &meshlib::std_vector_std_filesystem_path
auto loaded_files_mut () -> &mut meshlib::std_vector_std_filesystem_path
void set_loaded_files (value:&meshlib::std_vector_std_filesystem_path)
auto error_summary () const -> &meshlib::std_string
auto error_summary_mut () -> &mut meshlib::std_string
void set_error_summary (value:&str)
auto warning_summary () const -> &meshlib::std_string
auto warning_summary_mut () -> &mut meshlib::std_string
void set_warning_summary (value:&str)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::scene_load::Result >
static auto construct_from (scene:&meshlib::std_shared_ptr_MR_SceneRootObject, isSceneConstructed:bool, loadedFiles:&meshlib::std_vector_std_filesystem_path, errorSummary:&str, warningSummary:&str) -> meshlib::Owned< meshlib::scene_load::Result >
static auto construct_from_another (_other:&meshlib::scene_load::Result) -> meshlib::Owned< meshlib::scene_load::Result >
Static Public Member Functions inherited from meshlib::CppClass
static void destroy (ptr:*mut Self)
Static Public Member Functions inherited from meshlib::CppCopy
static auto copy (ptr:*const Self) -> *mut Self

Detailed Description

Scene loading result Generated from class MR::SceneLoad::Result.

Generated from class MR::SceneLoad::Result. Heap-allocated instances are held in Owned<Result>.

Member Function Documentation

◆ assign_from_another()

auto meshlib::scene_load::Result::assign_from_another ( _other:&meshlib::scene_load::Result ) -> &mut meshlib::scene_load::Result

Generated from method MR::SceneLoad::Result::operator=.

Calls MR_SceneLoad_Result_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.

◆ construct_from()

auto meshlib::scene_load::Result::construct_from ( scene:&meshlib::std_shared_ptr_MR_SceneRootObject ,
isSceneConstructed:bool ,
loadedFiles:&meshlib::std_vector_std_filesystem_path ,
errorSummary:& str,
warningSummary:& str ) -> meshlib::Owned< meshlib::scene_load::Result >
static

Constructs MR::SceneLoad::Result elementwise.

Calls MR_SceneLoad_Result_ConstructFrom(). The reference to the parameter scene might be preserved in the constructed object. The reference to the parameter loadedFiles might be preserved in the constructed object. The reference to the parameter errorSummary might be preserved in the constructed object. The reference to the parameter warningSummary might be preserved in the constructed object.

◆ construct_from_another()

auto meshlib::scene_load::Result::construct_from_another ( _other:&meshlib::scene_load::Result ) -> meshlib::Owned< meshlib::scene_load::Result >
static

Generated from constructor MR::SceneLoad::Result::Result.

Calls MR_SceneLoad_Result_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

◆ error_summary()

auto meshlib::scene_load::Result::error_summary ( ) const -> &meshlib::std_string

Error summary text TODO: user-defined error format Returns a pointer to a member variable of class MR::SceneLoad::Result named errorSummary.

Calls MR_SceneLoad_Result_Get_errorSummary(). The reference to this object might be preserved as the return value.

◆ error_summary_mut()

auto meshlib::scene_load::Result::error_summary_mut ( ) -> &mut meshlib::std_string

Error summary text TODO: user-defined error format Returns a mutable pointer to a member variable of class MR::SceneLoad::Result named errorSummary.

Calls MR_SceneLoad_Result_GetMutable_errorSummary(). The reference to this object might be preserved as the return value.

◆ is_scene_constructed()

auto meshlib::scene_load::Result::is_scene_constructed ( ) const -> &bool

Marks whether the scene was loaded from a single file (false) or was built from scratch (true) Returns a pointer to a member variable of class MR::SceneLoad::Result named isSceneConstructed.

Calls MR_SceneLoad_Result_Get_isSceneConstructed(). The reference to this object might be preserved as the return value.

◆ is_scene_constructed_mut()

auto meshlib::scene_load::Result::is_scene_constructed_mut ( ) -> &mut bool

Marks whether the scene was loaded from a single file (false) or was built from scratch (true) Returns a mutable pointer to a member variable of class MR::SceneLoad::Result named isSceneConstructed.

Calls MR_SceneLoad_Result_GetMutable_isSceneConstructed(). The reference to this object might be preserved as the return value.

◆ loaded_files()

auto meshlib::scene_load::Result::loaded_files ( ) const -> &meshlib::std_vector_std_filesystem_path

List of successfully loaded files Returns a pointer to a member variable of class MR::SceneLoad::Result named loadedFiles.

Calls MR_SceneLoad_Result_Get_loadedFiles(). The reference to this object might be preserved as the return value.

◆ loaded_files_mut()

auto meshlib::scene_load::Result::loaded_files_mut ( ) -> &mut meshlib::std_vector_std_filesystem_path

List of successfully loaded files Returns a mutable pointer to a member variable of class MR::SceneLoad::Result named loadedFiles.

Calls MR_SceneLoad_Result_GetMutable_loadedFiles(). The reference to this object might be preserved as the return value.

◆ new()

auto meshlib::scene_load::Result::new ( ) -> meshlib::Owned< meshlib::scene_load::Result >
static

Constructs an empty (default-constructed) instance.

Calls MR_SceneLoad_Result_DefaultConstruct().

◆ scene()

auto meshlib::scene_load::Result::scene ( ) const -> &meshlib::std_shared_ptr_MR_SceneRootObject

The loaded scene or empty object Returns a pointer to a member variable of class MR::SceneLoad::Result named scene.

Calls MR_SceneLoad_Result_Get_scene(). The reference to this object might be preserved as the return value.

◆ scene_mut()

auto meshlib::scene_load::Result::scene_mut ( ) -> &mut meshlib::std_shared_ptr_MR_SceneRootObject

The loaded scene or empty object Returns a mutable pointer to a member variable of class MR::SceneLoad::Result named scene.

Calls MR_SceneLoad_Result_GetMutable_scene(). The reference to this object might be preserved as the return value.

◆ set_error_summary()

void meshlib::scene_load::Result::set_error_summary ( value:& str)

Error summary text TODO: user-defined error format Modifies a member variable of class MR::SceneLoad::Result named errorSummary.

Calls MR_SceneLoad_Result_Set_errorSummary(). The reference to the parameter value might be preserved in this object in element errorSummary.

◆ set_is_scene_constructed()

void meshlib::scene_load::Result::set_is_scene_constructed ( value:bool )

Marks whether the scene was loaded from a single file (false) or was built from scratch (true) Modifies a member variable of class MR::SceneLoad::Result named isSceneConstructed.

Calls MR_SceneLoad_Result_Set_isSceneConstructed().

◆ set_loaded_files()

void meshlib::scene_load::Result::set_loaded_files ( value:&meshlib::std_vector_std_filesystem_path )

List of successfully loaded files Modifies a member variable of class MR::SceneLoad::Result named loadedFiles.

Calls MR_SceneLoad_Result_Set_loadedFiles(). The reference to the parameter value might be preserved in this object in element loadedFiles.

◆ set_scene()

void meshlib::scene_load::Result::set_scene ( value:&meshlib::std_shared_ptr_MR_SceneRootObject )

The loaded scene or empty object Modifies a member variable of class MR::SceneLoad::Result named scene.

Calls MR_SceneLoad_Result_Set_scene(). The reference to the parameter value might be preserved in this object in element scene.

◆ set_warning_summary()

void meshlib::scene_load::Result::set_warning_summary ( value:& str)

Warning summary text TODO: user-defined warning format Modifies a member variable of class MR::SceneLoad::Result named warningSummary.

Calls MR_SceneLoad_Result_Set_warningSummary(). The reference to the parameter value might be preserved in this object in element warningSummary.

◆ warning_summary()

auto meshlib::scene_load::Result::warning_summary ( ) const -> &meshlib::std_string

Warning summary text TODO: user-defined warning format Returns a pointer to a member variable of class MR::SceneLoad::Result named warningSummary.

Calls MR_SceneLoad_Result_Get_warningSummary(). The reference to this object might be preserved as the return value.

◆ warning_summary_mut()

auto meshlib::scene_load::Result::warning_summary_mut ( ) -> &mut meshlib::std_string

Warning summary text TODO: user-defined warning format Returns a mutable pointer to a member variable of class MR::SceneLoad::Result named warningSummary.

Calls MR_SceneLoad_Result_GetMutable_warningSummary(). The reference to this object might be preserved as the return value.


The documentation for this struct was generated from the following file: