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

Public Member Functions

auto assign_from_another (_other:&meshlib::FaceBitSet) -> &mut meshlib::FaceBitSet
auto set_range (n:meshlib::FaceId, len:usize, val:bool) -> &mut meshlib::FaceBitSet
auto set (n:meshlib::FaceId, val:bool) -> &mut meshlib::FaceBitSet
auto set_bit (n:meshlib::FaceId) -> &mut meshlib::FaceBitSet
auto set_all () -> &mut meshlib::FaceBitSet
auto atomic_test_set (n:meshlib::FaceId) -> bool
auto reset_2 (n:meshlib::FaceId, len:usize) -> &mut meshlib::FaceBitSet
auto reset_1 (n:meshlib::FaceId) -> &mut meshlib::FaceBitSet
auto reset_0 () -> &mut meshlib::FaceBitSet
auto flip_2 (n:meshlib::FaceId, len:usize) -> &mut meshlib::FaceBitSet
auto flip_1 (n:meshlib::FaceId) -> &mut meshlib::FaceBitSet
auto flip_0 () -> &mut meshlib::FaceBitSet
auto test (n:meshlib::FaceId) const -> bool
auto test_set (n:meshlib::FaceId, val:Option< bool >) -> bool
auto find_first () const -> meshlib::FaceId
auto find_next (pos:meshlib::FaceId) const -> meshlib::FaceId
auto find_last () const -> meshlib::FaceId
auto find_first_not_set () const -> meshlib::FaceId
auto find_next_not_set (pos:meshlib::FaceId) const -> meshlib::FaceId
auto find_last_not_set () const -> meshlib::FaceId
auto nth_set_bit (n:usize) const -> meshlib::FaceId
auto bitand_assign (b:&meshlib::FaceBitSet) -> &mut meshlib::FaceBitSet
auto bitor_assign (b:&meshlib::FaceBitSet) -> &mut meshlib::FaceBitSet
auto xor_assign (b:&meshlib::FaceBitSet) -> &mut meshlib::FaceBitSet
auto sub_assign (b:&meshlib::FaceBitSet) -> &mut meshlib::FaceBitSet
auto subtract (b:&meshlib::FaceBitSet, bShiftInBlocks:core::ffi::c_int) -> &mut meshlib::FaceBitSet
auto is_subset_of (a:&meshlib::FaceBitSet) const -> bool
auto intersects (a:&meshlib::FaceBitSet) const -> bool
void auto_resize_set_range (pos:meshlib::FaceId, len:usize, val:Option< bool >)
void auto_resize_set (pos:meshlib::FaceId, val:Option< bool >)
auto auto_resize_test_set (pos:meshlib::FaceId, val:Option< bool >) -> bool
auto get_mapping_1_mr_face_map (map:&meshlib::FaceMap) const -> meshlib::Owned< meshlib::FaceBitSet >
auto get_mapping_1_mr_face_b_map (map:&meshlib::FaceBMap) const -> meshlib::Owned< meshlib::FaceBitSet >
auto get_mapping_1_phmap_flat_hash_map_mr_face_id_mr_face_id_phmap_hash_mr_face_id_phmap_equal_to_mr_face_id_mr_allocator_std_pair_const_mr_face_id_mr_face_id (map:&meshlib::phmap::phmap_flat_hash_map_MR_FaceId_MR_FaceId_phmap_Hash_MR_FaceId_phmap_EqualTo_MR_FaceId_MR_Allocator_std_pair_const_MR_FaceId_MR_FaceId) const -> meshlib::Owned< meshlib::FaceBitSet >
auto get_mapping_2_mr_face_map (map:&meshlib::FaceMap, resSize:usize) const -> meshlib::Owned< meshlib::FaceBitSet >
auto get_mapping_2_phmap_flat_hash_map_mr_face_id_mr_face_id_phmap_hash_mr_face_id_phmap_equal_to_mr_face_id_mr_allocator_std_pair_const_mr_face_id_mr_face_id (map:&meshlib::phmap::phmap_flat_hash_map_MR_FaceId_MR_FaceId_phmap_Hash_MR_FaceId_phmap_EqualTo_MR_FaceId_MR_Allocator_std_pair_const_MR_FaceId_MR_FaceId, resSize:usize) const -> meshlib::Owned< meshlib::FaceBitSet >
auto back_id () const -> meshlib::FaceId
auto end_id () const -> meshlib::FaceId
void reserve (numBits:usize)
void resize (numBits:usize, fillValue:Option< bool >)
void clear ()
void shrink_to_fit ()
auto empty () const -> bool
auto size () const -> usize
auto num_blocks () const -> usize
auto capacity () const -> usize
auto unchecked_test (n:usize) const -> bool
auto unchecked_test_set (n:usize, val:Option< bool >) -> bool
void reverse ()
void push_back (val:bool)
void pop_back ()
auto bits () const -> &meshlib::std_vector_uint64_t_MR_Allocator_uint64_t
auto all () const -> bool
auto any () const -> bool
auto none () const -> bool
auto count () const -> usize
auto count_bits_and_blocks (maxBits:Option< usize >) const -> meshlib::Owned< meshlib::BitSet_Counts >
void resize_with_reserve (newSize:usize)
auto heap_bytes () const -> usize
auto upcast_to_bit_set () const -> &meshlib::BitSet
auto upcast_to_bit_set_mut () -> &mut meshlib::BitSet

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::FaceBitSet >
static auto construct_from_another (_other:&meshlib::FaceBitSet) -> meshlib::Owned< meshlib::FaceBitSet >
static auto construct_2 (numBits:usize, fillValue:Option< bool >) -> meshlib::Owned< meshlib::FaceBitSet >
static auto construct_1_const_mr_bit_set_ref (src:&meshlib::BitSet) -> meshlib::Owned< meshlib::FaceBitSet >
static auto construct_1_mr_bit_set_rvalue_ref (src:&mut meshlib::BitSet) -> meshlib::Owned< meshlib::FaceBitSet >
static auto begin_id () -> meshlib::FaceId
static auto from_blocks (blocks:&mut meshlib::std_vector_uint64_t_MR_Allocator_uint64_t) -> meshlib::Owned< meshlib::BitSet >
static auto bits_per_block () -> *const usize
static auto npos () -> *const usize
static auto static_downcast_from_bit_set (object:&meshlib::BitSet) -> &Self
static auto static_downcast_from_bit_set_mut (object:&mut meshlib::BitSet) -> &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

