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

Public Member Functions

auto assign_from_another (_other:&meshlib::CompressZipSettings) -> &mut meshlib::CompressZipSettings
auto exclude_files () const -> &meshlib::std_vector_std_filesystem_path
auto exclude_files_mut () -> &mut meshlib::std_vector_std_filesystem_path
void set_exclude_files (value:&meshlib::std_vector_std_filesystem_path)
auto compression_level () const -> &core::ffi::c_int
auto compression_level_mut () -> &mut core::ffi::c_int
void set_compression_level (value:core::ffi::c_int)
auto password () const -> &meshlib::std_string
auto password_mut () -> &mut meshlib::std_string
void set_password (value:&str)
auto cb () const -> &meshlib::std_function_bool_from_float
auto cb_mut () -> &mut meshlib::std_function_bool_from_float
void set_cb (value:&meshlib::std_function_bool_from_float)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::CompressZipSettings >
static auto construct_from (excludeFiles:&meshlib::std_vector_std_filesystem_path, compressionLevel:core::ffi::c_int, password:&str, cb:&meshlib::std_function_bool_from_float) -> meshlib::Owned< meshlib::CompressZipSettings >
static auto construct_from_another (_other:&meshlib::CompressZipSettings) -> meshlib::Owned< meshlib::CompressZipSettings >
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

Generated from class MR::CompressZipSettings.

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

Member Function Documentation

◆ assign_from_another()

auto meshlib::CompressZipSettings::assign_from_another ( _other:&meshlib::CompressZipSettings ) -> &mut meshlib::CompressZipSettings

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

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

◆ cb()

auto meshlib::CompressZipSettings::cb ( ) const -> &meshlib::std_function_bool_from_float

an option to get progress notifications and cancel the operation Returns a pointer to a member variable of class MR::CompressZipSettings named cb.

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

◆ cb_mut()

auto meshlib::CompressZipSettings::cb_mut ( ) -> &mut meshlib::std_function_bool_from_float

an option to get progress notifications and cancel the operation Returns a mutable pointer to a member variable of class MR::CompressZipSettings named cb.

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

◆ compression_level()

auto meshlib::CompressZipSettings::compression_level ( ) const -> &core::ffi::c_int

[0-9]: greater level means longer processing but better compression 0 is special value to use default level Returns a pointer to a member variable of class MR::CompressZipSettings named compressionLevel.

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

◆ compression_level_mut()

auto meshlib::CompressZipSettings::compression_level_mut ( ) -> &mut core::ffi::c_int

[0-9]: greater level means longer processing but better compression 0 is special value to use default level Returns a mutable pointer to a member variable of class MR::CompressZipSettings named compressionLevel.

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

◆ construct_from()

auto meshlib::CompressZipSettings::construct_from ( excludeFiles:&meshlib::std_vector_std_filesystem_path ,
compressionLevel:core::ffi::c_int ,
password:& str,
cb:&meshlib::std_function_bool_from_float  ) -> meshlib::Owned< meshlib::CompressZipSettings >
static

Constructs MR::CompressZipSettings elementwise.

Calls MR_CompressZipSettings_ConstructFrom(). The reference to the parameter excludeFiles might be preserved in the constructed object. The reference to the parameter password might be preserved in the constructed object. The reference to the parameter cb might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::CompressZipSettings::CompressZipSettings.

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

◆ exclude_files()

auto meshlib::CompressZipSettings::exclude_files ( ) const -> &meshlib::std_vector_std_filesystem_path

files that should not be included to result zip Returns a pointer to a member variable of class MR::CompressZipSettings named excludeFiles.

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

◆ exclude_files_mut()

auto meshlib::CompressZipSettings::exclude_files_mut ( ) -> &mut meshlib::std_vector_std_filesystem_path

files that should not be included to result zip Returns a mutable pointer to a member variable of class MR::CompressZipSettings named excludeFiles.

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

◆ new()

auto meshlib::CompressZipSettings::new ( ) -> meshlib::Owned< meshlib::CompressZipSettings >
static

Constructs an empty (default-constructed) instance.

Calls MR_CompressZipSettings_DefaultConstruct().

◆ password()

auto meshlib::CompressZipSettings::password ( ) const -> &meshlib::std_string

if password is given then the archive will be encrypted Returns a pointer to a member variable of class MR::CompressZipSettings named password.

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

◆ password_mut()

auto meshlib::CompressZipSettings::password_mut ( ) -> &mut meshlib::std_string

if password is given then the archive will be encrypted Returns a mutable pointer to a member variable of class MR::CompressZipSettings named password.

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

◆ set_cb()

void meshlib::CompressZipSettings::set_cb ( value:&meshlib::std_function_bool_from_float )

an option to get progress notifications and cancel the operation Modifies a member variable of class MR::CompressZipSettings named cb.

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

◆ set_compression_level()

void meshlib::CompressZipSettings::set_compression_level ( value:core::ffi::c_int )

[0-9]: greater level means longer processing but better compression 0 is special value to use default level Modifies a member variable of class MR::CompressZipSettings named compressionLevel.

Calls MR_CompressZipSettings_Set_compressionLevel().

◆ set_exclude_files()

void meshlib::CompressZipSettings::set_exclude_files ( value:&meshlib::std_vector_std_filesystem_path )

files that should not be included to result zip Modifies a member variable of class MR::CompressZipSettings named excludeFiles.

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

◆ set_password()

void meshlib::CompressZipSettings::set_password ( value:& str)

if password is given then the archive will be encrypted Modifies a member variable of class MR::CompressZipSettings named password.

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


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