Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::WeightedVertex) -> &mut meshlib::WeightedVertex |
| auto | v () const -> &meshlib::VertId |
| auto | v_mut () -> &mut meshlib::VertId |
| void | set_v (value:meshlib::VertId) |
| auto | weight () const -> &f32 |
| auto | weight_mut () -> &mut f32 |
| void | set_weight (value:f32) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::WeightedVertex > |
| static auto | construct_from (v:meshlib::VertId, weight:f32) -> meshlib::Owned< meshlib::WeightedVertex > |
| static auto | construct_from_another (_other:&meshlib::WeightedVertex) -> meshlib::Owned< meshlib::WeightedVertex > |
| 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::WeightedVertex.
Generated from class MR::WeightedVertex. Heap-allocated instances are held in Owned<WeightedVertex>.
| auto meshlib::WeightedVertex::assign_from_another | ( | _other:&meshlib::WeightedVertex | ) | -> &mut meshlib::WeightedVertex |
Generated from method MR::WeightedVertex::operator=.
Calls MR_WeightedVertex_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Constructs MR::WeightedVertex elementwise.
Calls MR_WeightedVertex_ConstructFrom(). The reference to the parameter v might be preserved in the constructed object.
|
static |
Generated from constructor MR::WeightedVertex::WeightedVertex.
Calls MR_WeightedVertex_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_WeightedVertex_DefaultConstruct().
| void meshlib::WeightedVertex::set_v | ( | value:meshlib::VertId | ) |
Modifies a member variable of class MR::WeightedVertex named v.
Calls MR_WeightedVertex_Set_v(). The reference to the parameter value might be preserved in this object in element v.
| void meshlib::WeightedVertex::set_weight | ( | value:f32 | ) |
Modifies a member variable of class MR::WeightedVertex named weight.
Calls MR_WeightedVertex_Set_weight().
| auto meshlib::WeightedVertex::v | ( | ) | const -> &meshlib::VertId |
Returns a pointer to a member variable of class MR::WeightedVertex named v.
Calls MR_WeightedVertex_Get_v(). The reference to this object might be preserved as the return value.
| auto meshlib::WeightedVertex::v_mut | ( | ) | -> &mut meshlib::VertId |
Returns a mutable pointer to a member variable of class MR::WeightedVertex named v.
Calls MR_WeightedVertex_GetMutable_v(). The reference to this object might be preserved as the return value.
| auto meshlib::WeightedVertex::weight | ( | ) | const -> &f32 |
Returns a pointer to a member variable of class MR::WeightedVertex named weight.
Calls MR_WeightedVertex_Get_weight(). The reference to this object might be preserved as the return value.
| auto meshlib::WeightedVertex::weight_mut | ( | ) | -> &mut f32 |
Returns a mutable pointer to a member variable of class MR::WeightedVertex named weight.
Calls MR_WeightedVertex_GetMutable_weight(). The reference to this object might be preserved as the return value.