Vector<bool, I> like container (random-access, I - index type, bool - value type) with all bits after size() considered off during testing Generated from class MR::FaceBitSet. Base classes: Direct: (non-virtual) MR::BitSet

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

Member Function Documentation

◆ all()

auto meshlib::FaceBitSet::all ( ) const -> bool

returns true if all bits in this container are set Generated from method MR::FaceBitSet::all.

Calls MR_FaceBitSet_all().

◆ any()

auto meshlib::FaceBitSet::any ( ) const -> bool

returns true if at least one bits in this container is set Generated from method MR::FaceBitSet::any.

Calls MR_FaceBitSet_any().

◆ assign_from_another()

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

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

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

◆ atomic_test_set()

auto meshlib::FaceBitSet::atomic_test_set ( n:meshlib::FaceId ) -> bool

Generated from method MR::FaceBitSet::atomicTestSet.

Calls MR_FaceBitSet_atomicTestSet().

◆ auto_resize_set()

void meshlib::FaceBitSet::auto_resize_set ( pos:meshlib::FaceId ,
val:Option< bool >  )

Generated from method MR::FaceBitSet::autoResizeSet.

Calls MR_FaceBitSet_autoResizeSet().

◆ auto_resize_set_range()

void meshlib::FaceBitSet::auto_resize_set_range ( pos:meshlib::FaceId ,
len:usize ,
val:Option< bool >  )

