MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::WeightedVertexd Struct Reference
Inheritance diagram for meshlib::WeightedVertexd:

Public Member Functions

auto assign_from_another (_other:&meshlib::WeightedVertexd) -> &mut meshlib::WeightedVertexd
auto v () const -> &meshlib::VertId
auto v_mut () -> &mut meshlib::VertId
void set_v (value:meshlib::VertId)
auto weight () const -> &f64
auto weight_mut () -> &mut f64
void set_weight (value:f64)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::WeightedVertexd >
static auto construct_from (v:meshlib::VertId, weight:f64) -> meshlib::Owned< meshlib::WeightedVertexd >
static auto construct_from_another (_other:&meshlib::WeightedVertexd) -> meshlib::Owned< meshlib::WeightedVertexd >
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::WeightedVertexd.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

auto meshlib::WeightedVertexd::construct_from ( v:meshlib::VertId ,
weight:f64  ) -> meshlib::Owned< meshlib::WeightedVertexd >
static

Constructs MR::WeightedVertexd elementwise.

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

◆ construct_from_another()

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

Generated from constructor MR::WeightedVertexd::WeightedVertexd.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_WeightedVertexd_DefaultConstruct().

◆ set_v()

void meshlib::WeightedVertexd::set_v ( value:meshlib::VertId )

Modifies a member variable of class MR::WeightedVertexd named v.

Calls MR_WeightedVertexd_Set_v(). The reference to the parameter value might be preserved in this object in element v.

◆ set_weight()

void meshlib::WeightedVertexd::set_weight ( value:f64 )

Modifies a member variable of class MR::WeightedVertexd named weight.

Calls MR_WeightedVertexd_Set_weight().

◆ v()

auto meshlib::WeightedVertexd::v ( ) const -> &meshlib::VertId

Returns a pointer to a member variable of class MR::WeightedVertexd named v.

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

◆ v_mut()

auto meshlib::WeightedVertexd::v_mut ( ) -> &mut meshlib::VertId

Returns a mutable pointer to a member variable of class MR::WeightedVertexd named v.

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

◆ weight()

auto meshlib::WeightedVertexd::weight ( ) const -> &f64

Returns a pointer to a member variable of class MR::WeightedVertexd named weight.

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

◆ weight_mut()

auto meshlib::WeightedVertexd::weight_mut ( ) -> &mut f64

Returns a mutable pointer to a member variable of class MR::WeightedVertexd named weight.

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


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