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

Public Member Functions

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

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

Member Function Documentation

◆ all()

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

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

Calls MR_TextureBitSet_all().

◆ any()

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

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

Calls MR_TextureBitSet_any().

◆ assign_from_another()

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

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

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

◆ atomic_test_set()

auto meshlib::TextureBitSet::atomic_test_set ( n:meshlib::TextureId ) -> bool

Generated from method MR::TextureBitSet::atomicTestSet.

Calls MR_TextureBitSet_atomicTestSet().

◆ auto_resize_set()

void meshlib::TextureBitSet::auto_resize_set ( pos:meshlib::TextureId ,
val:Option< bool >  )

Generated from method MR::TextureBitSet::autoResizeSet.

Calls MR_TextureBitSet_autoResizeSet().

◆ auto_resize_set_range()

void meshlib::TextureBitSet::auto_resize_set_range ( pos:meshlib::TextureId ,
len:usize ,
val:Option< bool >  )

Generated from method MR::TextureBitSet::autoResizeSet.

Calls MR_TextureBitSet_autoResizeSet_range().

◆ auto_resize_test_set()

auto meshlib::TextureBitSet::auto_resize_test_set ( pos:meshlib::TextureId ,
val:Option< bool >  ) -> bool

Generated from method MR::TextureBitSet::autoResizeTestSet.

Calls MR_TextureBitSet_autoResizeTestSet().

◆ back_id()

auto meshlib::TextureBitSet::back_id ( ) const -> meshlib::TextureId

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

Calls MR_TextureBitSet_backId().

◆ begin_id()

auto meshlib::TextureBitSet::begin_id ( ) -> meshlib::TextureId
static

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

Calls MR_TextureBitSet_beginId().

◆ bitand_assign()

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

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

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

◆ bitor_assign()

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

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

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

◆ bits()

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

Calls MR_TextureBitSet_bits().

◆ bits_per_block()

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

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

Calls MR_TextureBitSet_Get_bits_per_block().

◆ capacity()

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

Generated from method MR::TextureBitSet::capacity.

Calls MR_TextureBitSet_capacity().

◆ clear()

void meshlib::TextureBitSet::clear ( )

Generated from method MR::TextureBitSet::clear.

Calls MR_TextureBitSet_clear().

◆ construct_1_const_mr_bit_set_ref()

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

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

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

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

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

◆ construct_2()

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

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

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

◆ construct_from_another()

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

Generated from constructor MR::TextureBitSet::TextureBitSet.

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

◆ count()

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

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

Calls MR_TextureBitSet_count().

◆ count_bits_and_blocks()

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

Calls MR_TextureBitSet_countBitsAndBlocks().

◆ empty()

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

Generated from method MR::TextureBitSet::empty.

Calls MR_TextureBitSet_empty().

◆ end_id()

auto meshlib::TextureBitSet::end_id ( ) const -> meshlib::TextureId

Generated from method MR::TextureBitSet::endId.

Calls MR_TextureBitSet_endId().

◆ find_first()

auto meshlib::TextureBitSet::find_first ( ) const -> meshlib::TextureId

Generated from method MR::TextureBitSet::find_first.

Calls MR_TextureBitSet_find_first().

◆ find_first_not_set()

auto meshlib::TextureBitSet::find_first_not_set ( ) const -> meshlib::TextureId

Generated from method MR::TextureBitSet::find_first_not_set.

Calls MR_TextureBitSet_find_first_not_set().

◆ find_last()

auto meshlib::TextureBitSet::find_last ( ) const -> meshlib::TextureId

Generated from method MR::TextureBitSet::find_last.

Calls MR_TextureBitSet_find_last().

◆ find_last_not_set()

auto meshlib::TextureBitSet::find_last_not_set ( ) const -> meshlib::TextureId

Generated from method MR::TextureBitSet::find_last_not_set.

Calls MR_TextureBitSet_find_last_not_set().

◆ find_next()

auto meshlib::TextureBitSet::find_next ( pos:meshlib::TextureId ) const -> meshlib::TextureId

Generated from method MR::TextureBitSet::find_next.

Calls MR_TextureBitSet_find_next().

◆ find_next_not_set()

auto meshlib::TextureBitSet::find_next_not_set ( pos:meshlib::TextureId ) const -> meshlib::TextureId

Generated from method MR::TextureBitSet::find_next_not_set.

Calls MR_TextureBitSet_find_next_not_set().

◆ flip_0()

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

Generated from method MR::TextureBitSet::flip.

Calls MR_TextureBitSet_flip_0().

◆ flip_1()

auto meshlib::TextureBitSet::flip_1 ( n:meshlib::TextureId ) -> &mut meshlib::TextureBitSet

Generated from method MR::TextureBitSet::flip.

