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

Public Member Functions

auto assign_from_another (_other:&meshlib::GraphEdgeBitSet) -> &mut meshlib::GraphEdgeBitSet
auto set_range (n:meshlib::GraphEdgeId, len:usize, val:bool) -> &mut meshlib::GraphEdgeBitSet
auto set (n:meshlib::GraphEdgeId, val:bool) -> &mut meshlib::GraphEdgeBitSet
auto set_bit (n:meshlib::GraphEdgeId) -> &mut meshlib::GraphEdgeBitSet
auto set_all () -> &mut meshlib::GraphEdgeBitSet
auto atomic_test_set (n:meshlib::GraphEdgeId) -> bool
auto reset_2 (n:meshlib::GraphEdgeId, len:usize) -> &mut meshlib::GraphEdgeBitSet
auto reset_1 (n:meshlib::GraphEdgeId) -> &mut meshlib::GraphEdgeBitSet
auto reset_0 () -> &mut meshlib::GraphEdgeBitSet
auto flip_2 (n:meshlib::GraphEdgeId, len:usize) -> &mut meshlib::GraphEdgeBitSet
auto flip_1 (n:meshlib::GraphEdgeId) -> &mut meshlib::GraphEdgeBitSet
auto flip_0 () -> &mut meshlib::GraphEdgeBitSet
auto test (n:meshlib::GraphEdgeId) const -> bool
auto test_set (n:meshlib::GraphEdgeId, val:Option< bool >) -> bool
auto find_first () const -> meshlib::GraphEdgeId
auto find_next (pos:meshlib::GraphEdgeId) const -> meshlib::GraphEdgeId
auto find_last () const -> meshlib::GraphEdgeId
auto find_first_not_set () const -> meshlib::GraphEdgeId
auto find_next_not_set (pos:meshlib::GraphEdgeId) const -> meshlib::GraphEdgeId
auto find_last_not_set () const -> meshlib::GraphEdgeId
auto nth_set_bit (n:usize) const -> meshlib::GraphEdgeId
auto bitand_assign (b:&meshlib::GraphEdgeBitSet) -> &mut meshlib::GraphEdgeBitSet
auto bitor_assign (b:&meshlib::GraphEdgeBitSet) -> &mut meshlib::GraphEdgeBitSet
auto xor_assign (b:&meshlib::GraphEdgeBitSet) -> &mut meshlib::GraphEdgeBitSet
auto sub_assign (b:&meshlib::GraphEdgeBitSet) -> &mut meshlib::GraphEdgeBitSet
auto subtract (b:&meshlib::GraphEdgeBitSet, bShiftInBlocks:core::ffi::c_int) -> &mut meshlib::GraphEdgeBitSet
auto is_subset_of (a:&meshlib::GraphEdgeBitSet) const -> bool
auto intersects (a:&meshlib::GraphEdgeBitSet) const -> bool
void auto_resize_set_range (pos:meshlib::GraphEdgeId, len:usize, val:Option< bool >)
void auto_resize_set (pos:meshlib::GraphEdgeId, val:Option< bool >)
auto auto_resize_test_set (pos:meshlib::GraphEdgeId, val:Option< bool >) -> bool
auto get_mapping_1_mr_vector_mr_graph_edge_id_mr_graph_edge_id (map:&meshlib::Vector_MR_GraphEdgeId_MR_GraphEdgeId) const -> meshlib::Owned< meshlib::GraphEdgeBitSet >
auto get_mapping_1_mr_b_map_mr_graph_edge_id_mr_graph_edge_id (map:&meshlib::BMap_MR_GraphEdgeId_MR_GraphEdgeId) const -> meshlib::Owned< meshlib::GraphEdgeBitSet >
auto get_mapping_1_phmap_flat_hash_map_mr_graph_edge_id_mr_graph_edge_id_phmap_hash_mr_graph_edge_id_phmap_equal_to_mr_graph_edge_id_mr_allocator_std_pair_const_mr_graph_edge_id_mr_graph_edge_id (map:&meshlib::phmap::phmap_flat_hash_map_MR_GraphEdgeId_MR_GraphEdgeId_phmap_Hash_MR_GraphEdgeId_phmap_EqualTo_MR_GraphEdgeId_MR_Allocator_std_pair_const_MR_GraphEdgeId_MR_GraphEdgeId) const -> meshlib::Owned< meshlib::GraphEdgeBitSet >
auto get_mapping_2_mr_vector_mr_graph_edge_id_mr_graph_edge_id (map:&meshlib::Vector_MR_GraphEdgeId_MR_GraphEdgeId, resSize:usize) const -> meshlib::Owned< meshlib::GraphEdgeBitSet >
auto get_mapping_2_phmap_flat_hash_map_mr_graph_edge_id_mr_graph_edge_id_phmap_hash_mr_graph_edge_id_phmap_equal_to_mr_graph_edge_id_mr_allocator_std_pair_const_mr_graph_edge_id_mr_graph_edge_id (map:&meshlib::phmap::phmap_flat_hash_map_MR_GraphEdgeId_MR_GraphEdgeId_phmap_Hash_MR_GraphEdgeId_phmap_EqualTo_MR_GraphEdgeId_MR_Allocator_std_pair_const_MR_GraphEdgeId_MR_GraphEdgeId, resSize:usize) const -> meshlib::Owned< meshlib::GraphEdgeBitSet >
auto back_id () const -> meshlib::GraphEdgeId
auto end_id () const -> meshlib::GraphEdgeId
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::GraphEdgeBitSet >
static auto construct_from_another (_other:&meshlib::GraphEdgeBitSet) -> meshlib::Owned< meshlib::GraphEdgeBitSet >
static auto construct_2 (numBits:usize, fillValue:Option< bool >) -> meshlib::Owned< meshlib::GraphEdgeBitSet >
static auto construct_1_const_mr_bit_set_ref (src:&meshlib::BitSet) -> meshlib::Owned< meshlib::GraphEdgeBitSet >
static auto construct_1_mr_bit_set_rvalue_ref (src:&mut meshlib::BitSet) -> meshlib::Owned< meshlib::GraphEdgeBitSet >
static auto begin_id () -> meshlib::GraphEdgeId
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::GraphEdgeBitSet. Base classes: Direct: (non-virtual) MR::BitSet

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