Generated from method MR::FaceBitSet::autoResizeSet.

Calls MR_FaceBitSet_autoResizeSet_range().

◆ auto_resize_test_set()

auto meshlib::FaceBitSet::auto_resize_test_set ( pos:meshlib::FaceId ,
val:Option< bool >  ) -> bool

Generated from method MR::FaceBitSet::autoResizeTestSet.

Calls MR_FaceBitSet_autoResizeTestSet().

◆ back_id()

auto meshlib::FaceBitSet::back_id ( ) const -> meshlib::FaceId

returns the identifier of the back() element Generated from method MR::FaceBitSet::backId.

Calls MR_FaceBitSet_backId().

◆ begin_id()

auto meshlib::FaceBitSet::begin_id ( ) -> meshlib::FaceId
static

[beginId(), endId()) is the range of all bits in the set Generated from method MR::FaceBitSet::beginId.

Calls MR_FaceBitSet_beginId().

◆ bitand_assign()

auto meshlib::FaceBitSet::bitand_assign ( b:&meshlib::FaceBitSet ) -> &mut meshlib::FaceBitSet

Generated from method MR::FaceBitSet::operator&=.

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

◆ bitor_assign()

auto meshlib::FaceBitSet::bitor_assign ( b:&meshlib::FaceBitSet ) -> &mut meshlib::FaceBitSet

Generated from method MR::FaceBitSet::operator|=.

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

◆ bits()

auto meshlib::FaceBitSet::bits ( ) const -> &meshlib::std_vector_uint64_t_MR_Allocator_uint64_t

read-only access to all bits stored as a vector of uint64 blocks Generated from method MR::FaceBitSet::bits.

Calls MR_FaceBitSet_bits().

◆ bits_per_block()

auto meshlib::FaceBitSet::bits_per_block ( ) -> *const usize
static

Returns a pointer to a member variable of class MR::FaceBitSet named bits_per_block.

Calls MR_FaceBitSet_Get_bits_per_block().

◆ capacity()

auto meshlib::FaceBitSet::capacity ( ) const -> usize

Generated from method MR::FaceBitSet::capacity.

Calls MR_FaceBitSet_capacity().

◆ clear()

void meshlib::FaceBitSet::clear ( )

Generated from method MR::FaceBitSet::clear.

Calls MR_FaceBitSet_clear().

◆ construct_1_const_mr_bit_set_ref()

auto meshlib::FaceBitSet::construct_1_const_mr_bit_set_ref ( src:&meshlib::BitSet ) -> meshlib::Owned< meshlib::FaceBitSet >
static

copies all bits from another BitSet (or a descending class, e.g. TypedBitSet<U>) Generated from constructor MR::FaceBitSet::FaceBitSet.

Calls MR_FaceBitSet_Construct_1_const_MR_BitSet_ref(). The reference to the parameter src might be preserved in the constructed object.

◆ construct_1_mr_bit_set_rvalue_ref()

auto meshlib::FaceBitSet::construct_1_mr_bit_set_rvalue_ref ( src:&mut meshlib::BitSet ) -> meshlib::Owned< meshlib::FaceBitSet >
static

moves all bits from another BitSet (or a descending class, e.g. TypedBitSet<U>) Generated from constructor MR::FaceBitSet::FaceBitSet.

Calls MR_FaceBitSet_Construct_1_MR_BitSet_rvalue_ref(). The reference to the parameter src might be preserved in the constructed object.

◆ construct_2()

auto meshlib::FaceBitSet::construct_2 ( numBits:usize ,
fillValue:Option< bool >  ) -> meshlib::Owned< meshlib::FaceBitSet >
static

creates bitset of given size filled with given value Generated from constructor MR::FaceBitSet::FaceBitSet.

Calls MR_FaceBitSet_Construct_2(). The reference to the parameter numBits might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::FaceBitSet::FaceBitSet.

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

◆ count()

auto meshlib::FaceBitSet::count ( ) const -> usize

computes the number of set bits in the whole set Generated from method MR::FaceBitSet::count.