Calls MR_TextureBitSet_flip_1().

◆ flip_2()

auto meshlib::TextureBitSet::flip_2 ( n:meshlib::TextureId ,
len:usize  ) -> &mut meshlib::TextureBitSet

Generated from method MR::TextureBitSet::flip.

Calls MR_TextureBitSet_flip_2().

◆ from_blocks()

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

Calls MR_TextureBitSet_fromBlocks().

◆ get_mapping_1_mr_b_map_mr_texture_id_mr_texture_id()

auto meshlib::TextureBitSet::get_mapping_1_mr_b_map_mr_texture_id_mr_texture_id ( map:&meshlib::BMap_MR_TextureId_MR_TextureId ) const -> meshlib::Owned< meshlib::TextureBitSet >

Generated from method MR::TextureBitSet::getMapping.

Calls MR_TextureBitSet_getMapping_1_MR_BMap_MR_TextureId_MR_TextureId().

◆ get_mapping_1_mr_vector_mr_texture_id_mr_texture_id()

auto meshlib::TextureBitSet::get_mapping_1_mr_vector_mr_texture_id_mr_texture_id ( map:&meshlib::Vector_MR_TextureId_MR_TextureId ) const -> meshlib::Owned< meshlib::TextureBitSet >

Generated from method MR::TextureBitSet::getMapping.

Calls MR_TextureBitSet_getMapping_1_MR_Vector_MR_TextureId_MR_TextureId().

◆ get_mapping_1_phmap_flat_hash_map_mr_texture_id_mr_texture_id_phmap_hash_mr_texture_id_phmap_equal_to_mr_texture_id_mr_allocator_std_pair_const_mr_texture_id_mr_texture_id()

auto meshlib::TextureBitSet::get_mapping_1_phmap_flat_hash_map_mr_texture_id_mr_texture_id_phmap_hash_mr_texture_id_phmap_equal_to_mr_texture_id_mr_allocator_std_pair_const_mr_texture_id_mr_texture_id ( map:&meshlib::phmap::phmap_flat_hash_map_MR_TextureId_MR_TextureId_phmap_Hash_MR_TextureId_phmap_EqualTo_MR_TextureId_MR_Allocator_std_pair_const_MR_TextureId_MR_TextureId ) const -> meshlib::Owned< meshlib::TextureBitSet >

Generated from method MR::TextureBitSet::getMapping.

Calls MR_TextureBitSet_getMapping_1_phmap_flat_hash_map_MR_TextureId_MR_TextureId_phmap_Hash_MR_TextureId_phmap_EqualTo_MR_TextureId_MR_Allocator_std_pair_const_MR_TextureId_MR_TextureId().

◆ get_mapping_2_mr_vector_mr_texture_id_mr_texture_id()

auto meshlib::TextureBitSet::get_mapping_2_mr_vector_mr_texture_id_mr_texture_id ( map:&meshlib::Vector_MR_TextureId_MR_TextureId ,
resSize:usize  ) const -> meshlib::Owned< meshlib::TextureBitSet >

Generated from method MR::TextureBitSet::getMapping.

Calls MR_TextureBitSet_getMapping_2_MR_Vector_MR_TextureId_MR_TextureId().

◆ get_mapping_2_phmap_flat_hash_map_mr_texture_id_mr_texture_id_phmap_hash_mr_texture_id_phmap_equal_to_mr_texture_id_mr_allocator_std_pair_const_mr_texture_id_mr_texture_id()

auto meshlib::TextureBitSet::get_mapping_2_phmap_flat_hash_map_mr_texture_id_mr_texture_id_phmap_hash_mr_texture_id_phmap_equal_to_mr_texture_id_mr_allocator_std_pair_const_mr_texture_id_mr_texture_id ( map:&meshlib::phmap::phmap_flat_hash_map_MR_TextureId_MR_TextureId_phmap_Hash_MR_TextureId_phmap_EqualTo_MR_TextureId_MR_Allocator_std_pair_const_MR_TextureId_MR_TextureId ,
resSize:usize  ) const -> meshlib::Owned< meshlib::TextureBitSet >

Generated from method MR::TextureBitSet::getMapping.

Calls MR_TextureBitSet_getMapping_2_phmap_flat_hash_map_MR_TextureId_MR_TextureId_phmap_Hash_MR_TextureId_phmap_EqualTo_MR_TextureId_MR_Allocator_std_pair_const_MR_TextureId_MR_TextureId().

◆ heap_bytes()

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

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

Calls MR_TextureBitSet_heapBytes().

◆ intersects()

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

Calls MR_TextureBitSet_intersects().

◆ is_subset_of()

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

Calls MR_TextureBitSet_is_subset_of().

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_TextureBitSet_DefaultConstruct().

◆ none()

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

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