Member Function Documentation

◆ all()

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

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

Calls MR_GraphEdgeBitSet_all().

◆ any()

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

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

Calls MR_GraphEdgeBitSet_any().

◆ assign_from_another()

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

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

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

◆ atomic_test_set()

auto meshlib::GraphEdgeBitSet::atomic_test_set ( n:meshlib::GraphEdgeId ) -> bool

Generated from method MR::GraphEdgeBitSet::atomicTestSet.

Calls MR_GraphEdgeBitSet_atomicTestSet().

◆ auto_resize_set()

void meshlib::GraphEdgeBitSet::auto_resize_set ( pos:meshlib::GraphEdgeId ,
val:Option< bool >  )

Generated from method MR::GraphEdgeBitSet::autoResizeSet.

Calls MR_GraphEdgeBitSet_autoResizeSet().

◆ auto_resize_set_range()

void meshlib::GraphEdgeBitSet::auto_resize_set_range ( pos:meshlib::GraphEdgeId ,
len:usize ,
val:Option< bool >  )

Generated from method MR::GraphEdgeBitSet::autoResizeSet.

Calls MR_GraphEdgeBitSet_autoResizeSet_range().

◆ auto_resize_test_set()

auto meshlib::GraphEdgeBitSet::auto_resize_test_set ( pos:meshlib::GraphEdgeId ,
val:Option< bool >  ) -> bool

Generated from method MR::GraphEdgeBitSet::autoResizeTestSet.

Calls MR_GraphEdgeBitSet_autoResizeTestSet().

◆ back_id()

auto meshlib::GraphEdgeBitSet::back_id ( ) const -> meshlib::GraphEdgeId

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

