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

Public Member Functions

auto assign_from_another (_other:&meshlib::OffsetContourIndex) -> &mut meshlib::OffsetContourIndex
auto valid () const -> bool
auto contour_id () const -> &core::ffi::c_int
auto contour_id_mut () -> &mut core::ffi::c_int
void set_contour_id (value:core::ffi::c_int)
auto vert_id () const -> &core::ffi::c_int
auto vert_id_mut () -> &mut core::ffi::c_int
void set_vert_id (value:core::ffi::c_int)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::OffsetContourIndex >
static auto construct_from (contourId:core::ffi::c_int, vertId:core::ffi::c_int) -> meshlib::Owned< meshlib::OffsetContourIndex >
static auto construct_from_another (_other:&meshlib::OffsetContourIndex) -> meshlib::Owned< meshlib::OffsetContourIndex >
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::OffsetContourIndex.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

auto meshlib::OffsetContourIndex::construct_from ( contourId:core::ffi::c_int ,
vertId:core::ffi::c_int  ) -> meshlib::Owned< meshlib::OffsetContourIndex >
static

Constructs MR::OffsetContourIndex elementwise.

Calls MR_OffsetContourIndex_ConstructFrom().

◆ construct_from_another()

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

Generated from constructor MR::OffsetContourIndex::OffsetContourIndex.

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

◆ contour_id()

auto meshlib::OffsetContourIndex::contour_id ( ) const -> &core::ffi::c_int

-1 means unknown index Returns a pointer to a member variable of class MR::OffsetContourIndex named contourId.

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

◆ contour_id_mut()

auto meshlib::OffsetContourIndex::contour_id_mut ( ) -> &mut core::ffi::c_int

-1 means unknown index Returns a mutable pointer to a member variable of class MR::OffsetContourIndex named contourId.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_OffsetContourIndex_DefaultConstruct().

◆ set_contour_id()

void meshlib::OffsetContourIndex::set_contour_id ( value:core::ffi::c_int )

-1 means unknown index Modifies a member variable of class MR::OffsetContourIndex named contourId.

Calls MR_OffsetContourIndex_Set_contourId().

◆ set_vert_id()

void meshlib::OffsetContourIndex::set_vert_id ( value:core::ffi::c_int )

-1 means unknown index Modifies a member variable of class MR::OffsetContourIndex named vertId.

Calls MR_OffsetContourIndex_Set_vertId().

◆ valid()

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

Generated from method MR::OffsetContourIndex::valid.

Calls MR_OffsetContourIndex_valid().

◆ vert_id()

auto meshlib::OffsetContourIndex::vert_id ( ) const -> &core::ffi::c_int

-1 means unknown index Returns a pointer to a member variable of class MR::OffsetContourIndex named vertId.

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

◆ vert_id_mut()

auto meshlib::OffsetContourIndex::vert_id_mut ( ) -> &mut core::ffi::c_int

-1 means unknown index Returns a mutable pointer to a member variable of class MR::OffsetContourIndex named vertId.

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


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