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 |
Generated from class MR::NumSum.
Generated from class MR::NumSum. Heap-allocated instances are held in Owned<NumSum>.
| 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.
|
static |
Constructs MR::NumSum elementwise.
Calls MR_NumSum_ConstructFrom().
|
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.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_NumSum_DefaultConstruct().
| 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.
| 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.
| auto meshlib::NumSum::root_mean_sq_f | ( | ) | const -> f32 |
Generated from method MR::NumSum::rootMeanSqF.
Calls MR_NumSum_rootMeanSqF().
| 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().
| void meshlib::NumSum::set_sum | ( | value:f64 | ) |
Modifies a member variable of class MR::NumSum named sum.
Calls MR_NumSum_Set_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.
| 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.