Calls MR_GraphEdgeBitSet_backId().

◆ begin_id()

auto meshlib::GraphEdgeBitSet::begin_id ( ) -> meshlib::GraphEdgeId
static

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

Calls MR_GraphEdgeBitSet_beginId().

◆ bitand_assign()

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

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

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

◆ bitor_assign()

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

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

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

◆ bits()

auto meshlib::GraphEdgeBitSet::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::GraphEdgeBitSet::bits.

Calls MR_GraphEdgeBitSet_bits().

◆ bits_per_block()

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

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

Calls MR_GraphEdgeBitSet_Get_bits_per_block().

◆ capacity()

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

Generated from method MR::GraphEdgeBitSet::capacity.

Calls MR_GraphEdgeBitSet_capacity().

◆ clear()

void meshlib::GraphEdgeBitSet::clear ( )

Generated from method MR::GraphEdgeBitSet::clear.

Calls MR_GraphEdgeBitSet_clear().

◆ construct_1_const_mr_bit_set_ref()

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

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

Calls MR_GraphEdgeBitSet_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::GraphEdgeBitSet::construct_1_mr_bit_set_rvalue_ref ( src:&mut meshlib::BitSet ) -> meshlib::Owned< meshlib::GraphEdgeBitSet >
static

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

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

◆ construct_2()

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

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

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

◆ construct_from_another()

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

Generated from constructor MR::GraphEdgeBitSet::GraphEdgeBitSet.

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

◆ count()

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

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

Calls MR_GraphEdgeBitSet_count().

◆ count_bits_and_blocks()

auto meshlib::GraphEdgeBitSet::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::GraphEdgeBitSet::countBitsAndBlocks.

Calls MR_GraphEdgeBitSet_countBitsAndBlocks().

◆ empty()

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

Generated from method MR::GraphEdgeBitSet::empty.

Calls MR_GraphEdgeBitSet_empty().

◆ end_id()

auto meshlib::GraphEdgeBitSet::end_id ( ) const -> meshlib::GraphEdgeId

Generated from method MR::GraphEdgeBitSet::endId.

Calls MR_GraphEdgeBitSet_endId().

◆ find_first()

auto meshlib::GraphEdgeBitSet::find_first ( ) const -> meshlib::GraphEdgeId

Generated from method MR::GraphEdgeBitSet::find_first.

Calls MR_GraphEdgeBitSet_find_first().

◆ find_first_not_set()

auto meshlib::GraphEdgeBitSet::find_first_not_set ( ) const -> meshlib::GraphEdgeId

Generated from method MR::GraphEdgeBitSet::find_first_not_set.

Calls MR_GraphEdgeBitSet_find_first_not_set().

◆ find_last()

auto meshlib::GraphEdgeBitSet::find_last ( ) const -> meshlib::GraphEdgeId

Generated from method MR::GraphEdgeBitSet::find_last.

Calls MR_GraphEdgeBitSet_find_last().

◆ find_last_not_set()

auto meshlib::GraphEdgeBitSet::find_last_not_set ( ) const -> meshlib::GraphEdgeId

Generated from method MR::GraphEdgeBitSet::find_last_not_set.

Calls MR_GraphEdgeBitSet_find_last_not_set().

◆ find_next()

auto meshlib::GraphEdgeBitSet::find_next ( pos:meshlib::GraphEdgeId ) const -> meshlib::GraphEdgeId

Generated from method MR::GraphEdgeBitSet::find_next.

Calls MR_GraphEdgeBitSet_find_next().

◆ find_next_not_set()

auto meshlib::GraphEdgeBitSet::find_next_not_set ( pos:meshlib::GraphEdgeId ) const -> meshlib::GraphEdgeId

Generated from method MR::GraphEdgeBitSet::find_next_not_set.

Calls MR_GraphEdgeBitSet_find_next_not_set().

◆ flip_0()

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

Generated from method MR::GraphEdgeBitSet::flip.

