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

Public Member Functions

auto convert_to_int () const -> core::ffi::c_int
auto convert_to_bool () const -> bool
auto convert_to_mr_undirected_edge_id () const -> meshlib::UndirectedEdgeId
auto assign_from_another (_other:&meshlib::NoDefInit_MR_EdgeId) -> &mut meshlib::NoDefInit_MR_EdgeId
auto valid () const -> bool
auto get () -> &mut core::ffi::c_int
auto sym () const -> meshlib::EdgeId
auto even () const -> bool
auto odd () const -> bool
auto undirected () const -> meshlib::UndirectedEdgeId
auto op_equal_mr_edge_id (b:meshlib::EdgeId) const -> bool
auto op_not_equal_mr_edge_id (b:meshlib::EdgeId) const -> bool
auto op_less_mr_edge_id (b:meshlib::EdgeId) const -> bool
auto sub_assign (a:core::ffi::c_int) -> &mut meshlib::EdgeId
auto add_assign (a:core::ffi::c_int) -> &mut meshlib::EdgeId
auto id_ () const -> &core::ffi::c_int
auto id__mut () -> &mut core::ffi::c_int
void set_id_ (value:core::ffi::c_int)
auto upcast_to_edge_id () const -> &meshlib::EdgeId
auto upcast_to_edge_id_mut () -> &mut meshlib::EdgeId

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::NoDefInit_MR_EdgeId >
static auto construct_from_another (_other:&meshlib::NoDefInit_MR_EdgeId) -> meshlib::Owned< meshlib::NoDefInit_MR_EdgeId >
static auto static_downcast_from_edge_id (object:&meshlib::EdgeId) -> &Self
static auto static_downcast_from_edge_id_mut (object:&mut meshlib::EdgeId) -> &mut Self
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

this class is similar to T, but does not make default initialization of the fields for best performance Generated from class MR::NoDefInit<MR::EdgeId>. Base classes: Direct: (non-virtual) MR::EdgeId

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

Member Function Documentation

◆ add_assign()

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

Generated from method MR::NoDefInit<MR::EdgeId>::operator+=.

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

◆ assign_from_another()

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

Generated from method MR::NoDefInit<MR::EdgeId>::operator=.

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

◆ construct_from_another()

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

Generated from constructor MR::NoDefInit<MR::EdgeId>::NoDefInit.

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

◆ convert_to_bool()

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

Generated from conversion operator MR::NoDefInit<MR::EdgeId>::operator bool.

Calls MR_NoDefInit_MR_EdgeId_ConvertTo_bool().

◆ convert_to_int()

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

Generated from conversion operator MR::NoDefInit<MR::EdgeId>::operator int.

Calls MR_NoDefInit_MR_EdgeId_ConvertTo_int().

◆ convert_to_mr_undirected_edge_id()

auto meshlib::NoDefInit_MR_EdgeId::convert_to_mr_undirected_edge_id ( ) const -> meshlib::UndirectedEdgeId

Generated from conversion operator MR::NoDefInit<MR::EdgeId>::operator MR::UndirectedEdgeId.

Calls MR_NoDefInit_MR_EdgeId_ConvertTo_MR_UndirectedEdgeId().

◆ even()

auto meshlib::NoDefInit_MR_EdgeId::even ( ) const -> bool

among each pair of sym-edges: one is always even and the other is odd Generated from method MR::NoDefInit<MR::EdgeId>::even.

Calls MR_NoDefInit_MR_EdgeId_even().

◆ get()

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

Generated from method MR::NoDefInit<MR::EdgeId>::get.

Calls MR_NoDefInit_MR_EdgeId_get().

◆ id_()

auto meshlib::NoDefInit_MR_EdgeId::id_ ( ) const -> &core::ffi::c_int

Returns a pointer to a member variable of class MR::NoDefInit<MR::EdgeId> named id_.

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

◆ id__mut()

auto meshlib::NoDefInit_MR_EdgeId::id__mut ( ) -> &mut core::ffi::c_int

Returns a mutable pointer to a member variable of class MR::NoDefInit<MR::EdgeId> named id_.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_NoDefInit_MR_EdgeId_DefaultConstruct().

