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

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

Detailed Description

Generated from class MR::VertDistance.

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

Member Function Documentation

◆ assign_from_another()

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.

◆ construct()

auto meshlib::VertDistance::construct ( v:meshlib::VertId ,
d:f32  ) -> meshlib::Owned< meshlib::VertDistance >
static

Generated from constructor MR::VertDistance::VertDistance.

Calls MR_VertDistance_Construct(). The reference to the parameter v might be preserved in the constructed object.

◆ construct_from_another()

auto meshlib::VertDistance::construct_from_another ( _other:&meshlib::VertDistance ) -> meshlib::Owned< meshlib::VertDistance >
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.

◆ distance()

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.

◆ distance_mut()

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.

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_VertDistance_DefaultConstruct().

◆ set_distance()

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().

◆ set_vert()

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.

◆ 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.

◆ vert_mut()

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.


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