Calls MR_GraphEdgeBitSet_flip_0().

◆ flip_1()

auto meshlib::GraphEdgeBitSet::flip_1 ( n:meshlib::GraphEdgeId ) -> &mut meshlib::GraphEdgeBitSet

Generated from method MR::GraphEdgeBitSet::flip.

Calls MR_GraphEdgeBitSet_flip_1().

◆ flip_2()

auto meshlib::GraphEdgeBitSet::flip_2 ( n:meshlib::GraphEdgeId ,
len:usize  ) -> &mut meshlib::GraphEdgeBitSet

Generated from method MR::GraphEdgeBitSet::flip.

Calls MR_GraphEdgeBitSet_flip_2().

◆ from_blocks()

auto meshlib::GraphEdgeBitSet::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::GraphEdgeBitSet::fromBlocks.

Calls MR_GraphEdgeBitSet_fromBlocks().

◆ get_mapping_1_mr_b_map_mr_graph_edge_id_mr_graph_edge_id()

auto meshlib::GraphEdgeBitSet::get_mapping_1_mr_b_map_mr_graph_edge_id_mr_graph_edge_id ( map:&meshlib::BMap_MR_GraphEdgeId_MR_GraphEdgeId ) const -> meshlib::Owned< meshlib::GraphEdgeBitSet >

Generated from method MR::GraphEdgeBitSet::getMapping.

Calls MR_GraphEdgeBitSet_getMapping_1_MR_BMap_MR_GraphEdgeId_MR_GraphEdgeId().

◆ get_mapping_1_mr_vector_mr_graph_edge_id_mr_graph_edge_id()

auto meshlib::GraphEdgeBitSet::get_mapping_1_mr_vector_mr_graph_edge_id_mr_graph_edge_id ( map:&meshlib::Vector_MR_GraphEdgeId_MR_GraphEdgeId ) const -> meshlib::Owned< meshlib::GraphEdgeBitSet >

Generated from method MR::GraphEdgeBitSet::getMapping.

Calls MR_GraphEdgeBitSet_getMapping_1_MR_Vector_MR_GraphEdgeId_MR_GraphEdgeId().

◆ get_mapping_1_phmap_flat_hash_map_mr_graph_edge_id_mr_graph_edge_id_phmap_hash_mr_graph_edge_id_phmap_equal_to_mr_graph_edge_id_mr_allocator_std_pair_const_mr_graph_edge_id_mr_graph_edge_id()

auto meshlib::GraphEdgeBitSet::get_mapping_1_phmap_flat_hash_map_mr_graph_edge_id_mr_graph_edge_id_phmap_hash_mr_graph_edge_id_phmap_equal_to_mr_graph_edge_id_mr_allocator_std_pair_const_mr_graph_edge_id_mr_graph_edge_id ( map:&meshlib::phmap::phmap_flat_hash_map_MR_GraphEdgeId_MR_GraphEdgeId_phmap_Hash_MR_GraphEdgeId_phmap_EqualTo_MR_GraphEdgeId_MR_Allocator_std_pair_const_MR_GraphEdgeId_MR_GraphEdgeId ) const -> meshlib::Owned< meshlib::GraphEdgeBitSet >

Generated from method MR::GraphEdgeBitSet::getMapping.

Calls MR_GraphEdgeBitSet_getMapping_1_phmap_flat_hash_map_MR_GraphEdgeId_MR_GraphEdgeId_phmap_Hash_MR_GraphEdgeId_phmap_EqualTo_MR_GraphEdgeId_MR_Allocator_std_pair_const_MR_GraphEdgeId_MR_GraphEdgeId().

◆ get_mapping_2_mr_vector_mr_graph_edge_id_mr_graph_edge_id()

auto meshlib::GraphEdgeBitSet::get_mapping_2_mr_vector_mr_graph_edge_id_mr_graph_edge_id ( map:&meshlib::Vector_MR_GraphEdgeId_MR_GraphEdgeId ,
resSize:usize  ) const -> meshlib::Owned< meshlib::GraphEdgeBitSet >