Calls MR_FaceBitSet_count().

◆ count_bits_and_blocks()

auto meshlib::FaceBitSet::count_bits_and_blocks ( maxBits:Option< usize > ) const -> meshlib::Owned< meshlib::BitSet_Counts >

computes the numbers of set bits and of non-empty blocks, stopping as soon as the set bits exceed maxBits; both numbers are then partial, which makes a size test of a large set cheap Generated from method MR::FaceBitSet::countBitsAndBlocks.

Calls MR_FaceBitSet_countBitsAndBlocks().

◆ empty()

auto meshlib::FaceBitSet::empty ( ) const -> bool

Generated from method MR::FaceBitSet::empty.

Calls MR_FaceBitSet_empty().

◆ end_id()

auto meshlib::FaceBitSet::end_id ( ) const -> meshlib::FaceId

Generated from method MR::FaceBitSet::endId.

Calls MR_FaceBitSet_endId().

◆ find_first()

auto meshlib::FaceBitSet::find_first ( ) const -> meshlib::FaceId

Generated from method MR::FaceBitSet::find_first.

Calls MR_FaceBitSet_find_first().

◆ find_first_not_set()

auto meshlib::FaceBitSet::find_first_not_set ( ) const -> meshlib::FaceId

Generated from method MR::FaceBitSet::find_first_not_set.

Calls MR_FaceBitSet_find_first_not_set().

◆ find_last()

auto meshlib::FaceBitSet::find_last ( ) const -> meshlib::FaceId

Generated from method MR::FaceBitSet::find_last.

Calls MR_FaceBitSet_find_last().

◆ find_last_not_set()

auto meshlib::FaceBitSet::find_last_not_set ( ) const -> meshlib::FaceId

Generated from method MR::FaceBitSet::find_last_not_set.

Calls MR_FaceBitSet_find_last_not_set().

◆ find_next()

auto meshlib::FaceBitSet::find_next ( pos:meshlib::FaceId ) const -> meshlib::FaceId

Generated from method MR::FaceBitSet::find_next.

Calls MR_FaceBitSet_find_next().

◆ find_next_not_set()

auto meshlib::FaceBitSet::find_next_not_set ( pos:meshlib::FaceId ) const -> meshlib::FaceId

Generated from method MR::FaceBitSet::find_next_not_set.

Calls MR_FaceBitSet_find_next_not_set().

◆ flip_0()

auto meshlib::FaceBitSet::flip_0 ( ) -> &mut meshlib::FaceBitSet

Generated from method MR::FaceBitSet::flip.

Calls MR_FaceBitSet_flip_0().

◆ flip_1()

auto meshlib::FaceBitSet::flip_1 ( n:meshlib::FaceId ) -> &mut meshlib::FaceBitSet

Generated from method MR::FaceBitSet::flip.

Calls MR_FaceBitSet_flip_1().

◆ flip_2()

auto meshlib::FaceBitSet::flip_2 ( n:meshlib::FaceId ,
len:usize  ) -> &mut meshlib::FaceBitSet

Generated from method MR::FaceBitSet::flip.

Calls MR_FaceBitSet_flip_2().

◆ from_blocks()

auto meshlib::FaceBitSet::from_blocks ( blocks:&mut meshlib::std_vector_uint64_t_MR_Allocator_uint64_t ) -> meshlib::Owned< meshlib::BitSet >
static

creates bitset from the given blocks of bits Generated from method MR::FaceBitSet::fromBlocks.

Calls MR_FaceBitSet_fromBlocks().

◆ get_mapping_1_mr_face_b_map()

auto meshlib::FaceBitSet::get_mapping_1_mr_face_b_map ( map:&meshlib::FaceBMap ) const -> meshlib::Owned< meshlib::FaceBitSet >

Generated from method MR::FaceBitSet::getMapping.

Calls MR_FaceBitSet_getMapping_1_MR_FaceBMap().

◆ get_mapping_1_mr_face_map()

