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

Public Member Functions

auto convert_to_int () const -> core::ffi::c_int
auto convert_to_bool () const -> bool
auto valid () const -> bool
auto get () -> &mut core::ffi::c_int
auto op_equal (b:meshlib::NodeId) const -> bool
auto op_not_equal (b:meshlib::NodeId) const -> bool
auto op_less (b:meshlib::NodeId) const -> bool
auto op_decr () -> &mut meshlib::NodeId
auto op_incr () -> &mut meshlib::NodeId
auto op_post_decr () -> meshlib::NodeId
auto op_post_incr () -> meshlib::NodeId
auto sub_assign (a:core::ffi::c_int) -> &mut meshlib::NodeId
auto add_assign (a:core::ffi::c_int) -> &mut meshlib::NodeId

Static Public Member Functions

static auto new () -> meshlib::NodeId
static auto construct_mr_no_init (_1:&meshlib::NoInit) -> meshlib::NodeId
static auto construct_int (i:core::ffi::c_int) -> meshlib::NodeId

Public Attributes

core::ffi::c_int id_

Detailed Description

stores index of some element, it is made as template class to avoid mixing faces, edges and vertices Generated from class MR::NodeId. Derived classes: Direct: (non-virtual) MR::NoDefInit<MR::NodeId> MR::NoInitNodeId

Generated from struct MR::NodeId. The fields are accessed directly.

Member Function Documentation

◆ add_assign()

auto meshlib::NodeId::add_assign ( a:core::ffi::c_int ) -> &mut meshlib::NodeId

Generated from method MR::NodeId::operator+=.

Calls MR_NodeId_add_assign(). The reference to this object might be preserved in the return value.

◆ construct_int()

auto meshlib::NodeId::construct_int ( i:core::ffi::c_int ) -> meshlib::NodeId
static

For the parser, pretend it's not templated. Instantiating the template above in the parser is difficult. Generated from constructor MR::NodeId::NodeId.

Calls MR_NodeId_Construct_int().

◆ construct_mr_no_init()

auto meshlib::NodeId::construct_mr_no_init ( _1:&meshlib::NoInit ) -> meshlib::NodeId
static

Generated from constructor MR::NodeId::NodeId.

Calls MR_NodeId_Construct_MR_NoInit(). The reference to the parameter _1 might be preserved in the constructed object.

◆ convert_to_bool()

auto meshlib::NodeId::convert_to_bool ( ) const -> bool

Generated from conversion operator MR::NodeId::operator bool.

Calls MR_NodeId_ConvertTo_bool().

◆ convert_to_int()

auto meshlib::NodeId::convert_to_int ( ) const -> core::ffi::c_int

Generated from conversion operator MR::NodeId::operator int.

Calls MR_NodeId_ConvertTo_int().

◆ get()

auto meshlib::NodeId::get ( ) -> &mut core::ffi::c_int

Generated from method MR::NodeId::get.

Calls MR_NodeId_get().

◆ new()

auto meshlib::NodeId::new ( ) -> meshlib::NodeId
static

Constructs an empty (default-constructed) instance.

Calls MR_NodeId_DefaultConstruct().

◆ op_decr()

auto meshlib::NodeId::op_decr ( ) -> &mut meshlib::NodeId

Generated from method MR::NodeId::operator--.

Calls MR_decr_MR_NodeId().

◆ op_equal()

auto meshlib::NodeId::op_equal ( b:meshlib::NodeId ) const -> bool

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

Calls MR_equal_MR_NodeId().

◆ op_incr()

auto meshlib::NodeId::op_incr ( ) -> &mut meshlib::NodeId

Generated from method MR::NodeId::operator++.

Calls MR_incr_MR_NodeId().

◆ op_less()

auto meshlib::NodeId::op_less ( b:meshlib::NodeId ) const -> bool

Generated from method MR::NodeId::operator<.

Calls MR_less_MR_NodeId().

◆ op_not_equal()

auto meshlib::NodeId::op_not_equal ( b:meshlib::NodeId ) const -> bool

Generated from method MR::NodeId::operator!=.

Calls MR_not_equal_MR_NodeId().

◆ op_post_decr()

auto meshlib::NodeId::op_post_decr ( ) -> meshlib::NodeId

Generated from method MR::NodeId::operator--.

Calls MR_post_decr_MR_NodeId().

◆ op_post_incr()

auto meshlib::NodeId::op_post_incr ( ) -> meshlib::NodeId

Generated from method MR::NodeId::operator++.

Calls MR_post_incr_MR_NodeId().

◆ sub_assign()

auto meshlib::NodeId::sub_assign ( a:core::ffi::c_int ) -> &mut meshlib::NodeId

Generated from method MR::NodeId::operator-=.

Calls MR_NodeId_sub_assign(). The reference to this object might be preserved in the return value.

◆ valid()

auto meshlib::NodeId::valid ( ) const -> bool

Generated from method MR::NodeId::valid.

Calls MR_NodeId_valid().

Member Data Documentation

◆ id_

core::ffi::c_int meshlib::NodeId::id_

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