Generated from method MR::GraphEdgeBitSet::getMapping.

Calls MR_GraphEdgeBitSet_getMapping_2_MR_Vector_MR_GraphEdgeId_MR_GraphEdgeId().

◆ get_mapping_2_phmap_flat_hash_map_mr_graph_edge_id_mr_graph_edge_id_phmap_hash_mr_graph_edge_id_phmap_equal_to_mr_graph_edge_id_mr_allocator_std_pair_const_mr_graph_edge_id_mr_graph_edge_id()

auto meshlib::GraphEdgeBitSet::get_mapping_2_phmap_flat_hash_map_mr_graph_edge_id_mr_graph_edge_id_phmap_hash_mr_graph_edge_id_phmap_equal_to_mr_graph_edge_id_mr_allocator_std_pair_const_mr_graph_edge_id_mr_graph_edge_id ( map:&meshlib::phmap::phmap_flat_hash_map_MR_GraphEdgeId_MR_GraphEdgeId_phmap_Hash_MR_GraphEdgeId_phmap_EqualTo_MR_GraphEdgeId_MR_Allocator_std_pair_const_MR_GraphEdgeId_MR_GraphEdgeId ,
resSize:usize  ) const -> meshlib::Owned< meshlib::GraphEdgeBitSet >

Generated from method MR::GraphEdgeBitSet::getMapping.

Calls MR_GraphEdgeBitSet_getMapping_2_phmap_flat_hash_map_MR_GraphEdgeId_MR_GraphEdgeId_phmap_Hash_MR_GraphEdgeId_phmap_EqualTo_MR_GraphEdgeId_MR_Allocator_std_pair_const_MR_GraphEdgeId_MR_GraphEdgeId().

◆ heap_bytes()

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

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

Calls MR_GraphEdgeBitSet_heapBytes().

◆ intersects()

auto meshlib::GraphEdgeBitSet::intersects ( a:&meshlib::GraphEdgeBitSet ) 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::GraphEdgeBitSet::intersects.

Calls MR_GraphEdgeBitSet_intersects().

◆ is_subset_of()

auto meshlib::GraphEdgeBitSet::is_subset_of ( a:&meshlib::GraphEdgeBitSet ) 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::GraphEdgeBitSet::is_subset_of.

Calls MR_GraphEdgeBitSet_is_subset_of().

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_GraphEdgeBitSet_DefaultConstruct().

◆ none()

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

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

Calls MR_GraphEdgeBitSet_none().

◆ npos()

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

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

Calls MR_GraphEdgeBitSet_Get_npos().

◆ nth_set_bit()

auto meshlib::GraphEdgeBitSet::nth_set_bit ( n:usize ) const -> meshlib::GraphEdgeId

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::GraphEdgeBitSet::nthSetBit.

Calls MR_GraphEdgeBitSet_nthSetBit().

◆ num_blocks()

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

Generated from method MR::GraphEdgeBitSet::num_blocks.

Calls MR_GraphEdgeBitSet_num_blocks().

◆ pop_back()

void meshlib::GraphEdgeBitSet::pop_back ( )

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

Calls MR_GraphEdgeBitSet_pop_back().

◆ push_back()

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

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

Calls MR_GraphEdgeBitSet_push_back().

◆ reserve()

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

Generated from method MR::GraphEdgeBitSet::reserve.

Calls MR_GraphEdgeBitSet_reserve().

◆ reset_0()

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

Generated from method MR::GraphEdgeBitSet::reset.

Calls MR_GraphEdgeBitSet_reset_0().

◆ reset_1()

auto meshlib::GraphEdgeBitSet::reset_1 ( n:meshlib::GraphEdgeId ) -> &mut meshlib::GraphEdgeBitSet

Generated from method MR::GraphEdgeBitSet::reset.

Calls MR_GraphEdgeBitSet_reset_1().

◆ reset_2()