auto meshlib::FaceBitSet::get_mapping_1_mr_face_map ( map:&meshlib::FaceMap ) const -> meshlib::Owned< meshlib::FaceBitSet >

Generated from method MR::FaceBitSet::getMapping.

Calls MR_FaceBitSet_getMapping_1_MR_FaceMap().

◆ get_mapping_1_phmap_flat_hash_map_mr_face_id_mr_face_id_phmap_hash_mr_face_id_phmap_equal_to_mr_face_id_mr_allocator_std_pair_const_mr_face_id_mr_face_id()

auto meshlib::FaceBitSet::get_mapping_1_phmap_flat_hash_map_mr_face_id_mr_face_id_phmap_hash_mr_face_id_phmap_equal_to_mr_face_id_mr_allocator_std_pair_const_mr_face_id_mr_face_id ( map:&meshlib::phmap::phmap_flat_hash_map_MR_FaceId_MR_FaceId_phmap_Hash_MR_FaceId_phmap_EqualTo_MR_FaceId_MR_Allocator_std_pair_const_MR_FaceId_MR_FaceId ) const -> meshlib::Owned< meshlib::FaceBitSet >

Generated from method MR::FaceBitSet::getMapping.

Calls MR_FaceBitSet_getMapping_1_phmap_flat_hash_map_MR_FaceId_MR_FaceId_phmap_Hash_MR_FaceId_phmap_EqualTo_MR_FaceId_MR_Allocator_std_pair_const_MR_FaceId_MR_FaceId().

◆ get_mapping_2_mr_face_map()

auto meshlib::FaceBitSet::get_mapping_2_mr_face_map ( map:&meshlib::FaceMap ,
resSize:usize  ) const -> meshlib::Owned< meshlib::FaceBitSet >

Generated from method MR::FaceBitSet::getMapping.

Calls MR_FaceBitSet_getMapping_2_MR_FaceMap().

◆ get_mapping_2_phmap_flat_hash_map_mr_face_id_mr_face_id_phmap_hash_mr_face_id_phmap_equal_to_mr_face_id_mr_allocator_std_pair_const_mr_face_id_mr_face_id()

auto meshlib::FaceBitSet::get_mapping_2_phmap_flat_hash_map_mr_face_id_mr_face_id_phmap_hash_mr_face_id_phmap_equal_to_mr_face_id_mr_allocator_std_pair_const_mr_face_id_mr_face_id ( map:&meshlib::phmap::phmap_flat_hash_map_MR_FaceId_MR_FaceId_phmap_Hash_MR_FaceId_phmap_EqualTo_MR_FaceId_MR_Allocator_std_pair_const_MR_FaceId_MR_FaceId ,
resSize:usize  ) const -> meshlib::Owned< meshlib::FaceBitSet >

Generated from method MR::FaceBitSet::getMapping.

Calls MR_FaceBitSet_getMapping_2_phmap_flat_hash_map_MR_FaceId_MR_FaceId_phmap_Hash_MR_FaceId_phmap_EqualTo_MR_FaceId_MR_Allocator_std_pair_const_MR_FaceId_MR_FaceId().

◆ heap_bytes()

auto meshlib::FaceBitSet::heap_bytes ( ) const -> usize

returns the amount of memory this object occupies on heap Generated from method MR::FaceBitSet::heapBytes.

Calls MR_FaceBitSet_heapBytes().

◆ intersects()

auto meshlib::FaceBitSet::intersects ( a:&meshlib::FaceBitSet ) const -> bool

returns true if, there is a bit which is set in this bitset, such that the corresponding bit in bitset a is also set. Otherwise this function returns false. Generated from method MR::FaceBitSet::intersects.

Calls MR_FaceBitSet_intersects().

◆ is_subset_of()

auto meshlib::FaceBitSet::is_subset_of ( a:&meshlib::FaceBitSet ) const -> bool

returns true if, for every bit that is set in this bitset, the corresponding bit in bitset a is also set. Otherwise this function returns false. Generated from method MR::FaceBitSet::is_subset_of.

