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

Public Member Functions

auto assign_from_another (_other:&meshlib::SliceInfoBase) -> &mut meshlib::SliceInfoBase
auto op_compare_three_way (_1:&meshlib::SliceInfoBase) const -> meshlib::std_partial_ordering
auto op_equal (_1:&meshlib::SliceInfoBase) const -> bool
auto op_not_equal (_1:&meshlib::SliceInfoBase) const -> bool
auto op_less (_1:&meshlib::SliceInfoBase) const -> bool
auto op_greater (_1:&meshlib::SliceInfoBase) const -> bool
auto op_less_equal (_1:&meshlib::SliceInfoBase) const -> bool
auto op_greater_equal (_1:&meshlib::SliceInfoBase) const -> bool
auto instance_num () const -> &core::ffi::c_int
auto instance_num_mut () -> &mut core::ffi::c_int
void set_instance_num (value:core::ffi::c_int)
auto z () const -> &f64
auto z_mut () -> &mut f64
void set_z (value:f64)
auto file_num () const -> &core::ffi::c_int
auto file_num_mut () -> &mut core::ffi::c_int
void set_file_num (value:core::ffi::c_int)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::SliceInfoBase >
static auto construct_from (instanceNum:core::ffi::c_int, z:f64, fileNum:core::ffi::c_int) -> meshlib::Owned< meshlib::SliceInfoBase >
static auto construct_from_another (_other:&meshlib::SliceInfoBase) -> meshlib::Owned< meshlib::SliceInfoBase >
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

slice information

See also
SliceInfo Generated from class MR::SliceInfoBase. Derived classes: Direct: (non-virtual) MR::SliceInfo

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

auto meshlib::SliceInfoBase::construct_from ( instanceNum:core::ffi::c_int ,
z:f64 ,
fileNum:core::ffi::c_int  ) -> meshlib::Owned< meshlib::SliceInfoBase >
static

Constructs MR::SliceInfoBase elementwise.

Calls MR_SliceInfoBase_ConstructFrom().

◆ construct_from_another()

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

Generated from constructor MR::SliceInfoBase::SliceInfoBase.

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

◆ file_num()

auto meshlib::SliceInfoBase::file_num ( ) const -> &core::ffi::c_int

file index Returns a pointer to a member variable of class MR::SliceInfoBase named fileNum.

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

◆ file_num_mut()

auto meshlib::SliceInfoBase::file_num_mut ( ) -> &mut core::ffi::c_int

file index Returns a mutable pointer to a member variable of class MR::SliceInfoBase named fileNum.

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

◆ instance_num()

auto meshlib::SliceInfoBase::instance_num ( ) const -> &core::ffi::c_int

instance number Returns a pointer to a member variable of class MR::SliceInfoBase named instanceNum.

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

◆ instance_num_mut()

auto meshlib::SliceInfoBase::instance_num_mut ( ) -> &mut core::ffi::c_int

instance number Returns a mutable pointer to a member variable of class MR::SliceInfoBase named instanceNum.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_SliceInfoBase_DefaultConstruct().

◆ op_compare_three_way()

auto meshlib::SliceInfoBase::op_compare_three_way ( _1:&meshlib::SliceInfoBase ) const -> meshlib::std_partial_ordering

Generated from method MR::SliceInfoBase::operator<=>.

Calls MR_compare_three_way_MR_SliceInfoBase().

◆ op_equal()

auto meshlib::SliceInfoBase::op_equal ( _1:&meshlib::SliceInfoBase ) const -> bool

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

Calls MR_equal_MR_SliceInfoBase().

◆ op_greater()

auto meshlib::SliceInfoBase::op_greater ( _1:&meshlib::SliceInfoBase ) const -> bool

Generated from method MR::SliceInfoBase::operator>.

Calls MR_greater_MR_SliceInfoBase().

◆ op_greater_equal()

auto meshlib::SliceInfoBase::op_greater_equal ( _1:&meshlib::SliceInfoBase ) const -> bool

Generated from method MR::SliceInfoBase::operator>=.

Calls MR_greater_equal_MR_SliceInfoBase().

◆ op_less()

auto meshlib::SliceInfoBase::op_less ( _1:&meshlib::SliceInfoBase ) const -> bool

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

Calls MR_less_MR_SliceInfoBase().

◆ op_less_equal()

auto meshlib::SliceInfoBase::op_less_equal ( _1:&meshlib::SliceInfoBase ) const -> bool

Generated from method MR::SliceInfoBase::operator<=.

Calls MR_less_equal_MR_SliceInfoBase().

◆ op_not_equal()

auto meshlib::SliceInfoBase::op_not_equal ( _1:&meshlib::SliceInfoBase ) const -> bool

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

Calls MR_not_equal_MR_SliceInfoBase().

◆ set_file_num()

void meshlib::SliceInfoBase::set_file_num ( value:core::ffi::c_int )

file index Modifies a member variable of class MR::SliceInfoBase named fileNum.

Calls MR_SliceInfoBase_Set_fileNum().

◆ set_instance_num()

void meshlib::SliceInfoBase::set_instance_num ( value:core::ffi::c_int )

instance number Modifies a member variable of class MR::SliceInfoBase named instanceNum.

Calls MR_SliceInfoBase_Set_instanceNum().

◆ set_z()

void meshlib::SliceInfoBase::set_z ( value:f64 )

layer height Modifies a member variable of class MR::SliceInfoBase named z.

Calls MR_SliceInfoBase_Set_z().

◆ z()

auto meshlib::SliceInfoBase::z ( ) const -> &f64

layer height Returns a pointer to a member variable of class MR::SliceInfoBase named z.

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

◆ z_mut()

auto meshlib::SliceInfoBase::z_mut ( ) -> &mut f64

layer height Returns a mutable pointer to a member variable of class MR::SliceInfoBase named z.

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


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