Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::VertDistance) -> &mut meshlib::VertDistance |
| auto | vert () const -> &meshlib::VertId |
| auto | vert_mut () -> &mut meshlib::VertId |
| void | set_vert (value:meshlib::VertId) |
| auto | distance () const -> &f32 |
| auto | distance_mut () -> &mut f32 |
| void | set_distance (value:f32) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::VertDistance > |
| static auto | construct_from_another (_other:&meshlib::VertDistance) -> meshlib::Owned< meshlib::VertDistance > |
| static auto | construct (v:meshlib::VertId, d:f32) -> meshlib::Owned< meshlib::VertDistance > |
| 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::VertDistance.
Generated from class MR::VertDistance. Heap-allocated instances are held in Owned<VertDistance>.
| auto meshlib::VertDistance::assign_from_another | ( | _other:&meshlib::VertDistance | ) | -> &mut meshlib::VertDistance |
Generated from method MR::VertDistance::operator=.
Calls MR_VertDistance_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Generated from constructor MR::VertDistance::VertDistance.
Calls MR_VertDistance_Construct(). The reference to the parameter v might be preserved in the constructed object.
|
static |
Generated from constructor MR::VertDistance::VertDistance.
Calls MR_VertDistance_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::VertDistance::distance | ( | ) | const -> &f32 |
best known distance to reach this vertex Returns a pointer to a member variable of class MR::VertDistance named distance.
Calls MR_VertDistance_Get_distance(). The reference to this object might be preserved as the return value.
| auto meshlib::VertDistance::distance_mut | ( | ) | -> &mut f32 |
best known distance to reach this vertex Returns a mutable pointer to a member variable of class MR::VertDistance named distance.
Calls MR_VertDistance_GetMutable_distance(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_VertDistance_DefaultConstruct().
| void meshlib::VertDistance::set_distance | ( | value:f32 | ) |
best known distance to reach this vertex Modifies a member variable of class MR::VertDistance named distance.
Calls MR_VertDistance_Set_distance().
| void meshlib::VertDistance::set_vert | ( | value:meshlib::VertId | ) |
vertex in question Modifies a member variable of class MR::VertDistance named vert.
Calls MR_VertDistance_Set_vert(). The reference to the parameter value might be preserved in this object in element vert.
| auto meshlib::VertDistance::vert | ( | ) | const -> &meshlib::VertId |
vertex in question Returns a pointer to a member variable of class MR::VertDistance named vert.
Calls MR_VertDistance_Get_vert(). The reference to this object might be preserved as the return value.
| auto meshlib::VertDistance::vert_mut | ( | ) | -> &mut meshlib::VertId |
vertex in question Returns a mutable pointer to a member variable of class MR::VertDistance named vert.
Calls MR_VertDistance_GetMutable_vert(). The reference to this object might be preserved as the return value.