Calls MR_FaceBitSet_is_subset_of().

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_FaceBitSet_DefaultConstruct().

◆ none()

auto meshlib::FaceBitSet::none ( ) const -> bool

returns true if all bits in this container are reset Generated from method MR::FaceBitSet::none.

Calls MR_FaceBitSet_none().

◆ npos()

auto meshlib::FaceBitSet::npos ( ) -> *const usize
static

Returns a pointer to a member variable of class MR::FaceBitSet named npos.

Calls MR_FaceBitSet_Get_npos().

◆ nth_set_bit()

auto meshlib::FaceBitSet::nth_set_bit ( n:usize ) const -> meshlib::FaceId

returns the location of nth set bit (where the first bit corresponds to n=0) or IndexType(npos) if there are less bit set Generated from method MR::FaceBitSet::nthSetBit.

Calls MR_FaceBitSet_nthSetBit().

◆ num_blocks()

auto meshlib::FaceBitSet::num_blocks ( ) const -> usize

Generated from method MR::FaceBitSet::num_blocks.

Calls MR_FaceBitSet_num_blocks().

◆ pop_back()

void meshlib::FaceBitSet::pop_back ( )

removes last bit from the container, decreasing its size on 1 Generated from method MR::FaceBitSet::pop_back.

Calls MR_FaceBitSet_pop_back().

◆ push_back()

void meshlib::FaceBitSet::push_back ( val:bool )

adds one more bit with the given value in the container, increasing its size on 1 Generated from method MR::FaceBitSet::push_back.

Calls MR_FaceBitSet_push_back().

◆ reserve()

void meshlib::FaceBitSet::reserve ( numBits:usize )

Generated from method MR::FaceBitSet::reserve.

Calls MR_FaceBitSet_reserve().

◆ reset_0()

auto meshlib::FaceBitSet::reset_0 ( ) -> &mut meshlib::FaceBitSet

Generated from method MR::FaceBitSet::reset.

Calls MR_FaceBitSet_reset_0().

◆ reset_1()

auto meshlib::FaceBitSet::reset_1 ( n:meshlib::FaceId ) -> &mut meshlib::FaceBitSet

Generated from method MR::FaceBitSet::reset.

Calls MR_FaceBitSet_reset_1().

◆ reset_2()

auto meshlib::FaceBitSet::reset_2 ( n:meshlib::FaceId ,
len:usize  ) -> &mut meshlib::FaceBitSet

Generated from method MR::FaceBitSet::reset.

Calls MR_FaceBitSet_reset_2().

◆ resize()

void meshlib::FaceBitSet::resize ( numBits:usize ,
fillValue:Option< bool >  )

Generated from method MR::FaceBitSet::resize.

Calls MR_FaceBitSet_resize().

◆ resize_with_reserve()

void meshlib::FaceBitSet::resize_with_reserve ( newSize:usize )

same as resize(newSize), which already grows the capacity geometrically Generated from method MR::FaceBitSet::resizeWithReserve.

Calls MR_FaceBitSet_resizeWithReserve().

Deprecated
use resize() instead

◆ reverse()

void meshlib::FaceBitSet::reverse ( )

changes the order of bits on the opposite Generated from method MR::FaceBitSet::reverse.

Calls MR_FaceBitSet_reverse().

◆ set()

auto meshlib::FaceBitSet::set ( n:meshlib::FaceId ,
val:bool  ) -> &mut meshlib::FaceBitSet

Generated from method MR::FaceBitSet::set.

Calls MR_FaceBitSet_set().

◆ set_all()

auto meshlib::FaceBitSet::set_all ( ) -> &mut meshlib::FaceBitSet

Generated from method MR::FaceBitSet::set.

Calls MR_FaceBitSet_set_all().

◆ set_bit()

auto meshlib::FaceBitSet::set_bit ( n:meshlib::FaceId ) -> &mut meshlib::FaceBitSet