Calls MR_TextureBitSet_none().

◆ npos()

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

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

Calls MR_TextureBitSet_Get_npos().

◆ nth_set_bit()

auto meshlib::TextureBitSet::nth_set_bit ( n:usize ) const -> meshlib::TextureId

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

Calls MR_TextureBitSet_nthSetBit().

◆ num_blocks()

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

Generated from method MR::TextureBitSet::num_blocks.

Calls MR_TextureBitSet_num_blocks().

◆ pop_back()

void meshlib::TextureBitSet::pop_back ( )

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

Calls MR_TextureBitSet_pop_back().

◆ push_back()

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

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

Calls MR_TextureBitSet_push_back().

◆ reserve()

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

Generated from method MR::TextureBitSet::reserve.

Calls MR_TextureBitSet_reserve().

◆ reset_0()

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

Generated from method MR::TextureBitSet::reset.

Calls MR_TextureBitSet_reset_0().

◆ reset_1()

auto meshlib::TextureBitSet::reset_1 ( n:meshlib::TextureId ) -> &mut meshlib::TextureBitSet

Generated from method MR::TextureBitSet::reset.

Calls MR_TextureBitSet_reset_1().

◆ reset_2()

auto meshlib::TextureBitSet::reset_2 ( n:meshlib::TextureId ,
len:usize  ) -> &mut meshlib::TextureBitSet

Generated from method MR::TextureBitSet::reset.

Calls MR_TextureBitSet_reset_2().

◆ resize()

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

Generated from method MR::TextureBitSet::resize.

Calls MR_TextureBitSet_resize().

◆ resize_with_reserve()

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

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

Calls MR_TextureBitSet_resizeWithReserve().

Deprecated
use resize() instead

◆ reverse()

void meshlib::TextureBitSet::reverse ( )

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

Calls MR_TextureBitSet_reverse().

◆ set()

auto meshlib::TextureBitSet::set ( n:meshlib::TextureId ,
val:bool  ) -> &mut meshlib::TextureBitSet

Generated from method MR::TextureBitSet::set.

Calls MR_TextureBitSet_set().

◆ set_all()

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

Generated from method MR::TextureBitSet::set.

Calls MR_TextureBitSet_set_all().

◆ set_bit()

auto meshlib::TextureBitSet::set_bit ( n:meshlib::TextureId ) -> &mut meshlib::TextureBitSet

Generated from method MR::TextureBitSet::set.

Calls MR_TextureBitSet_set_bit().

◆ set_range()

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

Generated from method MR::TextureBitSet::set.

Calls MR_TextureBitSet_set_range().

◆ shrink_to_fit()

void meshlib::TextureBitSet::shrink_to_fit ( )

Generated from method MR::TextureBitSet::shrink_to_fit.

Calls MR_TextureBitSet_shrink_to_fit().

◆ size()

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

Generated from method MR::TextureBitSet::size.

Calls MR_TextureBitSet_size().

◆ static_downcast_from_bit_set()

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

Static downcast from the base class MR::BitSet.

Calls MR_TextureBitSet_StaticDowncastFrom_MR_BitSet(). Undefined behavior if the object isn't actually a TextureBitSet.

Note
This function is unsafe.

◆ static_downcast_from_bit_set_mut()

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

Static downcast from the base class MR::BitSet.

Calls MR_TextureBitSet_MutableStaticDowncastFrom_MR_BitSet(). Undefined behavior if the object isn't actually a TextureBitSet.

Note
This function is unsafe.

◆ sub_assign()

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

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

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

◆ subtract()

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

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

Calls MR_TextureBitSet_subtract().

◆ test()

auto meshlib::TextureBitSet::test ( n:meshlib::TextureId ) const -> bool

Generated from method MR::TextureBitSet::test.

Calls MR_TextureBitSet_test().

◆ test_set()

auto meshlib::TextureBitSet::test_set ( n:meshlib::TextureId ,
val:Option< bool >  ) -> bool

Generated from method MR::TextureBitSet::test_set.

Calls MR_TextureBitSet_test_set().

◆ unchecked_test()

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

Generated from method MR::TextureBitSet::uncheckedTest.

Calls MR_TextureBitSet_uncheckedTest().

◆ unchecked_test_set()

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

Generated from method MR::TextureBitSet::uncheckedTestSet.

Calls MR_TextureBitSet_uncheckedTestSet().

◆ upcast_to_bit_set()

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

Upcasts to the base class MR::BitSet.

Calls MR_TextureBitSet_UpcastTo_MR_BitSet().

◆ upcast_to_bit_set_mut()

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

Upcasts to the base class MR::BitSet.

Calls MR_TextureBitSet_MutableUpcastTo_MR_BitSet().

◆ xor_assign()

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

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

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