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

Public Member Functions

auto assign_from_another (_other:&meshlib::PreciseVertCoord) -> &mut meshlib::PreciseVertCoord
auto id () const -> &meshlib::VertId
auto id_mut () -> &mut meshlib::VertId
void set_id (value:meshlib::VertId)
auto pt () const -> &core::ffi::c_int
auto pt_mut () -> &mut core::ffi::c_int
void set_pt (value:core::ffi::c_int)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::PreciseVertCoord >
static auto construct_from (id:meshlib::VertId, pt:core::ffi::c_int) -> meshlib::Owned< meshlib::PreciseVertCoord >
static auto construct_from_another (_other:&meshlib::PreciseVertCoord) -> meshlib::Owned< meshlib::PreciseVertCoord >
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::PreciseVertCoord.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

auto meshlib::PreciseVertCoord::construct_from ( id:meshlib::VertId ,
pt:core::ffi::c_int  ) -> meshlib::Owned< meshlib::PreciseVertCoord >
static

Constructs MR::PreciseVertCoord elementwise.

Calls MR_PreciseVertCoord_ConstructFrom(). The reference to the parameter id might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::PreciseVertCoord::PreciseVertCoord.

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

◆ id()

auto meshlib::PreciseVertCoord::id ( ) const -> &meshlib::VertId

< unique id of the vertex (in both contours) Returns a pointer to a member variable of class MR::PreciseVertCoord named id.

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

◆ id_mut()

auto meshlib::PreciseVertCoord::id_mut ( ) -> &mut meshlib::VertId

< unique id of the vertex (in both contours) Returns a mutable pointer to a member variable of class MR::PreciseVertCoord named id.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_PreciseVertCoord_DefaultConstruct().

◆ pt()

auto meshlib::PreciseVertCoord::pt ( ) const -> &core::ffi::c_int

< coordinate Returns a pointer to a member variable of class MR::PreciseVertCoord named pt.

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

◆ pt_mut()

auto meshlib::PreciseVertCoord::pt_mut ( ) -> &mut core::ffi::c_int

< coordinate Returns a mutable pointer to a member variable of class MR::PreciseVertCoord named pt.

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

◆ set_id()

void meshlib::PreciseVertCoord::set_id ( value:meshlib::VertId )

< unique id of the vertex (in both contours) Modifies a member variable of class MR::PreciseVertCoord named id.

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

◆ set_pt()

void meshlib::PreciseVertCoord::set_pt ( value:core::ffi::c_int )

< coordinate Modifies a member variable of class MR::PreciseVertCoord named pt.

Calls MR_PreciseVertCoord_Set_pt().


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