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

Public Member Functions

auto assign_from_another (_other:&meshlib::BitSet_Counts) -> &mut meshlib::BitSet_Counts
auto bits () const -> &usize
auto bits_mut () -> &mut usize
void set_bits (value:usize)
auto blocks () const -> &usize
auto blocks_mut () -> &mut usize
void set_blocks (value:usize)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::BitSet_Counts >
static auto construct_from (bits:usize, blocks:usize) -> meshlib::Owned< meshlib::BitSet_Counts >
static auto construct_from_another (_other:&meshlib::BitSet_Counts) -> meshlib::Owned< meshlib::BitSet_Counts >
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

the numbers of set bits and of non-empty blocks Generated from class MR::BitSet::Counts.

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

Member Function Documentation

◆ assign_from_another()

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

Generated from method MR::BitSet::Counts::operator=.

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

◆ bits()

auto meshlib::BitSet_Counts::bits ( ) const -> &usize

Returns a pointer to a member variable of class MR::BitSet::Counts named bits.

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

◆ bits_mut()

auto meshlib::BitSet_Counts::bits_mut ( ) -> &mut usize

Returns a mutable pointer to a member variable of class MR::BitSet::Counts named bits.

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

◆ blocks()

auto meshlib::BitSet_Counts::blocks ( ) const -> &usize

Returns a pointer to a member variable of class MR::BitSet::Counts named blocks.

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

◆ blocks_mut()

auto meshlib::BitSet_Counts::blocks_mut ( ) -> &mut usize

Returns a mutable pointer to a member variable of class MR::BitSet::Counts named blocks.

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

◆ construct_from()

auto meshlib::BitSet_Counts::construct_from ( bits:usize ,
blocks:usize  ) -> meshlib::Owned< meshlib::BitSet_Counts >
static

Constructs MR::BitSet::Counts elementwise.

Calls MR_BitSet_Counts_ConstructFrom(). The reference to the parameter bits might be preserved in the constructed object. The reference to the parameter blocks might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::BitSet::Counts::Counts.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_BitSet_Counts_DefaultConstruct().

◆ set_bits()

void meshlib::BitSet_Counts::set_bits ( value:usize )

Modifies a member variable of class MR::BitSet::Counts named bits.

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

◆ set_blocks()

void meshlib::BitSet_Counts::set_blocks ( value:usize )

Modifies a member variable of class MR::BitSet::Counts named blocks.

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


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