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

Public Member Functions

auto assign_from_another (_other:&meshlib::Chunk) -> &mut meshlib::Chunk
auto offset () const -> &usize
auto offset_mut () -> &mut usize
void set_offset (value:usize)
auto size () const -> &usize
auto size_mut () -> &mut usize
void set_size (value:usize)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::Chunk >
static auto construct_from (offset:usize, size:usize) -> meshlib::Owned< meshlib::Chunk >
static auto construct_from_another (_other:&meshlib::Chunk) -> meshlib::Owned< meshlib::Chunk >
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

array chunk representation Generated from class MR::Chunk.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

auto meshlib::Chunk::construct_from ( offset:usize ,
size:usize  ) -> meshlib::Owned< meshlib::Chunk >
static

Constructs MR::Chunk elementwise.

Calls MR_Chunk_ConstructFrom(). The reference to the parameter offset might be preserved in the constructed object. The reference to the parameter size might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::Chunk::Chunk.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_Chunk_DefaultConstruct().

◆ offset()

auto meshlib::Chunk::offset ( ) const -> &usize

chunk offset Returns a pointer to a member variable of class MR::Chunk named offset.

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

◆ offset_mut()

auto meshlib::Chunk::offset_mut ( ) -> &mut usize

chunk offset Returns a mutable pointer to a member variable of class MR::Chunk named offset.

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

◆ set_offset()

void meshlib::Chunk::set_offset ( value:usize )

chunk offset Modifies a member variable of class MR::Chunk named offset.

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

◆ set_size()

void meshlib::Chunk::set_size ( value:usize )

chunk size; the last chunk's size may be smaller than other chunk's ones Modifies a member variable of class MR::Chunk named size.

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

◆ size()

auto meshlib::Chunk::size ( ) const -> &usize

chunk size; the last chunk's size may be smaller than other chunk's ones Returns a pointer to a member variable of class MR::Chunk named size.

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

◆ size_mut()

auto meshlib::Chunk::size_mut ( ) -> &mut usize

chunk size; the last chunk's size may be smaller than other chunk's ones Returns a mutable pointer to a member variable of class MR::Chunk named size.

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


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