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

Public Member Functions

auto assign_from_another (_other:&meshlib::ChunkIterator) -> &mut meshlib::ChunkIterator
auto op_equal (other:&meshlib::ChunkIterator) const -> bool
auto op_not_equal (other:&meshlib::ChunkIterator) const -> bool
auto op_incr () -> &mut meshlib::ChunkIterator
auto op_post_incr () -> meshlib::Owned< meshlib::ChunkIterator >
auto op_deref () const -> meshlib::Owned< meshlib::Chunk >
auto arrow () const -> meshlib::Owned< meshlib::Chunk >
auto total_size () const -> &usize
auto total_size_mut () -> &mut usize
void set_total_size (value:usize)
auto chunk_size () const -> &usize
auto chunk_size_mut () -> &mut usize
void set_chunk_size (value:usize)
auto overlap () const -> &usize
auto overlap_mut () -> &mut usize
void set_overlap (value:usize)
auto index () const -> &usize
auto index_mut () -> &mut usize
void set_index (value:usize)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::ChunkIterator >
static auto construct_from (totalSize:usize, chunkSize:usize, overlap:usize, index:usize) -> meshlib::Owned< meshlib::ChunkIterator >
static auto construct_from_another (_other:&meshlib::ChunkIterator) -> meshlib::Owned< meshlib::ChunkIterator >
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

iterator class for array chunks Generated from class MR::ChunkIterator.

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

Member Function Documentation

◆ arrow()

auto meshlib::ChunkIterator::arrow ( ) const -> meshlib::Owned< meshlib::Chunk >

Generated from method MR::ChunkIterator::operator->.

Calls MR_ChunkIterator_arrow().

◆ assign_from_another()

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

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

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

◆ chunk_size()

auto meshlib::ChunkIterator::chunk_size ( ) const -> &usize

Returns a pointer to a member variable of class MR::ChunkIterator named chunkSize.

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

◆ chunk_size_mut()

auto meshlib::ChunkIterator::chunk_size_mut ( ) -> &mut usize

Returns a mutable pointer to a member variable of class MR::ChunkIterator named chunkSize.

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

◆ construct_from()

auto meshlib::ChunkIterator::construct_from ( totalSize:usize ,
chunkSize:usize ,
overlap:usize ,
index:usize  ) -> meshlib::Owned< meshlib::ChunkIterator >
static

Constructs MR::ChunkIterator elementwise.

Calls MR_ChunkIterator_ConstructFrom(). The reference to the parameter totalSize might be preserved in the constructed object. The reference to the parameter chunkSize might be preserved in the constructed object. The reference to the parameter overlap might be preserved in the constructed object. The reference to the parameter index might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::ChunkIterator::ChunkIterator.

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

◆ index()

auto meshlib::ChunkIterator::index ( ) const -> &usize

Returns a pointer to a member variable of class MR::ChunkIterator named index.

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

◆ index_mut()

auto meshlib::ChunkIterator::index_mut ( ) -> &mut usize

Returns a mutable pointer to a member variable of class MR::ChunkIterator named index.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_ChunkIterator_DefaultConstruct().

◆ op_deref()

auto meshlib::ChunkIterator::op_deref ( ) const -> meshlib::Owned< meshlib::Chunk >

Generated from method MR::ChunkIterator::operator*.

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

◆ op_equal()

auto meshlib::ChunkIterator::op_equal ( other:&meshlib::ChunkIterator ) const -> bool

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

Calls MR_equal_MR_ChunkIterator().

◆ op_incr()

auto meshlib::ChunkIterator::op_incr ( ) -> &mut meshlib::ChunkIterator

Generated from method MR::ChunkIterator::operator++.

Calls MR_incr_MR_ChunkIterator().

◆ op_not_equal()

auto meshlib::ChunkIterator::op_not_equal ( other:&meshlib::ChunkIterator ) const -> bool

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

Calls MR_not_equal_MR_ChunkIterator().

◆ op_post_incr()

auto meshlib::ChunkIterator::op_post_incr ( ) -> meshlib::Owned< meshlib::ChunkIterator >

Generated from method MR::ChunkIterator::operator++.

Calls MR_post_incr_MR_ChunkIterator().

◆ overlap()

auto meshlib::ChunkIterator::overlap ( ) const -> &usize

Returns a pointer to a member variable of class MR::ChunkIterator named overlap.

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

◆ overlap_mut()

auto meshlib::ChunkIterator::overlap_mut ( ) -> &mut usize

Returns a mutable pointer to a member variable of class MR::ChunkIterator named overlap.

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

◆ set_chunk_size()

void meshlib::ChunkIterator::set_chunk_size ( value:usize )

Modifies a member variable of class MR::ChunkIterator named chunkSize.

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

◆ set_index()

void meshlib::ChunkIterator::set_index ( value:usize )

Modifies a member variable of class MR::ChunkIterator named index.

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

◆ set_overlap()

void meshlib::ChunkIterator::set_overlap ( value:usize )

Modifies a member variable of class MR::ChunkIterator named overlap.

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

◆ set_total_size()

void meshlib::ChunkIterator::set_total_size ( value:usize )

Modifies a member variable of class MR::ChunkIterator named totalSize.

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

◆ total_size()

auto meshlib::ChunkIterator::total_size ( ) const -> &usize

Returns a pointer to a member variable of class MR::ChunkIterator named totalSize.

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

◆ total_size_mut()

auto meshlib::ChunkIterator::total_size_mut ( ) -> &mut usize

Returns a mutable pointer to a member variable of class MR::ChunkIterator named totalSize.

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


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