Generated from method MR::FaceBitSet::set.

Calls MR_FaceBitSet_set_bit().

◆ set_range()

auto meshlib::FaceBitSet::set_range ( n:meshlib::FaceId ,
len:usize ,
val:bool  ) -> &mut meshlib::FaceBitSet

Generated from method MR::FaceBitSet::set.

Calls MR_FaceBitSet_set_range().

◆ shrink_to_fit()

void meshlib::FaceBitSet::shrink_to_fit ( )

Generated from method MR::FaceBitSet::shrink_to_fit.

Calls MR_FaceBitSet_shrink_to_fit().

◆ size()

auto meshlib::FaceBitSet::size ( ) const -> usize

Generated from method MR::FaceBitSet::size.

Calls MR_FaceBitSet_size().

◆ static_downcast_from_bit_set()

auto meshlib::FaceBitSet::static_downcast_from_bit_set ( object:&meshlib::BitSet ) -> &Self
static

Static downcast from the base class MR::BitSet.

Calls MR_FaceBitSet_StaticDowncastFrom_MR_BitSet(). Undefined behavior if the object isn't actually a FaceBitSet.

Note
This function is unsafe.

◆ static_downcast_from_bit_set_mut()

auto meshlib::FaceBitSet::static_downcast_from_bit_set_mut ( object:&mut meshlib::BitSet ) -> &mut Self
static

Static downcast from the base class MR::BitSet.

Calls MR_FaceBitSet_MutableStaticDowncastFrom_MR_BitSet(). Undefined behavior if the object isn't actually a FaceBitSet.

Note
This function is unsafe.

◆ sub_assign()

auto meshlib::FaceBitSet::sub_assign ( b:&meshlib::FaceBitSet ) -> &mut meshlib::FaceBitSet

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

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

◆ subtract()

auto meshlib::FaceBitSet::subtract ( b:&meshlib::FaceBitSet ,
bShiftInBlocks:core::ffi::c_int  ) -> &mut meshlib::FaceBitSet

subtracts b from this, considering that bits in b are shifted right on bShiftInBlocks*bits_per_block Generated from method MR::FaceBitSet::subtract.

Calls MR_FaceBitSet_subtract().

◆ test()

auto meshlib::FaceBitSet::test ( n:meshlib::FaceId ) const -> bool

Generated from method MR::FaceBitSet::test.

Calls MR_FaceBitSet_test().

◆ test_set()

auto meshlib::FaceBitSet::test_set ( n:meshlib::FaceId ,
val:Option< bool >  ) -> bool

Generated from method MR::FaceBitSet::test_set.

Calls MR_FaceBitSet_test_set().

◆ unchecked_test()

auto meshlib::FaceBitSet::unchecked_test ( n:usize ) const -> bool

Generated from method MR::FaceBitSet::uncheckedTest.

Calls MR_FaceBitSet_uncheckedTest().

◆ unchecked_test_set()

auto meshlib::FaceBitSet::unchecked_test_set ( n:usize ,
val:Option< bool >  ) -> bool

Generated from method MR::FaceBitSet::uncheckedTestSet.

Calls MR_FaceBitSet_uncheckedTestSet().

◆ upcast_to_bit_set()

auto meshlib::FaceBitSet::upcast_to_bit_set ( ) const -> &meshlib::BitSet

Upcasts to the base class MR::BitSet.

Calls MR_FaceBitSet_UpcastTo_MR_BitSet().

◆ upcast_to_bit_set_mut()

auto meshlib::FaceBitSet::upcast_to_bit_set_mut ( ) -> &mut meshlib::BitSet

Upcasts to the base class MR::BitSet.

Calls MR_FaceBitSet_MutableUpcastTo_MR_BitSet().

◆ xor_assign()

auto meshlib::FaceBitSet::xor_assign ( b:&meshlib::FaceBitSet ) -> &mut meshlib::FaceBitSet

Generated from method MR::FaceBitSet::operator^=.

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


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