◆ odd()

auto meshlib::NoDefInit_MR_EdgeId::odd ( ) const -> bool

Generated from method MR::NoDefInit<MR::EdgeId>::odd.

Calls MR_NoDefInit_MR_EdgeId_odd().

◆ op_equal_mr_edge_id()

auto meshlib::NoDefInit_MR_EdgeId::op_equal_mr_edge_id ( b:meshlib::EdgeId ) const -> bool

Generated from method MR::NoDefInit<MR::EdgeId>::operator==.

Calls MR_equal_MR_NoDefInit_MR_EdgeId_MR_EdgeId().

◆ op_less_mr_edge_id()

auto meshlib::NoDefInit_MR_EdgeId::op_less_mr_edge_id ( b:meshlib::EdgeId ) const -> bool

Generated from method MR::NoDefInit<MR::EdgeId>::operator<.

Calls MR_less_MR_NoDefInit_MR_EdgeId_MR_EdgeId().

◆ op_not_equal_mr_edge_id()

auto meshlib::NoDefInit_MR_EdgeId::op_not_equal_mr_edge_id ( b:meshlib::EdgeId ) const -> bool

Generated from method MR::NoDefInit<MR::EdgeId>::operator!=.

Calls MR_not_equal_MR_NoDefInit_MR_EdgeId_MR_EdgeId().

◆ set_id_()

void meshlib::NoDefInit_MR_EdgeId::set_id_ ( value:core::ffi::c_int )

Modifies a member variable of class MR::NoDefInit<MR::EdgeId> named id_.

Calls MR_NoDefInit_MR_EdgeId_Set_id_().

◆ static_downcast_from_edge_id()

auto meshlib::NoDefInit_MR_EdgeId::static_downcast_from_edge_id ( object:&meshlib::EdgeId ) -> &Self
static

Static downcast from the base class MR::EdgeId.

Calls MR_NoDefInit_MR_EdgeId_StaticDowncastFrom_MR_EdgeId(). Undefined behavior if the object isn't actually a NoDefInit_MR_EdgeId.

Note
This function is unsafe.

◆ static_downcast_from_edge_id_mut()

auto meshlib::NoDefInit_MR_EdgeId::static_downcast_from_edge_id_mut ( object:&mut meshlib::EdgeId ) -> &mut Self
static

Static downcast from the base class MR::EdgeId.

Calls MR_NoDefInit_MR_EdgeId_MutableStaticDowncastFrom_MR_EdgeId(). Undefined behavior if the object isn't actually a NoDefInit_MR_EdgeId.

Note
This function is unsafe.

◆ sub_assign()

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

Generated from method MR::NoDefInit<MR::EdgeId>::operator-=.

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

◆ sym()

auto meshlib::NoDefInit_MR_EdgeId::sym ( ) const -> meshlib::EdgeId

returns identifier of the edge with same ends but opposite orientation Generated from method MR::NoDefInit<MR::EdgeId>::sym.

Calls MR_NoDefInit_MR_EdgeId_sym().

◆ undirected()

auto meshlib::NoDefInit_MR_EdgeId::undirected ( ) const -> meshlib::UndirectedEdgeId

returns unique identifier of the edge ignoring its direction Generated from method MR::NoDefInit<MR::EdgeId>::undirected.

Calls MR_NoDefInit_MR_EdgeId_undirected().

◆ upcast_to_edge_id()

auto meshlib::NoDefInit_MR_EdgeId::upcast_to_edge_id ( ) const -> &meshlib::EdgeId

Upcasts to the base class MR::EdgeId.

Calls MR_NoDefInit_MR_EdgeId_UpcastTo_MR_EdgeId().

◆ upcast_to_edge_id_mut()

auto meshlib::NoDefInit_MR_EdgeId::upcast_to_edge_id_mut ( ) -> &mut meshlib::EdgeId

Upcasts to the base class MR::EdgeId.

Calls MR_NoDefInit_MR_EdgeId_MutableUpcastTo_MR_EdgeId().

◆ valid()

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

Generated from method MR::NoDefInit<MR::EdgeId>::valid.

Calls MR_NoDefInit_MR_EdgeId_valid().


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