MeshLib Rust Docs
Loading...
Searching...
No Matches
Inheritance diagram for meshlib::NumSum:

Public Member Functions

auto assign_from_another (_other:&meshlib::NumSum) -> &mut meshlib::NumSum
auto root_mean_sq_f () const -> f32
auto num () const -> &core::ffi::c_int
auto num_mut () -> &mut core::ffi::c_int
void set_num (value:core::ffi::c_int)
auto sum () const -> &f64
auto sum_mut () -> &mut f64
void set_sum (value:f64)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::NumSum >
static auto construct_from (num:core::ffi::c_int, sum:f64) -> meshlib::Owned< meshlib::NumSum >
static auto construct_from_another (_other:&meshlib::NumSum) -> meshlib::Owned< meshlib::NumSum >
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::NumSum.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

auto meshlib::NumSum::construct_from ( num:core::ffi::c_int ,
sum:f64  ) -> meshlib::Owned< meshlib::NumSum >
static

Constructs MR::NumSum elementwise.

Calls MR_NumSum_ConstructFrom().

◆ construct_from_another()

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

Generated from constructor MR::NumSum::NumSum.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_NumSum_DefaultConstruct().

◆ num()

auto meshlib::NumSum::num ( ) const -> &core::ffi::c_int

Returns a pointer to a member variable of class MR::NumSum named num.

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

◆ num_mut()

auto meshlib::NumSum::num_mut ( ) -> &mut core::ffi::c_int

Returns a mutable pointer to a member variable of class MR::NumSum named num.

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

◆ root_mean_sq_f()

auto meshlib::NumSum::root_mean_sq_f ( ) const -> f32

Generated from method MR::NumSum::rootMeanSqF.

Calls MR_NumSum_rootMeanSqF().

◆ set_num()

void meshlib::NumSum::set_num ( value:core::ffi::c_int )

Modifies a member variable of class MR::NumSum named num.

Calls MR_NumSum_Set_num().

◆ set_sum()

void meshlib::NumSum::set_sum ( value:f64 )

Modifies a member variable of class MR::NumSum named sum.

Calls MR_NumSum_Set_sum().

◆ sum()

auto meshlib::NumSum::sum ( ) const -> &f64

Returns a pointer to a member variable of class MR::NumSum named sum.

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

◆ sum_mut()

auto meshlib::NumSum::sum_mut ( ) -> &mut f64

Returns a mutable pointer to a member variable of class MR::NumSum named sum.

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


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