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