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

Public Member Functions

auto assign_from_another (_other:&meshlib::LinesLoadSettings) -> &mut meshlib::LinesLoadSettings
auto colors () const -> *const *mut meshlib::ffi::MR_VertColors
auto colors_mut () -> *mut *mut meshlib::ffi::MR_VertColors
void set_colors (value:Option<&mut meshlib::VertColors >)
auto callback () const -> &meshlib::std_function_bool_from_float
auto callback_mut () -> &mut meshlib::std_function_bool_from_float
void set_callback (value:&meshlib::std_function_bool_from_float)
auto telemetry_signal () const -> &bool
auto telemetry_signal_mut () -> &mut bool
void set_telemetry_signal (value:bool)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::LinesLoadSettings >
static auto construct_from (colors:Option<&mut meshlib::VertColors >, callback:&meshlib::std_function_bool_from_float, telemetrySignal:bool) -> meshlib::Owned< meshlib::LinesLoadSettings >
static auto construct_from_another (_other:&meshlib::LinesLoadSettings) -> meshlib::Owned< meshlib::LinesLoadSettings >
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

setting for polyline loading from external format, and locations of optional output data Generated from class MR::LinesLoadSettings.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ callback()

auto meshlib::LinesLoadSettings::callback ( ) const -> &meshlib::std_function_bool_from_float

< callback for set progress and stop process Returns a pointer to a member variable of class MR::LinesLoadSettings named callback.

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

◆ callback_mut()

auto meshlib::LinesLoadSettings::callback_mut ( ) -> &mut meshlib::std_function_bool_from_float

< callback for set progress and stop process Returns a mutable pointer to a member variable of class MR::LinesLoadSettings named callback.

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

◆ colors()

auto meshlib::LinesLoadSettings::colors ( ) const -> *const *mut meshlib::ffi::MR_VertColors

< optional load artifact: per-vertex color map Returns a pointer to a member variable of class MR::LinesLoadSettings named colors.

Calls MR_LinesLoadSettings_Get_colors(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ colors_mut()

auto meshlib::LinesLoadSettings::colors_mut ( ) -> *mut *mut meshlib::ffi::MR_VertColors

< optional load artifact: per-vertex color map Returns a mutable pointer to a member variable of class MR::LinesLoadSettings named colors.

Calls MR_LinesLoadSettings_GetMutable_colors(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ construct_from()

auto meshlib::LinesLoadSettings::construct_from ( colors:Option<&mut meshlib::VertColors > ,
callback:&meshlib::std_function_bool_from_float ,
telemetrySignal:bool  ) -> meshlib::Owned< meshlib::LinesLoadSettings >
static

Constructs MR::LinesLoadSettings elementwise.

Calls MR_LinesLoadSettings_ConstructFrom(). The reference to the parameter colors might be preserved in the constructed object. The reference to the parameter callback might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::LinesLoadSettings::LinesLoadSettings.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_LinesLoadSettings_DefaultConstruct().

◆ set_callback()

void meshlib::LinesLoadSettings::set_callback ( value:&meshlib::std_function_bool_from_float )

< callback for set progress and stop process Modifies a member variable of class MR::LinesLoadSettings named callback.

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

◆ set_colors()

void meshlib::LinesLoadSettings::set_colors ( value:Option<&mut meshlib::VertColors > )

< optional load artifact: per-vertex color map Modifies a member variable of class MR::LinesLoadSettings named colors.

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

◆ set_telemetry_signal()

void meshlib::LinesLoadSettings::set_telemetry_signal ( value:bool )

< permit telemetry signal about loading Modifies a member variable of class MR::LinesLoadSettings named telemetrySignal.

Calls MR_LinesLoadSettings_Set_telemetrySignal().

◆ telemetry_signal()

auto meshlib::LinesLoadSettings::telemetry_signal ( ) const -> &bool

< permit telemetry signal about loading Returns a pointer to a member variable of class MR::LinesLoadSettings named telemetrySignal.

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

◆ telemetry_signal_mut()

auto meshlib::LinesLoadSettings::telemetry_signal_mut ( ) -> &mut bool

< permit telemetry signal about loading Returns a mutable pointer to a member variable of class MR::LinesLoadSettings named telemetrySignal.

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


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