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

Public Member Functions

auto convert_to_bool () const -> bool
auto convert_to_const_std_filesystem_path_ref () const -> &meshlib::std_filesystem_path
auto assign_from_another (_other:meshlib::Owned< meshlib::UniqueTemporaryFolder >) -> &mut meshlib::UniqueTemporaryFolder
auto op_div_std_filesystem_path (child:&str) const -> meshlib::Owned< meshlib::std_filesystem_path >

Static Public Member Functions

static auto construct (onPreTempFolderDelete:Option<&meshlib::std_function_void_from_const_std_filesystem_path_ref >) -> meshlib::Owned< meshlib::UniqueTemporaryFolder >
static auto construct_from_another (_other:meshlib::Owned< meshlib::UniqueTemporaryFolder >) -> meshlib::Owned< meshlib::UniqueTemporaryFolder >
Static Public Member Functions inherited from meshlib::CppClass
static void destroy (ptr:*mut Self)

Detailed Description

helper class to create a temporary folder; the folder will be removed on the object's destruction Generated from class MR::UniqueTemporaryFolder.

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

Member Function Documentation

◆ assign_from_another()

auto meshlib::UniqueTemporaryFolder::assign_from_another ( _other:meshlib::Owned< meshlib::UniqueTemporaryFolder > ) -> &mut meshlib::UniqueTemporaryFolder

Generated from method MR::UniqueTemporaryFolder::operator=.

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

◆ construct()

auto meshlib::UniqueTemporaryFolder::construct ( onPreTempFolderDelete:Option<&meshlib::std_function_void_from_const_std_filesystem_path_ref > ) -> meshlib::Owned< meshlib::UniqueTemporaryFolder >
static

creates new folder in temp directory Generated from constructor MR::UniqueTemporaryFolder::UniqueTemporaryFolder.

Calls MR_UniqueTemporaryFolder_Construct(). The reference to the parameter onPreTempFolderDelete might be preserved in the constructed object.

◆ construct_from_another()

auto meshlib::UniqueTemporaryFolder::construct_from_another ( _other:meshlib::Owned< meshlib::UniqueTemporaryFolder > ) -> meshlib::Owned< meshlib::UniqueTemporaryFolder >
static

Generated from constructor MR::UniqueTemporaryFolder::UniqueTemporaryFolder.

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

◆ convert_to_bool()

auto meshlib::UniqueTemporaryFolder::convert_to_bool ( ) const -> bool

Generated from conversion operator MR::UniqueTemporaryFolder::operator bool.

Calls MR_UniqueTemporaryFolder_ConvertTo_bool().

◆ convert_to_const_std_filesystem_path_ref()

auto meshlib::UniqueTemporaryFolder::convert_to_const_std_filesystem_path_ref ( ) const -> &meshlib::std_filesystem_path

Generated from conversion operator MR::UniqueTemporaryFolder::operator const std::filesystem::path &.

Calls MR_UniqueTemporaryFolder_ConvertTo_const_std_filesystem_path_ref().

◆ op_div_std_filesystem_path()

auto meshlib::UniqueTemporaryFolder::op_div_std_filesystem_path ( child:& str) const -> meshlib::Owned< meshlib::std_filesystem_path >

Generated from method MR::UniqueTemporaryFolder::operator/.

Calls MR_div_MR_UniqueTemporaryFolder_std_filesystem_path().


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