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

Public Member Functions

auto assign_from_another (_other:&meshlib::SystemMemory) -> &mut meshlib::SystemMemory
auto physical_total () const -> &usize
auto physical_total_mut () -> &mut usize
void set_physical_total (value:usize)
auto physical_available () const -> &usize
auto physical_available_mut () -> &mut usize
void set_physical_available (value:usize)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::SystemMemory >
static auto construct_from (physicalTotal:usize, physicalAvailable:usize) -> meshlib::Owned< meshlib::SystemMemory >
static auto construct_from_another (_other:&meshlib::SystemMemory) -> meshlib::Owned< meshlib::SystemMemory >
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

Generated from class MR::SystemMemory.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

auto meshlib::SystemMemory::construct_from ( physicalTotal:usize ,
physicalAvailable:usize  ) -> meshlib::Owned< meshlib::SystemMemory >
static

Constructs MR::SystemMemory elementwise.

Calls MR_SystemMemory_ConstructFrom(). The reference to the parameter physicalTotal might be preserved in the constructed object. The reference to the parameter physicalAvailable might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::SystemMemory::SystemMemory.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_SystemMemory_DefaultConstruct().

◆ physical_available()

auto meshlib::SystemMemory::physical_available ( ) const -> &usize

available amount of physical memory in the system, in bytes (0 if no info) Returns a pointer to a member variable of class MR::SystemMemory named physicalAvailable.

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

◆ physical_available_mut()

auto meshlib::SystemMemory::physical_available_mut ( ) -> &mut usize

available amount of physical memory in the system, in bytes (0 if no info) Returns a mutable pointer to a member variable of class MR::SystemMemory named physicalAvailable.

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

◆ physical_total()

auto meshlib::SystemMemory::physical_total ( ) const -> &usize

total amount of physical memory in the system, in bytes (0 if no info) Returns a pointer to a member variable of class MR::SystemMemory named physicalTotal.

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

◆ physical_total_mut()

auto meshlib::SystemMemory::physical_total_mut ( ) -> &mut usize

total amount of physical memory in the system, in bytes (0 if no info) Returns a mutable pointer to a member variable of class MR::SystemMemory named physicalTotal.

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

◆ set_physical_available()

void meshlib::SystemMemory::set_physical_available ( value:usize )

available amount of physical memory in the system, in bytes (0 if no info) Modifies a member variable of class MR::SystemMemory named physicalAvailable.

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

◆ set_physical_total()

void meshlib::SystemMemory::set_physical_total ( value:usize )

total amount of physical memory in the system, in bytes (0 if no info) Modifies a member variable of class MR::SystemMemory named physicalTotal.

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


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