auto meshlib::GraphEdgeBitSet::reset_2 ( n:meshlib::GraphEdgeId ,
len:usize  ) -> &mut meshlib::GraphEdgeBitSet

Generated from method MR::GraphEdgeBitSet::reset.

Calls MR_GraphEdgeBitSet_reset_2().

◆ resize()

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

Generated from method MR::GraphEdgeBitSet::resize.

Calls MR_GraphEdgeBitSet_resize().

◆ resize_with_reserve()

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

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

Calls MR_GraphEdgeBitSet_resizeWithReserve().

Deprecated
use resize() instead

◆ reverse()

void meshlib::GraphEdgeBitSet::reverse ( )

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

Calls MR_GraphEdgeBitSet_reverse().

◆ set()

auto meshlib::GraphEdgeBitSet::set ( n:meshlib::GraphEdgeId ,
val:bool  ) -> &mut meshlib::GraphEdgeBitSet

Generated from method MR::GraphEdgeBitSet::set.

Calls MR_GraphEdgeBitSet_set().

◆ set_all()

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

Generated from method MR::GraphEdgeBitSet::set.

Calls MR_GraphEdgeBitSet_set_all().

◆ set_bit()

auto meshlib::GraphEdgeBitSet::set_bit ( n:meshlib::GraphEdgeId ) -> &mut meshlib::GraphEdgeBitSet

Generated from method MR::GraphEdgeBitSet::set.

Calls MR_GraphEdgeBitSet_set_bit().

◆ set_range()

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

Generated from method MR::GraphEdgeBitSet::set.

Calls MR_GraphEdgeBitSet_set_range().

◆ shrink_to_fit()

void meshlib::GraphEdgeBitSet::shrink_to_fit ( )

Generated from method MR::GraphEdgeBitSet::shrink_to_fit.

Calls MR_GraphEdgeBitSet_shrink_to_fit().

◆ size()

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

Generated from method MR::GraphEdgeBitSet::size.

Calls MR_GraphEdgeBitSet_size().

◆ static_downcast_from_bit_set()

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

Static downcast from the base class MR::BitSet.

Calls MR_GraphEdgeBitSet_StaticDowncastFrom_MR_BitSet(). Undefined behavior if the object isn't actually a GraphEdgeBitSet.

Note
This function is unsafe.

◆ static_downcast_from_bit_set_mut()

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

Static downcast from the base class MR::BitSet.

Calls MR_GraphEdgeBitSet_MutableStaticDowncastFrom_MR_BitSet(). Undefined behavior if the object isn't actually a GraphEdgeBitSet.

Note
This function is unsafe.

◆ sub_assign()

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

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

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

◆ subtract()

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

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

Calls MR_GraphEdgeBitSet_subtract().

◆ test()

auto meshlib::GraphEdgeBitSet::test ( n:meshlib::GraphEdgeId ) const -> bool

Generated from method MR::GraphEdgeBitSet::test.

Calls MR_GraphEdgeBitSet_test().

◆ test_set()

auto meshlib::GraphEdgeBitSet::test_set ( n:meshlib::GraphEdgeId ,
val:Option< bool >  ) -> bool

Generated from method MR::GraphEdgeBitSet::test_set.

Calls MR_GraphEdgeBitSet_test_set().

◆ unchecked_test()

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

Generated from method MR::GraphEdgeBitSet::uncheckedTest.

Calls MR_GraphEdgeBitSet_uncheckedTest().

◆ unchecked_test_set()

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

Generated from method MR::GraphEdgeBitSet::uncheckedTestSet.

Calls MR_GraphEdgeBitSet_uncheckedTestSet().

◆ upcast_to_bit_set()

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

Upcasts to the base class MR::BitSet.

Calls MR_GraphEdgeBitSet_UpcastTo_MR_BitSet().

◆ upcast_to_bit_set_mut()

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

Upcasts to the base class MR::BitSet.

Calls MR_GraphEdgeBitSet_MutableUpcastTo_MR_BitSet().

◆ xor_assign()

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

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

Calls MR_GraphEdgeBitSet_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: