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 |
array chunk representation Generated from class MR::Chunk.
Generated from class MR::Chunk. Heap-allocated instances are held in Owned<Chunk>.
| 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.
|
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.
|
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.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_Chunk_DefaultConstruct().
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.